diff options
author | David Seifert <soap@gentoo.org> | 2023-03-18 17:04:27 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2023-03-18 17:04:27 +0100 |
commit | b9412b88a6d40b5c43e9e9d1f53624e05c9c3432 (patch) | |
tree | 172fb5ff79ed809cdcec72cd418ce40c2a1d1e1a /dev-python | |
parent | dev-python/flask: Remove old (diff) | |
download | gentoo-b9412b88a6d40b5c43e9e9d1f53624e05c9c3432.tar.gz gentoo-b9412b88a6d40b5c43e9e9d1f53624e05c9c3432.tar.bz2 gentoo-b9412b88a6d40b5c43e9e9d1f53624e05c9c3432.zip |
dev-python/setuptools_trial: treeclean
Closes: https://bugs.gentoo.org/895174
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/setuptools_trial/Manifest | 1 | ||||
-rw-r--r-- | dev-python/setuptools_trial/metadata.xml | 23 | ||||
-rw-r--r-- | dev-python/setuptools_trial/setuptools_trial-0.6.0-r1.ebuild | 46 |
3 files changed, 0 insertions, 70 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>dolsen@gentoo.org</email> - <name>Brian Dolbec</name> - </maintainer> - <upstream> - <maintainer> - <email>vladimir@rutsky.org</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 -} |