diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-11-06 08:35:57 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-11-06 08:59:17 +0100 |
commit | b9ef3a42be0000680008b9871864f214ba61ccf2 (patch) | |
tree | 7b5f1266b475202ef6429ff5e19e63afe6c06f5d /dev-python/nose | |
parent | dev-python/sarif_om: Remove old (diff) | |
download | gentoo-b9ef3a42be0000680008b9871864f214ba61ccf2.tar.gz gentoo-b9ef3a42be0000680008b9871864f214ba61ccf2.tar.bz2 gentoo-b9ef3a42be0000680008b9871864f214ba61ccf2.zip |
dev-python/nose: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/nose')
-rw-r--r-- | dev-python/nose/Manifest | 1 | ||||
-rw-r--r-- | dev-python/nose/nose-1.3.7_p20211111_p1-r1.ebuild | 58 |
2 files changed, 0 insertions, 59 deletions
diff --git a/dev-python/nose/Manifest b/dev-python/nose/Manifest index af7cc2a1881c..f3e9898480d9 100644 --- a/dev-python/nose/Manifest +++ b/dev-python/nose/Manifest @@ -1,2 +1 @@ -DIST nose-1.3.7_p20211111_p1.gh.tar.gz 327855 BLAKE2B acddcaa0718f23f281ea34a977354b3ef88c95d4ef712afd8354effe6df7883d473b50caaa3b5c79fcc4c36a9d45bee4eb5865a6ef66e371dae12ed1a0a0418a SHA512 752eb1337fd481a1b8498ead330d716cf4180c18faabde257e9a1139928b9fa38e2e145d36c1ea8e3867a36d4843134ee26e9e9f83ff84d21f0fe246d2392d15 DIST nose-1.3.7_p20221026.gh.tar.gz 325421 BLAKE2B 3762e1703a6a9c90d1569d21efa9ba100f52a8b3660022694133a763d995e19a6eef2398f5013b4827e4c334a2d5e3cd14a9704a50cd822c2d554a0ed6008f2c SHA512 3cb97b58525bee0cf88328ba865dc039bf3b76c56b4b42dd9dcf68f7b7585a91fb7e9b0c419668eccc0e242b2bcbb77eb197a0954ee9ad50051ef3af1a81dac3 diff --git a/dev-python/nose/nose-1.3.7_p20211111_p1-r1.ebuild b/dev-python/nose/nose-1.3.7_p20211111_p1-r1.ebuild deleted file mode 100644 index 483709a85a70..000000000000 --- a/dev-python/nose/nose-1.3.7_p20211111_p1-r1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -EGIT_COMMIT="94fd6746619ee8728f2b8740ebf2d1582b03cb15" -DESCRIPTION="Unittest extension with automatic test suite discovery and easy test authoring" -HOMEPAGE=" - https://pypi.org/project/nose/ - https://nose.readthedocs.io/en/latest/ - https://github.com/nose-devs/nose -" -SRC_URI=" - https://github.com/arthurzam/nose/archive/${EGIT_COMMIT}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${PN}-${EGIT_COMMIT}" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="examples test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - !hppa? ( dev-python/coverage[${PYTHON_USEDEP}] ) - ' python3_{8..10} pypy3) - $(python_gen_cond_dep ' - dev-python/twisted[${PYTHON_USEDEP}] - ' python3_{8..10}) - ) -" - -src_prepare() { - # failing to find configuration file - sed -e 's/test_cover_options_config_file/_&/' \ - -i unit_tests/test_cover_plugin.py || die - - distutils-r1_src_prepare -} - -python_test() { - "${EPYTHON}" -m nose -v -a "!network" || - die "Tests fail with ${EPYTHON}" -} - -src_install() { - distutils-r1_src_install - use examples && dodoc -r examples -} |