diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-09-20 17:25:12 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-09-20 17:37:44 +0200 |
commit | 6620bd43608cec5b1c8146c6c1819f9c5e36c55f (patch) | |
tree | ee968590b511af9a7b8bb66b0f78d43d0a86578a /dev-python/jaraco-classes | |
parent | dev-python/jaraco-packaging: Remove old (diff) | |
download | gentoo-6620bd43608cec5b1c8146c6c1819f9c5e36c55f.tar.gz gentoo-6620bd43608cec5b1c8146c6c1819f9c5e36c55f.tar.bz2 gentoo-6620bd43608cec5b1c8146c6c1819f9c5e36c55f.zip |
dev-python/jaraco-classes: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/jaraco-classes')
-rw-r--r-- | dev-python/jaraco-classes/Manifest | 1 | ||||
-rw-r--r-- | dev-python/jaraco-classes/jaraco-classes-2.0-r1.ebuild | 60 |
2 files changed, 0 insertions, 61 deletions
diff --git a/dev-python/jaraco-classes/Manifest b/dev-python/jaraco-classes/Manifest index 83382769cd6d..b9df73dcccb2 100644 --- a/dev-python/jaraco-classes/Manifest +++ b/dev-python/jaraco-classes/Manifest @@ -1,2 +1 @@ -DIST jaraco.classes-2.0.tar.gz 9911 BLAKE2B aa5e5c90f16c9536239ed61e6dccbc426244c98a33a944de32239bd42a0a4944e5df3529cfd525e05cf276a4a4b028edcec734006b549053ac8817032f52b2ea SHA512 83c9a570f951ef6c3708243dce6397cfbfe963db5920550ac807878a69860b34831af5f277f956fd0b327d85462676fd6386a22d6d97c7616e01ca81d7ace694 DIST jaraco.classes-3.1.0.tar.gz 11616 BLAKE2B 5b438f7582a9a93ca4fc97a71725c1fe3275e4bfb48f5e06b549f7ac8fb6900262165b1ad0638114d3a8d11c10f449b7930d4c2d66fa928665aaff820af88937 SHA512 697d892a01c4e8ad83f57e69dcd744f976cea67fa3efcd55b10eda02f6bf1916162c0fa952d0d711e62f62fdff62740ee55a93be9fc46ebd4ab22416092f0ff6 diff --git a/dev-python/jaraco-classes/jaraco-classes-2.0-r1.ebuild b/dev-python/jaraco-classes/jaraco-classes-2.0-r1.ebuild deleted file mode 100644 index cfdf37fef5ef..000000000000 --- a/dev-python/jaraco-classes/jaraco-classes-2.0-r1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# Tests fail with pypy -PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7,8}} ) - -inherit distutils-r1 - -MY_PN="${PN/-/.}" -DESCRIPTION="Classes used by other projects by developer jaraco" -HOMEPAGE="https://github.com/jaraco/jaraco.classes" -SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - >=dev-python/pytest-2.8[${PYTHON_USEDEP}] - ) -" - -S="${WORKDIR}/${MY_PN}-${PV}" - -distutils_enable_sphinx docs \ - ">=dev-python/jaraco-packaging-3.2" \ - ">=dev-python/rst-linker-1.9" - -python_prepare_all() { - # avoid a setuptools_scm dependency - sed -i "s:use_scm_version=True:version='${PV}':" setup.py || die - sed -r -i "s:setuptools_scm[[:space:]]*([><=]{1,2}[[:space:]]*[0-9.a-zA-Z]+)[[:space:]]*::" \ - setup.cfg || die - - distutils-r1_python_prepare_all -} - -python_test() { - # Avoid ImportMismatchError, override pytest options to skip flake8 - pytest -vv "${BUILD_DIR}"/lib --override-ini="addopts=--doctest-modules" \ - || die "tests failed with ${EPYTHON}" -} - -# https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages#File_collisions_between_pkgutil-style_packages -python_install() { - rm "${BUILD_DIR}"/lib/jaraco/__init__.py || die - # note: eclass may default to --skip-build in the future - distutils-r1_python_install --skip-build -} |