dev-python/distlib: New package, ebuild written by me
authorJustin Lecher <jlec@gentoo.org>
Mon, 24 Aug 2015 06:41:12 +0000 (08:41 +0200)
committerJustin Lecher <jlec@gentoo.org>
Mon, 24 Aug 2015 10:12:10 +0000 (12:12 +0200)
Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/distlib/Manifest [new file with mode: 0644]
dev-python/distlib/distlib-0.2.1.ebuild [new file with mode: 0644]
dev-python/distlib/metadata.xml [new file with mode: 0644]

diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest
new file mode 100644 (file)
index 0000000..179151b
--- /dev/null
@@ -0,0 +1 @@
+DIST distlib-0.2.1.zip 542424 SHA256 d91dc4a509ca50d1ba796ba1c4b23d5587f082d8a886856544546c88f4d9a685 SHA512 f6453585650db242ad4a176bbd468cc6069ee0941b6ea23f24fc32000778097d8a100de82eaad7b3d8d998dc153d25f537505c7eefcc6f98f37995cfc9d5be77 WHIRLPOOL 86c2eb318c9df8233847b5ded3370d77ed71fab22067f4fa039531d5a3df2ede463e1688d920401a0870e4359f18f8d765230c72e71be1458e5db14de153ad8d
diff --git a/dev-python/distlib/distlib-0.2.1.ebuild b/dev-python/distlib/distlib-0.2.1.ebuild
new file mode 100644 (file)
index 0000000..7b1a1e4
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3  )
+
+inherit distutils-r1
+
+DESCRIPTION="Distribution utilities"
+HOMEPAGE="https://pypi.python.org/pypi/distlib https://bitbucket.org/vinay.sajip/distlib https://github.com/vsajip/distlib"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+python_test() {
+       sed \
+               -e '/PIP_AVAILABLE/s:True:False:g' \
+               -i tests/*py || die
+       PYTHONHASHSEED=0 esetup.py test
+}
diff --git a/dev-python/distlib/metadata.xml b/dev-python/distlib/metadata.xml
new file mode 100644 (file)
index 0000000..de483c5
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+</pkgmetadata>