From 46eedbedafdb0040c37884982d4c775ce277fb7b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 20 Oct 2021 10:22:14 +0100 Subject: gentoo resync : 20.10.2021 --- dev-python/nose/Manifest | 2 +- dev-python/nose/nose-1.3.7-r8.ebuild | 82 ----------------------------------- dev-python/nose/nose-1.3.7-r9.ebuild | 83 ++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 83 deletions(-) delete mode 100644 dev-python/nose/nose-1.3.7-r8.ebuild create mode 100644 dev-python/nose/nose-1.3.7-r9.ebuild (limited to 'dev-python/nose') diff --git a/dev-python/nose/Manifest b/dev-python/nose/Manifest index 26019f57c49c..c279eae10af1 100644 --- a/dev-python/nose/Manifest +++ b/dev-python/nose/Manifest @@ -2,5 +2,5 @@ AUX nose-1.3.7-coverage-4.1-support.patch 950 BLAKE2B 451402abfaf917b42584fb2530 AUX nose-1.3.7-python-3.5-backport.patch 1802 BLAKE2B 8513cd506f7031ec4af1a4acd619b1bc01da05a1a81e95d3d9dfa097b131727229a05228315252a67c57ab15aaf2dc90df59c7ff3c726ae62f4a5ef86776bb87 SHA512 032c4c291edd76bb594329578e57483942ced2a46c3f6cd4e914d905f3894e420cc4da0ba2a63c266c81dd4d8f40b8df180f56ac75cb3c5e83e0309bbac573b2 AUX nose-1.3.7-python-3.6-test.patch 3289 BLAKE2B 4f19c4f6e4f376cb09896f9e7b054753c339ad371e151f01cc8c54e83ecffee72e4959d827a88d03b4944192b43085b50017ef8b8785222125ce32fac5831717 SHA512 0be6e49f08a4098b4c5dd1d9678e757c8f1f317fb13bd355a035c44bcdd9cd043be1755bb97c4ca78397985f07f6fc486ddd10cb56dd8d8774d631eebcc81127 DIST nose-1.3.7.tar.gz 280488 BLAKE2B 4bb479b2786f813f9e9a5fd401e30023a473a053ae013d7887be15af415422c09fb399af6058ae99ed65c5fa4da84eb274eb805e895ca74db159d952905f5be4 SHA512 e65c914f621f8da06b9ab11a0ff2763d6e29b82ce2aaed56da0e3773dc899d9deb1f20015789d44c65a5dad7214520f5b659b3f8d7695fb207ad3f78e5cf1b62 -EBUILD nose-1.3.7-r8.ebuild 2243 BLAKE2B 9e6efa83d458d958f81a4623d3b09c4fd1d85463e865b1ce10009fb6332f9a83816aa48b0cb2506772aaa96a908f3181055c9840249935937515b3273063ec39 SHA512 abc31a83c574dcfdd2108a19cde5e1f8db32a85081f93ddf7533fc4cd6862d7c0a80af4b884a08fc5759200aefd6c1068b1abad9e8b427b45cc02925121a9ca0 +EBUILD nose-1.3.7-r9.ebuild 2288 BLAKE2B cad8b0fe70b07ab20e2c35dbeddee8df9b5a93f0575eabd9dc93fe906aaece6a399ccb05ec3a4051855d1cd7a15e5791ad05545694307d91822daeb7bb431921 SHA512 f2cccee8687a23b6066bbcca2c99dca54b8b9d3847c26337809937ce5c0329f9deea359d538043357577dbef8e77f577dbf762407a1f4dc8a1d87426afd4b59c MISC metadata.xml 399 BLAKE2B bccd250e005dc4b4921b8affffa56c918069576663c44671189d40dea344c0fb880fcf41656b1c9c5043cea9a0203b3ad3b980f7920ecebab82b4c71f75214d4 SHA512 15fd9ea9d0c09833f25497e2715a15cb2b2dbcbe042e0a3fa24525455eaeb470d6c799fddcd635a5197c984252649a26352713fcd069123fe2546edc20566fa6 diff --git a/dev-python/nose/nose-1.3.7-r8.ebuild b/dev-python/nose/nose-1.3.7-r8.ebuild deleted file mode 100644 index fd55e99ba0e6..000000000000 --- a/dev-python/nose/nose-1.3.7-r8.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..10} pypy3 ) -PYTHON_REQ_USE="threads(+)" -inherit distutils-r1 - -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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~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_{7..9} pypy3) - $(python_gen_cond_dep ' - dev-python/twisted[${PYTHON_USEDEP}] - ' python3_{7..9}) - )" - -PATCHES=( - "${FILESDIR}"/${P}-python-3.5-backport.patch - - # Patch against master found in an upstream PR, backported: - # https://github.com/nose-devs/nose/pull/1004 - "${FILESDIR}"/${P}-coverage-4.1-support.patch - - "${FILESDIR}"/${P}-python-3.6-test.patch -) - -python_prepare_all() { - # Tests need to be converted, and they don't respect BUILD_DIR. - use test && DISTUTILS_IN_SOURCE_BUILD=1 - - # Disable tests requiring network connection. - sed \ - -e "s/test_resolve/_&/g" \ - -e "s/test_raises_bad_return/_&/g" \ - -e "s/test_raises_twisted_error/_&/g" \ - -i unit_tests/test_twisted.py || die "sed failed" - # Disable versioning of nosetests script to avoid collision with - # versioning performed by the eclass. - sed -e "/'nosetests%s = nose:run_exit' % py_vers_tag,/d" \ - -i setup.py || die "sed2 failed" - - # fix manpage install path - sed -i -e 's:man/:share/&:' setup.py || die - - distutils-r1_python_prepare_all -} - -python_compile() { - local add_targets=() - - if use test; then - add_targets+=( egg_info ) - python_is_python3 && add_targets+=( build_tests ) - fi - - distutils-r1_python_compile "${add_targets[@]}" -} - -python_test() { - "${EPYTHON}" selftest.py -v || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/nose/nose-1.3.7-r9.ebuild b/dev-python/nose/nose-1.3.7-r9.ebuild new file mode 100644 index 000000000000..13a7ab23bca7 --- /dev/null +++ b/dev-python/nose/nose-1.3.7-r9.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_REQ_USE="threads(+)" +inherit distutils-r1 + +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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~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=" +