dev-python/enum34: Version Bump
authorJustin Lecher <jlec@gentoo.org>
Wed, 27 Jan 2016 08:36:52 +0000 (09:36 +0100)
committerJustin Lecher <jlec@gentoo.org>
Wed, 27 Jan 2016 09:26:12 +0000 (10:26 +0100)
Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/enum34/Manifest
dev-python/enum34/enum34-1.0.4.ebuild
dev-python/enum34/enum34-1.1.2.ebuild [new file with mode: 0644]

index 52eae96e84c51132ae9a182c4e2b9b57296d7b6b..03d0b951f2ef14b84470f9de4af82805257d219c 100644 (file)
@@ -1 +1,2 @@
 DIST enum34-1.0.4.tar.gz 32944 SHA256 d3c19f26a6a34629c18c775f59dfc5dd595764c722b57a2da56ebfb69b94e447 SHA512 21b91f1d0e15cc909e733473f603077eff7222c90da84b0a5f2db921ba41ac996b9237cc8adf1d07913b7eaf8f8e70ac6955abbb191f2e7cc54966710a1c96a9 WHIRLPOOL 178d1d5a9ec4e5a7a467e31c9b28e1f799e593e36a0c9a888f64ec86051277cb1c50ae01ed81c95cd3f7ae1e7f287dda9b4049c7e1977fcd427711fcf3990792
+DIST enum34-1.1.2.tar.gz 46757 SHA256 2475d7fcddf5951e92ff546972758802de5260bf409319a9f1934e6bbc8b1dc7 SHA512 61e47d27969237f5e0de814f42e8f9217147f3d2d3081a1fadaf665cee293af1dd978420fb918000ac9f0fe323249faf7993f204660acdebff880bca1dde2487 WHIRLPOOL 9c9a77a9ea042473032b77ade2d5faabf4d176a70fd1931c55d534eced5a2f0140a1c486d99445500e8ab304f14ec5eaa91bcf7a5ba238def557cb3de39f9840
index ed660ba3b1d5962cb1ef3eeae72f34849e54a337..caf911096dc52f7793fe6cf0f4924bb96dd3815e 100644 (file)
@@ -3,6 +3,7 @@
 # $Id$
 
 EAPI=5
+
 PYTHON_COMPAT=( python{2_7,3_3} pypy pypy3 )  # Do NOT add python3_4—see DESCRIPTION
 
 inherit distutils-r1
@@ -24,7 +25,7 @@ python_test() {
 }
 
 python_install_all() {
-       use doc && local DOCS=( enum/doc/. enum/README enum/LICENSE )
+       use doc && local DOCS=( enum/doc/. enum/README )
 
        distutils-r1_python_install_all
 }
diff --git a/dev-python/enum34/enum34-1.1.2.ebuild b/dev-python/enum34/enum34-1.1.2.ebuild
new file mode 100644 (file)
index 0000000..5cbdb61
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Python 3.4 Enum backported"
+HOMEPAGE="https://pypi.python.org/pypi/enum34"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="doc"
+
+python_test() {
+       "${PYTHON}" enum/test_enum.py || die "Tests failed under ${EPYTHON}"
+}
+
+python_install_all() {
+       use doc && local DOCS=( enum/doc/. enum/README )
+
+       distutils-r1_python_install_all
+}