summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-06-10 15:13:20 +0000
committerJustin Lecher <jlec@gentoo.org>2013-06-10 15:13:20 +0000
commite7c52c77da000f9b3426d3f4d3ce2da11640fd08 (patch)
tree6062f47375644c0dca18b19263c433cc76f667c4 /media-gfx
parentversion bump (diff)
downloadhistorical-e7c52c77da000f9b3426d3f4d3ce2da11640fd08.tar.gz
historical-e7c52c77da000f9b3426d3f4d3ce2da11640fd08.tar.bz2
historical-e7c52c77da000f9b3426d3f4d3ce2da11640fd08.zip
media-gfx/qrencode-python: Move to new distutils eclass; add fix for PILimports, #472772
Package-Manager: portage-2.2.0_alpha179/cvs/Linux x86_64 Manifest-Sign-Key: 0x8009D6F070EB7916
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/qrencode-python/ChangeLog10
-rw-r--r--media-gfx/qrencode-python/Manifest20
-rw-r--r--media-gfx/qrencode-python/files/qrencode-python-1.01-PIL.patch14
-rw-r--r--media-gfx/qrencode-python/metadata.xml12
-rw-r--r--media-gfx/qrencode-python/qrencode-python-1.01-r1.ebuild27
5 files changed, 66 insertions, 17 deletions
diff --git a/media-gfx/qrencode-python/ChangeLog b/media-gfx/qrencode-python/ChangeLog
index df0c24f36af2..c2825a605728 100644
--- a/media-gfx/qrencode-python/ChangeLog
+++ b/media-gfx/qrencode-python/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/qrencode-python
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/qrencode-python/ChangeLog,v 1.2 2011/12/12 08:41:16 jlec Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/qrencode-python/ChangeLog,v 1.3 2013/06/10 15:13:19 jlec Exp $
+
+*qrencode-python-1.01-r1 (10 Jun 2013)
+
+ 10 Jun 2013; Justin Lecher <jlec@gentoo.org> +qrencode-python-1.01-r1.ebuild,
+ +files/qrencode-python-1.01-PIL.patch, metadata.xml:
+ Move to new distutils eclass; add fix for PILimports, #472772
12 Dec 2011; Justin Lecher <jlec@gentoo.org> qrencode-python-1.01.ebuild,
metadata.xml:
diff --git a/media-gfx/qrencode-python/Manifest b/media-gfx/qrencode-python/Manifest
index 04e2a7211ede..96c2ec302689 100644
--- a/media-gfx/qrencode-python/Manifest
+++ b/media-gfx/qrencode-python/Manifest
@@ -1,14 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
-DIST qrencode-python-1.01.tar.gz 2456 RMD160 01eacf8f1448ca441da91ec3e7169a9b99070fda SHA1 b8851d5c67950f86fe969cc6afeae5ed3f1f8edc SHA256 fd8cdabd743e2db7a1ad332d4f0fe037e5a7807cb2f1d32da3e39439088bb610
-EBUILD qrencode-python-1.01.ebuild 775 RMD160 82624e5c27e765e72870ef28ad33d0deed2e2ae6 SHA1 ffde09a2383717d7f657281fddc98451f52cffd9 SHA256 a79044b892fea469b636d6f26dd9f9f382b11a67474575275679988eb646174f
-MISC ChangeLog 520 RMD160 a7f3b98c4f88c69b5d4b507fa133e139f0442070 SHA1 4230c42d719c63a56dc492c1ad797cda2116161b SHA256 16e91134bbc623a21f2cb84e8c7e31d2274529ebc452a8ae11f4ac56c5cbbfb6
-MISC metadata.xml 272 RMD160 27608f7ae3f8a8f2591b72c09bbeeeb890e9d427 SHA1 4358716491fb4b537726b67049391083773ce530 SHA256 6c2a9c1397aeb317005616be0091b31ec9664cae5645150abc693d2240462e0a
+AUX qrencode-python-1.01-PIL.patch 334 SHA256 20972772d12ea260909a9896392e73461a03a1a896a2b93194ccc86f6e8b4b37 SHA512 474f3bc851d5e4aa284096d1df936a9a67d8d50b5542f71963486f45df540d1feebde68f5f57f43732d0876ff2bdade234bd344d33a497f173ec50e658424bf5 WHIRLPOOL 15d212c7d9493bb464ad70dda0e61467f5c6f8316279c5d048e8f7b1de35e77b3fc98a092d5fffc1b11ec662f2fad7d9d077c0c32ff82fe782caa07a4418ada4
+DIST qrencode-python-1.01.tar.gz 2456 SHA256 fd8cdabd743e2db7a1ad332d4f0fe037e5a7807cb2f1d32da3e39439088bb610 SHA512 fc0514038dc78556335744872ad94d48eb68991118f204a6547f2979d62694441d28c5eb67a8a34a096cd686a9ae10ce5f95753a0e3f676f6ad53b3792f6946c WHIRLPOOL d9a0e833437cf1640d6cfb4f84debef936898d88c0c3f5565499a4ef848be45a5c5b1eeeaf2cc8a098c4898183395db688152154d93314c1db693eaccaa285ce
+EBUILD qrencode-python-1.01-r1.ebuild 774 SHA256 9b19dabde6fbd7d7c7b2b3bb0f0a43cf99904afbdc3ad2001ea59c9dbb26edf1 SHA512 c561412648d757be4613d0843ba94832c9f5e1fee87a9156666be8f6c098ae887e787587b2bf527036427a7549517f9e35e03ef10312b3d6842e2387986c8c63 WHIRLPOOL 09d9d6cd86295310d661af63e7c7d93a389e37eacc30d61ba1a66e015ec8ec8a792659515bf3c569c7fddf7056468bf94554802183d01e02eac3fe44c0aeb38e
+EBUILD qrencode-python-1.01.ebuild 775 SHA256 a79044b892fea469b636d6f26dd9f9f382b11a67474575275679988eb646174f SHA512 7e2dc2bc6e4da072bba36fd39c84ec8fc5a04c5a805c6b4e4e1dda6d6e166dc3314c3e7df48b9eb5ac6c91de0f5c5e14abd8efc40bc5d2af2bf703a9758a1775 WHIRLPOOL c3a7fc0cba14131e3641709ca2cb41b5cd829a33e0d334e5950e4a2521601d18c87b4418afb41619cbf0e0d99da1a8fa83a63decefdb5827a4a1dbd48a146ee2
+MISC ChangeLog 760 SHA256 39aec0c6ad31b9dadef38247127a8260ce198091280c472d2ecfa3308cc75bac SHA512 5631f69dc29ae0a647298eb07376f4335c52a70d97fd59d989e4f23877501a7b4cd28981729f607759a70f5a52daddfb070d88bb2ac132d941bd5c123307b482 WHIRLPOOL 72d0b81cb980428abc64e0f6e4589975c0631505fe3ee918daa0e888e96588c42f86b1baaf58fba29e210b76c844eef9ba400260fa4c425c468eab118da94449
+MISC metadata.xml 280 SHA256 7ca0096298a0beffd551fe217ee996ec4e94fde0a3fef588ada8b94290ce331d SHA512 e6661e680d7f9d77c10764a440241321175b1c653bfd716c5adf6207c68ab52c194eb38a17a6d49e473bf668a4c30f8563d68445ef673698541e43b02a4593f9 WHIRLPOOL 014388cff4fc1b889f3eff3013a3a5bc394d6d103ce4caa98360ed8e2d13bc7be0a2314ec79ebc2481ea56e6792137dfff33ef5973b869afcba24148565e3db0
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.20 (GNU/Linux)
-iEYEARECAAYFAk93TjAACgkQ/ejvha5XGaPMcACfTxMBbuaLg13NOz5gpbzKCpaZ
-8pAAn3MNnoEHTwKC2jPHgqSkNfk5xwkC
-=+al4
+iEYEAREKAAYFAlG17RAACgkQgAnW8HDreRZVKwCgyhQJ3B96n/MauTI4BvXvLlKZ
+928An3lEJd606ZofjpJDuM6uYdUcPFEz
+=w58C
-----END PGP SIGNATURE-----
diff --git a/media-gfx/qrencode-python/files/qrencode-python-1.01-PIL.patch b/media-gfx/qrencode-python/files/qrencode-python-1.01-PIL.patch
new file mode 100644
index 000000000000..0f0b2d4912e0
--- /dev/null
+++ b/media-gfx/qrencode-python/files/qrencode-python-1.01-PIL.patch
@@ -0,0 +1,14 @@
+ qrencode/__init__.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/qrencode/__init__.py b/qrencode/__init__.py
+index 4ca5396..ba0c15e 100644
+--- a/qrencode/__init__.py
++++ b/qrencode/__init__.py
+@@ -1,5 +1,5 @@
+ from qr_encode import encode as _encode
+-import Image
++from PIL import Image
+
+
+ QR_ECLEVEL_L = 0
diff --git a/media-gfx/qrencode-python/metadata.xml b/media-gfx/qrencode-python/metadata.xml
index 406c401c199e..3eb7afcc664f 100644
--- a/media-gfx/qrencode-python/metadata.xml
+++ b/media-gfx/qrencode-python/metadata.xml
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer>
- <email>jlec@gentoo.org</email>
- </maintainer>
- <upstream>
- <remote-id type="pypi">qrencode</remote-id>
- </upstream>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">qrencode</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/media-gfx/qrencode-python/qrencode-python-1.01-r1.ebuild b/media-gfx/qrencode-python/qrencode-python-1.01-r1.ebuild
new file mode 100644
index 000000000000..804f2e9981ee
--- /dev/null
+++ b/media-gfx/qrencode-python/qrencode-python-1.01-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/qrencode-python/qrencode-python-1.01-r1.ebuild,v 1.1 2013/06/10 15:13:19 jlec Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit distutils-r1
+
+DESCRIPTION="A simple wrapper for the C qrencode library"
+HOMEPAGE="http://pypi.python.org/pypi/qrencode/ https://github.com/Arachnid/pyqrencode/"
+SRC_URI="mirror://pypi/q/qrencode/qrencode-${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="Apache-2.0"
+IUSE=""
+
+RDEPEND="
+ virtual/python-imaging[${PYTHON_USEDEP}]
+ media-gfx/qrencode"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/qrencode-${PV}
+
+PATCHES=( "${FILESDIR}"/${P}-PIL.patch )