commit: b9412b88a6d40b5c43e9e9d1f53624e05c9c3432 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Sat Mar 18 16:04:27 2023 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sat Mar 18 16:04:27 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9412b88
dev-python/setuptools_trial: treeclean Closes: https://bugs.gentoo.org/895174 Signed-off-by: David Seifert <soap <AT> gentoo.org> dev-python/setuptools_trial/Manifest | 1 - dev-python/setuptools_trial/metadata.xml | 23 ----------- .../setuptools_trial-0.6.0-r1.ebuild | 46 ---------------------- profiles/package.mask | 5 --- 4 files changed, 75 deletions(-) diff --git a/dev-python/setuptools_trial/Manifest b/dev-python/setuptools_trial/Manifest deleted file mode 100644 index 685582c0ba49..000000000000 --- a/dev-python/setuptools_trial/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST setuptools_trial-0.6.0.tar.gz 6227 BLAKE2B 2df7276197a5630b8140dce17528b75045ea86e15495146aceafc4428f6ab6493fbe8e2edfded30ae644523455df02f3cb85e8bf8879bd4fafc9a332d9f6bc40 SHA512 9104b98627f57ed53c90d22042346875c5324d7b30e1ec9ba1718b5c59a786915a8fe0a53789a5dbd9318a12b27122661234f5be403365261db6a8728ce39827 diff --git a/dev-python/setuptools_trial/metadata.xml b/dev-python/setuptools_trial/metadata.xml deleted file mode 100644 index 3718ce297d89..000000000000 --- a/dev-python/setuptools_trial/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>[email protected]</email> - <name>Brian Dolbec</name> - </maintainer> - <upstream> - <maintainer> - <email>[email protected]</email> - <name>Vladimir Rutsky</name> - </maintainer> - <remote-id type="pypi">setuptools_trial</remote-id> - <remote-id type="github">rutsky/setuptools-trial</remote-id> - </upstream> - <longdescription> - This is a plugin for setuptools that integrates Twisted trial. Once - installed, “python ./setup.py trial” will run the package’s unit tests - using Twisted trial. The package can also optionally be configured so - that “python ./setup.py test” will use Twisted trial instead of pyunit - a.k.a. unittest. - </longdescription> -</pkgmetadata> diff --git a/dev-python/setuptools_trial/setuptools_trial-0.6.0-r1.ebuild b/dev-python/setuptools_trial/setuptools_trial-0.6.0-r1.ebuild deleted file mode 100644 index e62868fc93b0..000000000000 --- a/dev-python/setuptools_trial/setuptools_trial-0.6.0-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..10} ) -inherit distutils-r1 pypi - -DESCRIPTION="Setuptools plugin that makes unit tests execute with trial instead of pyunit" -HOMEPAGE="https://github.com/rutsky/setuptools-trial https://pypi.org/project/setuptools_trial/" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}] -" - -BDEPEND="test? ( ${RDEPEND} )" - -src_prepare() { - # don't install docs into wrong location - sed -e '/data_files=/d' -i setup.py || die - distutils-r1_src_prepare -} - -python_test() { - distutils_install_for_testing - - # The pkg test suite creates a virtualenv to install to for testing - # The distutils-r1 eclass already does the equivalent for us. - # So just run the same commands they do directly... - pushd "${S}"/tests/dummy_project > /dev/null || die - "${EPYTHON}" -m setup.py trial || \ - die "trial tests failed with ${EPYTHON}" - "${EPYTHON}" -m setup.py trial --reporter=text || \ - die "trial --reporter tests failed with ${EPYTHON}" - popd > /dev/null || die - pushd "${S}"/tests/alias_project > /dev/null || die - "${EPYTHON}" -m setup.py test || \ - die "alias_project tests failed with ${EPYTHON}" - popd > /dev/null || die -} diff --git a/profiles/package.mask b/profiles/package.mask index e1f84b583d6c..90fd97817a23 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -263,11 +263,6 @@ app-eselect/eselect-opencascade # Removal on 2023-03-21. Bug #895342. dev-python/flask-script -# Sam James <[email protected]> (2023-02-18) -# Last release in 2018, needs porting to Python 3.11, and no reverse -# dependencies. Removal on 2023-03-18. bug #895174. -dev-python/setuptools_trial - # Sam James <[email protected]> (2023-02-18) # Backport to Python 3.5(!) hence irrelevant for newer versions of Python # where os.scandir() and os.walk() improvements were integrated in the stdlib.
