summaryrefslogtreecommitdiff
path: root/dev-python/python-distutils-extra
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/python-distutils-extra
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/python-distutils-extra')
-rw-r--r--dev-python/python-distutils-extra/Manifest7
-rw-r--r--dev-python/python-distutils-extra/metadata.xml12
-rw-r--r--dev-python/python-distutils-extra/python-distutils-extra-2.38.ebuild41
-rw-r--r--dev-python/python-distutils-extra/python-distutils-extra-2.39.ebuild54
4 files changed, 114 insertions, 0 deletions
diff --git a/dev-python/python-distutils-extra/Manifest b/dev-python/python-distutils-extra/Manifest
new file mode 100644
index 000000000000..a1df390c4c0c
--- /dev/null
+++ b/dev-python/python-distutils-extra/Manifest
@@ -0,0 +1,7 @@
+DIST python-distutils-extra-2.38.tar.gz 27748 SHA256 3d100d5d3492f40b3e7a6a4500f71290bfa91e2c50dc31ba8e3ff9b5d82ca153 SHA512 bbaea59a8f251f354e6cf3799b67c12225095cc869c7c4e299e719ad7bcfd1292cff99f95ab25f04fb9c3e2432da5ea614ee76154781388c47960fdf2c90a3d7 WHIRLPOOL 10ca7754985aa634aaef7f7fc80777ca4a2b79ecc11e80c48bb2e6c1765cc9f38fbf9696957f974533f50f06db3d1bdb6527f1ed6dbe05619f3d0a17184b885d
+DIST python-distutils-extra-2.39.tar.gz 27389 SHA256 723f24f4d65fc8d99b33a002fbbb3771d4cc9d664c97085bf37f3997ae8063af SHA512 e3b4d1ed22767fb4c6dbbdccef960865b6fda01d18dc38cb8f9357c09c7eabb78466fce053e407a196eca257d07d57c5c1ef47f358a5979c7f22e4b11775124e WHIRLPOOL a485aa70267eaed03dc1174b73ab482ae409aeed5fcbbe82ab4ab377d8a8f91e1fa8aa3b9bb9af8c9b6bc3bc306284974d99943473afdce7f1d6b7322edd0623
+EBUILD python-distutils-extra-2.38.ebuild 1072 SHA256 3e7e25c39bb8cf43474abdf8eb317c27c74301a3bd461f1c4d3b5c31ed24ec4d SHA512 63894d8bc085ebdc9c9b13961448fefe88b55aca7fafedcae289d1b03fcfb41dadb8dc1847703dcc8e910aae7a528b4651c79240bac78d0cd000cbd8a13ea4d5 WHIRLPOOL a1314d58766cb0a2e4ec08e4852f09e2a308009d35219de6f3d60a74cbc0d886410da56c27f594116c185b939ec6843b83bf59427e84659b91861c727d30ee13
+EBUILD python-distutils-extra-2.39.ebuild 1456 SHA256 b99b7c67fce130b54ed4f11f15feb8822b9b1bd528bca7c01ef87b259703ff07 SHA512 84a61095999508262a61e36c8ec8f53c33d9cc791b704f27aa04f30f00169458209d3d4b1c03fa566602984f57ef1965eff4a716df542015fd1365822ff2d668 WHIRLPOOL 8a62a45b77e04a8c882f3449c0849ed6cfaf32136fbb40d2cdeb9da9cecf3f099dd3a7801e150996aca70a12c9084846cc3544fe1afee32932671f4fe9a78956
+MISC ChangeLog 3430 SHA256 3b98817cad08a8645f625e9721d5db2e2e875425f7a2942b8e06eec47a199750 SHA512 69307f3754d0bcc8859ce688ed570e7834f2841505e5e1446cc6b2433c26348b898dd18ebde810ee3e90263fe8feb3e4e0fa663effbd6e574565e247cd80dd6a WHIRLPOOL 5495bb965612849c9598cc788eeeab908d8d9efb8cec55bdc13c66b2bc0712a2eec84f4c8a370649985145e53ef939ce56bf4056e4528ed25b88052de61f15cb
+MISC ChangeLog-2015 6070 SHA256 b8b561d232e0b4bc9e7dbe40e4db97187eb9cc4cbf2d360430e974d6d60edb69 SHA512 71108e84f833a8d84804681735e5561b1cd6d343c6ebf35f4df1801f115cefb747b7aa69e8410be5de795e7831fac1fb53efa7503447788b80e8c73de011547b WHIRLPOOL c756bf819ab7787c9a7d0a0ec925fbda7492bfc4f8bc429edf0d415448edcfa452eaa4d944b204a19843dc9a9ccce4cb295e0b619d087b44ef75c0f2b196b8d8
+MISC metadata.xml 401 SHA256 7d9a066b26ec469a9a24d3746a7d71075c73de3626fbfe613c3e249eb0797e0e SHA512 0dfe7658fe14d75a542a901de11983e7e0d8663b158032f5b8a71814c4caa93c14b4bc32e422c49a19550544c1b1fd4075be8a6644f0ea780bb23e1adc65b402 WHIRLPOOL dad7d9670050aef286230329302b186f6ddd8ad4ce70919572a987e15a1323b6d36e1c9fb1bbbeb79ad0ef9cd737263a04647a2a6342503e096dab921f388e08
diff --git a/dev-python/python-distutils-extra/metadata.xml b/dev-python/python-distutils-extra/metadata.xml
new file mode 100644
index 000000000000..930ec08cf4e8
--- /dev/null
+++ b/dev-python/python-distutils-extra/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="launchpad">python-distutils-extra</remote-id>
+ <bugs-to>https://bugs.launchpad.net/python-distutils-extra</bugs-to>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/python-distutils-extra/python-distutils-extra-2.38.ebuild b/dev-python/python-distutils-extra/python-distutils-extra-2.38.ebuild
new file mode 100644
index 000000000000..dd6552011161
--- /dev/null
+++ b/dev-python/python-distutils-extra/python-distutils-extra-2.38.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Gettext support, themed icons and scrollkeeper-based documentation in distutils"
+HOMEPAGE="https://launchpad.net/python-distutils-extra"
+SRC_URI="https://launchpad.net/python-distutils-extra/trunk/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+DOCS=( doc/{FAQ,README,setup.cfg.example,setup.py.example} )
+
+DISTUTILS_IN_SOURCE_BUILD=1
+
+python_prepare_all() {
+ # Disable broken tests.
+ sed \
+ -e "s/test_desktop/_&/" -e "s/test_po(/_&/" \
+ -e "s/test_policykit/_&/" -e "s/test_requires_provides/_&/" \
+ -i test/auto.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ # 5 tests fail with disabled byte-compilation (they rely on exact
+ # output from python).
+ local -x PYTHONDONTWRITEBYTECODE
+ "${PYTHON}" test/auto.py || die "Tests fail with ${EPYTHON}"
+}
diff --git a/dev-python/python-distutils-extra/python-distutils-extra-2.39.ebuild b/dev-python/python-distutils-extra/python-distutils-extra-2.39.ebuild
new file mode 100644
index 000000000000..855f84bbdd29
--- /dev/null
+++ b/dev-python/python-distutils-extra/python-distutils-extra-2.39.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
+
+inherit distutils-r1
+
+DESCRIPTION="Gettext support, themed icons and scrollkeeper-based documentation in distutils"
+HOMEPAGE="https://launchpad.net/python-distutils-extra"
+SRC_URI="https://launchpad.net/python-distutils-extra/trunk/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="test"
+
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pytest-runner[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )
+"
+
+DOCS=( doc/{README,FAQ} )
+
+python_prepare_all() {
+ # This line is run when the file is imported
+ # https://bugs.launchpad.net/python-distutils-extra/+bug/1657919
+ sed -i '/^unittest.main()$/d' test/auto.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ # 5 tests fail with disabled byte-compilation (they rely on exact
+ # output from python).
+ # The other 4 are broken.
+ py.test -k "not (test_pot_manual or test_pot_auto_explicit or \
+ test_pot_auto or test_modules or test_packages) and not \
+ (test_desktop or test_po or test_policykit or \
+ test_requires_provides)" test/auto.py || \
+ die "tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ docinto examples
+ dodoc doc/{setup.cfg.example,setup.py.example}
+ docompress -x /usr/share/doc/${PF}/examples
+}