Fix missing module Image with pillow. See https://bugs.gentoo.org/show_bug.cgi?id...
authorkristianf <devnull@localhost>
Mon, 30 Sep 2013 22:15:23 +0000 (00:15 +0200)
committerkristianf <devnull@localhost>
Mon, 30 Sep 2013 22:15:23 +0000 (00:15 +0200)
app-crypt/monkeysign/Manifest
app-crypt/monkeysign/files/01_PIL-image.patch [new file with mode: 0644]
app-crypt/monkeysign/monkeysign-1.0.ebuild

index a249bff..367e905 100644 (file)
@@ -1,2 +1,3 @@
+AUX 01_PIL-image.patch 344 SHA256 4ff0e98c8a78cca04b07abe36cde0eb4e88021f9a5da6a4c07eb677adf0b6b46 SHA512 904316516a4c3bca83946cc91e683f64ca4679f3243bb3598ddf810b16b8c29aa2dc1dde1c526567643c9d46a32d26f32b857817b7e84e10eb3cb58733d2ff34 WHIRLPOOL ff9864bb2eb6eb989391505078c757d10cfbef95525398908a18cd867ddaeb73fce053d7749a92455063fd70477e6cb3119ea15b6e7faddf0bb6874c304a6ea9
 DIST monkeysign_1.0.tar.gz 52564 SHA256 944fc4d0915236bf72390bd2dc2f5445cfb70033df438b91b1af38bd0ff9fd46 SHA512 6bedf3b298fca48e1e8d2c91a5bda079750b2fe5e02ea26e7478acfc7b1fe7f102c0fd661e56bab20fbc8445c651f07bb6f870ea054673ab18729833cd8a2f1e WHIRLPOOL 1c54a1d4f90eb0182e16e1d0058c6b3ba7841ffa5a72c913fe6e77eb9c697b7f94617302669ffc9bc6ff5a700da51b397ab86f1ce1ed527c2e03e974c2a739ae
-EBUILD monkeysign-1.0.ebuild 556 SHA256 f0fb41cd6b4788ca17f04207bd32bb39b45c03d7b13375c1e41e45785bd957ad SHA512 2926cf1a83b14c6831a510ceda38672e325dee4221811705a2916d01fc0165d2dea525a85f6f6bf563ab2850809d3b5a8739a96556f0ec55a7f94be767f3f43b WHIRLPOOL a478dc246cf4c3bfd056f33ffbd97bd3ce17c13ad875152df6ddb4f8f1d97ff0354db364f65c40aabd36df97acd4d60f41bec81600f6aa2bde6595dcafeaea64
+EBUILD monkeysign-1.0.ebuild 618 SHA256 b2a1bc50968bd99ecd6f02edfbc3ffa392248b4c199eb4bf6d437b50947e8720 SHA512 a8cd4bd52712b7b07de92f18eb1f2b322cc174d254d789682af50497409f8cfbd97c949b6fa03d43c38fdd6c8b2323f8c7208fbf478758b3325a3abce727eb84 WHIRLPOOL 61bb680054290ccffcaf76107e42180f517a4cac3c6c349e54fd7858dc7c5de0cfbc6afdab863eea137e1febfe55504b05ca2cfee5450acfa2e94f5acd763e35
diff --git a/app-crypt/monkeysign/files/01_PIL-image.patch b/app-crypt/monkeysign/files/01_PIL-image.patch
new file mode 100644 (file)
index 0000000..5e00d36
--- /dev/null
@@ -0,0 +1,12 @@
+diff -r ee692c5ecb0b monkeysign/gtkui.py
+--- a/monkeysign/gtkui.py      Tue Oct 01 00:07:14 2013 +0200
++++ b/monkeysign/gtkui.py      Tue Oct 01 00:07:58 2013 +0200
+@@ -24,7 +24,7 @@
+ import gobject
+ import pygtk; pygtk.require('2.0')
+ import pango
+-import Image
++from PIL import Image
+ import zbar, zbarpygtk
+ from qrencode import encode as _qrencode
index b66e5c5..a3419a2 100644 (file)
@@ -20,9 +20,12 @@ SRC_URI="http://cdn.debian.net/debian/pool/main/m/${PN}/${PN}_${PV}.tar.gz"
 DEPEND=""
 RDEPEND="${DEPEND}
 dev-python/pygtk
-dev-python/imaging
+virtual/python-imaging
 media-gfx/zbar[python,gtk,imagemagick]
 media-gfx/qrencode-python
 dev-python/setuptools
 app-crypt/gnupg"
 
+src_prepare(){
+       epatch "${FILESDIR}/01_PIL-image.patch"
+}