diff options
Diffstat (limited to 'dev-python/nose')
-rw-r--r-- | dev-python/nose/Manifest | 3 | ||||
-rw-r--r-- | dev-python/nose/nose-1.3.7-r3.ebuild | 98 | ||||
-rw-r--r-- | dev-python/nose/nose-1.3.7-r4.ebuild | 16 |
3 files changed, 7 insertions, 110 deletions
diff --git a/dev-python/nose/Manifest b/dev-python/nose/Manifest index eb6064641094..15ea0b365bd5 100644 --- a/dev-python/nose/Manifest +++ b/dev-python/nose/Manifest @@ -2,6 +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-r3.ebuild 2764 BLAKE2B 5336eb1c51d1b04fac45645008401e4903af02d82292d9b905894b80f3b5496b1bebdb5c6725caab5d37c100838b9aef75583274b0038c1429d46e7578bd092c SHA512 57a6eb071cd40c1459278d2aadfbb64af093f58c55f810316eb344797016dbcba4ed1a83e514e1cf7e9c7b381ec419e17c7b21deb1ed1f69d580244cfc3baac2 -EBUILD nose-1.3.7-r4.ebuild 2981 BLAKE2B 389e3dda09e4f3bbf0e74750ba90f255355a4ef04abff50d893b678450534b69a2ae1e0c776338b63201c37514f221f987947c464a23739f8163339c4643abb0 SHA512 aab57e3eec5b480b49880811cde228b109ec665f0f137b193187d1214c4a2a205e92f2ab6a3c748844ea1a3567bf89cce8460997b383b77c50c57912ff33c05c +EBUILD nose-1.3.7-r4.ebuild 2754 BLAKE2B bc9e919d0d26294c71b1a43742adfda81fc2b6ece70964aa39d577fcac86deb239a8b4a1e050406de3e0249fbb2e11bec8c33c3b4a3211f293aa19a1b377656e SHA512 8c8eb1edd7a4b1f802eb69d876b99be45d075d978b403b7e465fa86c64eeedf6836216c39800268021df8e6dc2a3a59cc35bdf21ab39532cc0d83d0ef584d31d MISC metadata.xml 499 BLAKE2B 9d6ffb5484f11c5f4c46e0013d4e93d01afef48339e83f4e4fb7d86776267256b30da1aba61c2609e5163abd012a57bc820ab77ad79577e748b56f7e8c327cee SHA512 c037d0a22b7bc9f61c10d8223932f2ebdaab4d9ac538dff56ab7e6fa263734992e8834cf739b7d787cd1243af5a9ccfccb81c2c0e4d2e8889498a707c96bd44e diff --git a/dev-python/nose/nose-1.3.7-r3.ebuild b/dev-python/nose/nose-1.3.7-r3.ebuild deleted file mode 100644 index ba71a3981d5f..000000000000 --- a/dev-python/nose/nose-1.3.7-r3.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{6,7} 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 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - doc? ( || ( $(python_gen_useflags 'python2*') ) )" - -RDEPEND=" - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - doc? ( >=dev-python/sphinx-0.6[${PYTHON_USEDEP}] ) - test? ( || ( $(python_gen_cond_dep 'dev-python/twisted[${PYTHON_USEDEP}]' python2_7 python3_{5,6}) - $(python_gen_cond_dep 'dev-python/twisted-core[${PYTHON_USEDEP}]' python2_7) - ) )" - -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 -) - -pkg_setup() { - use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' ) -} - -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" - - # Prevent un-needed d'loading during doc build - sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/conf.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_compile_all() { - use doc && emake -C doc html -} - -python_test() { - "${PYTHON}" selftest.py -v || die "Tests fail with ${EPYTHON}" -} - -python_install() { - distutils-r1_python_install --install-data "${EPREFIX}/usr/share" -} - -python_install_all() { - use examples && dodoc -r examples - use doc && HTML_DOCS=( doc/.build/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/nose/nose-1.3.7-r4.ebuild b/dev-python/nose/nose-1.3.7-r4.ebuild index 8ed147691b2a..7649fc0c8b2d 100644 --- a/dev-python/nose/nose-1.3.7-r4.ebuild +++ b/dev-python/nose/nose-1.3.7-r4.ebuild @@ -18,26 +18,22 @@ 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 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="coverage doc examples test" RESTRICT="!test? ( test )" -COVERAGE_IMPLS=( -2 python3_{5,6,7} pypy3 ) REQUIRED_USE=" - coverage? ( || ( $(python_gen_useflags "${COVERAGE_IMPLS[@]}") ) ) doc? ( || ( $(python_gen_useflags 'python2*') ) )" RDEPEND=" - coverage? ( - $(python_gen_cond_dep 'dev-python/coverage[${PYTHON_USEDEP}]' \ - "${COVERAGE_IMPLS[@]}") - )" + coverage? ( dev-python/coverage[${PYTHON_USEDEP}] )" DEPEND="${RDEPEND} doc? ( >=dev-python/sphinx-0.6[$(python_gen_usedep 'python2*')] ) test? ( - $(python_gen_cond_dep 'dev-python/coverage[${PYTHON_USEDEP}]' \ - "${COVERAGE_IMPLS[@]}") - $(python_gen_cond_dep 'dev-python/twisted[${PYTHON_USEDEP}]' python2_7 python3_{5,6}) + dev-python/coverage[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/twisted[${PYTHON_USEDEP}] + ' python2_7 python3_{6,7}) )" PATCHES=( |