From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Pimentel Subject: [PATCH] gnu: Add python2-qrcode Date: Thu, 23 Jun 2016 13:41:16 -0300 Message-ID: <046cc7d49648b5b1977cbebffa29ac97@d4n1.org> References: <37a4098c2f54e331321179bc1dca5a59@d4n1.org> <20160614195101.GA32427@khazad-dum> <90180b476cac6c8eea4c3aff7b214d83@d4n1.org> <57632348.7020101@uq.edu.au> <5764DCCF.2070508@uq.edu.au> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_e1335a88f3b1b787f7b4ae219953d1e0" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7gz-0005nu-77 for guix-devel@gnu.org; Thu, 23 Jun 2016 12:41:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG7gu-0003Hm-5H for guix-devel@gnu.org; Thu, 23 Jun 2016 12:41:25 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:55769) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7gt-0003HO-Uf for guix-devel@gnu.org; Thu, 23 Jun 2016 12:41:20 -0400 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ben Woodcroft Cc: guix-devel@gnu.org --=_e1335a88f3b1b787f7b4ae219953d1e0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed In attach a full patch. Update URI with Pypi. I tried: ./pre-inst-env guix environment --pure --ad-hoc python2-qrcode python@2 $ qr "Guix" > guix-qrcode.png It's work. But whent import by python shell using: $ python > import qrcode > img = qrcode.make('Some data here') Not work, probably problem with Pillow (PIL fork). -- Daniel Pimentel (aka d4n1) --=_e1335a88f3b1b787f7b4ae219953d1e0 Content-Transfer-Encoding: base64 Content-Type: text/x-diff; name=0002-gnu-add-python2-qrcode.patch Content-Disposition: attachment; filename=0002-gnu-add-python2-qrcode.patch; size=1570 RnJvbSBjMmExNWViOTBlNDJlMjAyMGQzODE2MWY1MWJjYTFjODAwZDEyMTM5IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBEYW5pZWwgUGltZW50ZWwgPGQ0bjFAZDRuMS5vcmc+CkRhdGU6 IFRodSwgMjMgSnVuIDIwMTYgMTM6MzQ6NTQgLTAzMDAKU3ViamVjdDogW1BBVENIIDIvMl0gZ251 OiBhZGQgcHl0aG9uMi1xcmNvZGUgKiBnbnUvcGFja2FnZXMvcHl0aG9uLnNjbTogYWRkCiBuZXcg cGFja2FnZS4KCi0tLQogZ251L3BhY2thZ2VzL3B5dGhvbi5zY20gfCAyNyArKysrKysrKysrKysr KysrKysrKysrKysrKysKIDEgZmlsZSBjaGFuZ2VkLCAyNyBpbnNlcnRpb25zKCspCgpkaWZmIC0t Z2l0IGEvZ251L3BhY2thZ2VzL3B5dGhvbi5zY20gYi9nbnUvcGFja2FnZXMvcHl0aG9uLnNjbQpp bmRleCBjZjRlZjNjLi41MjlkYTJjIDEwMDY0NAotLS0gYS9nbnUvcGFja2FnZXMvcHl0aG9uLnNj bQorKysgYi9nbnUvcGFja2FnZXMvcHl0aG9uLnNjbQpAQCAtOTMxNSwzICs5MzE1LDMwIEBAIGV0 Yy4iKQogICAgICAiQSBtb2R1bGUgdGhhdCBpbXBsZW1lbnRzIHRoZSBwYXNzd29yZC1iYXNlZCBr ZXkgZGVyaXZhdGlvbiAKIGZ1bmN0aW9uIFBCS0RGMi4iKQogICAgIChsaWNlbnNlIGxpY2Vuc2U6 ZXhwYXQpKSkKKworKGRlZmluZS1wdWJsaWMgcHl0aG9uMi1xcmNvZGUKKyAgKHBhY2thZ2UKKyAg ICAobmFtZSAicHl0aG9uMi1xcmNvZGUiKQorICAgICh2ZXJzaW9uICI1LjMiKQorICAgIChzb3Vy Y2UKKyAgICAgKG9yaWdpbgorICAgICAgIChtZXRob2QgdXJsLWZldGNoKQorICAgICAgICh1cmkg KHB5cGktdXJpICJxcmNvZGUiIHZlcnNpb24pKQorICAgICAgIChzaGEyNTYKKyAgICAgICAgKGJh c2UzMgorICAgICAgICAgIjBrbGpmcmZxMGMycm14ZjhhbTU3MzMzaWE0MWtkMHNuYm0ycm5xYmR5 ODE2aGdwY3E1YTEiKSkpKQorICAgIChidWlsZC1zeXN0ZW0gcHl0aG9uLWJ1aWxkLXN5c3RlbSkK KyAgICAoaW5wdXRzCisgICAgIGAoKCJweXRob24yLXBpbGxvdyIgLHB5dGhvbjItcGlsbG93KQor ICAgICAgICgicHl0aG9uMi1zaXgiICxweXRob24yLXNpeCkpKQorICAgIChuYXRpdmUtaW5wdXRz CisgICAgIGAoKCJweXRob24yLXNldHVwdG9vbHMiICxweXRob24yLXNldHVwdG9vbHMpKSkKKyAg ICAoYXJndW1lbnRzCisgICAgIGAoIzpweXRob24gLHB5dGhvbi0yKSkKKyAgICAoaG9tZS1wYWdl ICJodHRwczovL3B5cGkucHl0aG9uLm9yZy9weXBpL3FyY29kZSIpCisgICAgKHN5bm9wc2lzICJQ eXRob24gbGlicmFyeSB0byBnZW5lcmF0ZSBRUiBDb2RlcyIpCisgICAgKGRlc2NyaXB0aW9uCisg ICAgICJAY29kZXtxcmNvZGV9IGlzIGEgbGlicmFyeSB3aGljaCBjYW4gYmUgdXNlZCB0byBnZW5l cmF0ZSBRdWljaworUmVzcG9uc2UgKFFSKSBpbWFnZXMuICBJdCBpcyByZWNvbW1lbmRlZCB0aGF0 IHRoZSBwaWxsb3cgbGlicmFyeSBiZSB1c2VkIHRvCitnZW5lcmF0ZSBpbWFnZXMsIHRob3VnaCB0 aGUgZGVmYXVsdCBQeXRob24gaW1hZ2luZyBsaWJyYXJ5IGNhbiBhbHNvIGJlIHVzZWQuIikKKyAg ICAobGljZW5zZSBic2QtMykpKQotLSAKMi43LjQKCg== --=_e1335a88f3b1b787f7b4ae219953d1e0--