diff options
author | Sam James <sam@gentoo.org> | 2020-08-16 06:36:13 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-08-18 14:58:56 +0000 |
commit | bc22f8b42150487f57e1e10f51ea10dd5a97ac86 (patch) | |
tree | 9e5e8428eddb797c6d2ae851adb1a6602c12d477 /dev-python/zope-testrunner | |
parent | dev-python/zope-exceptions: bump to 4.4 (diff) | |
download | gentoo-bc22f8b42150487f57e1e10f51ea10dd5a97ac86.tar.gz gentoo-bc22f8b42150487f57e1e10f51ea10dd5a97ac86.tar.bz2 gentoo-bc22f8b42150487f57e1e10f51ea10dd5a97ac86.zip |
dev-python/zope-testrunner: bump to 5.2
Gives us Python 3.8 support and tests pass on 3.9.
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/zope-testrunner')
-rw-r--r-- | dev-python/zope-testrunner/Manifest | 1 | ||||
-rw-r--r-- | dev-python/zope-testrunner/zope-testrunner-5.2.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/zope-testrunner/Manifest b/dev-python/zope-testrunner/Manifest index 79445bfac6ba..93fd5048255f 100644 --- a/dev-python/zope-testrunner/Manifest +++ b/dev-python/zope-testrunner/Manifest @@ -1 +1,2 @@ DIST zope.testrunner-5.1.tar.gz 140679 BLAKE2B 4044b9c77bbda6610b803fbc91cb7bb4d1aaeeb041c32cb91ecd05e05d75a685cd4b6d4531fdcb74380e6ce3fc40f32d21f71ad346491667458a165a90e3a401 SHA512 685d1e1512bd85a00c34f4f89ca1e0f8d1f0939de7b25db0cb43da44e5e41e735e1e9a5ccf2a89b959d7d5f074da71dfe0fd931bd62082159ec65c0b53cd38c1 +DIST zope.testrunner-5.2.tar.gz 141836 BLAKE2B 4a29a2377ece929658afbcf279f51cee445db46432d3ff15be43cb4c1d58b4b809b9077905aeeb5c970cda98bd867258091afe58b525a1716faa2c83e6502ea8 SHA512 8b5bb942f3ca42b6fa4de7db5b7149562aa1047128bbd3498a385f8537335cb0cab1a10934faedcd0a1492a14d57accdeefcb95a57d827ad80fff4e20ffd26ef diff --git a/dev-python/zope-testrunner/zope-testrunner-5.2.ebuild b/dev-python/zope-testrunner/zope-testrunner-5.2.ebuild new file mode 100644 index 000000000000..03b68324827e --- /dev/null +++ b/dev-python/zope-testrunner/zope-testrunner-5.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Zope testrunner script" +HOMEPAGE="https://pypi.org/project/zope.testrunner/ https://github.com/zopefoundation/zope.testrunner" +SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +BDEPEND="test? ( dev-python/zope-testing[${PYTHON_USEDEP}] )" +RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/zope-exceptions[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}]" + +distutils_enable_tests setup.py + +python_install_all() { + distutils-r1_python_install_all + + # remove .pth files since dev-python/namespace-zope handles the ns + find "${D}" -name '*.pth' -delete || die +} |