summaryrefslogtreecommitdiff
path: root/dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-03-28 21:54:59 +0100
committerMichał Górny <mgorny@gentoo.org>2020-03-28 22:10:58 +0100
commit12a21978151bac1a08ef892b5f2b42cf5ced252c (patch)
treeb0c4130ef155aafadf5494b0612ef1ebbaa244de /dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild
parentb438f92b94ec7a5287f15abb68a0c29f22bd6bf0 (diff)
downloadgentoo-12a21978151bac1a08ef892b5f2b42cf5ced252c.tar.gz
gentoo-12a21978151bac1a08ef892b5f2b42cf5ced252c.tar.bz2
gentoo-12a21978151bac1a08ef892b5f2b42cf5ced252c.zip
dev-python/python-distutils-extra: Remove redundant versions
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild')
-rw-r--r--dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild51
1 files changed, 0 insertions, 51 deletions
diff --git a/dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild b/dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild
deleted file mode 100644
index d41bb4926e49..000000000000
--- a/dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python{2_7,3_6,3_7} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Gettext support, themed icons and scrollkeeper-based documentation in distutils"
-HOMEPAGE="https://launchpad.net/python-distutils-extra"
-SRC_URI="mirror://ubuntu/pool/universe/p/${PN}/${PN}_${PV}.tar.xz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
-
-BDEPEND="dev-python/setuptools[${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.
- pytest -vv -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
-}