diff options
author | Zamarin Arthur <arthurzam@gmail.com> | 2019-11-13 12:22:24 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-11-30 09:28:02 +0100 |
commit | aa8119f7057dea4d1ab6c3bf2abb715659941d98 (patch) | |
tree | d34ea941f0ad1939af91b7944636b86d7f58542a /dev-python/zope-testrunner | |
parent | dev-python/zope-exceptions: Fix MissingTestRestrict (diff) | |
download | gentoo-aa8119f7057dea4d1ab6c3bf2abb715659941d98.tar.gz gentoo-aa8119f7057dea4d1ab6c3bf2abb715659941d98.tar.bz2 gentoo-aa8119f7057dea4d1ab6c3bf2abb715659941d98.zip |
dev-python/zope-testrunner: bump v5.1, EAPI=7
add python3_7, python3_8
use distutils_enable_tests for tests
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Zamarin Arthur <arthurzam@gmail.com>
Signed-off-by: Michał Górny <mgorny@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.1.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/zope-testrunner/Manifest b/dev-python/zope-testrunner/Manifest index eac35f42bde1..f412e799d311 100644 --- a/dev-python/zope-testrunner/Manifest +++ b/dev-python/zope-testrunner/Manifest @@ -1 +1,2 @@ DIST zope.testrunner-4.7.0.zip 260508 BLAKE2B 5ff63debf8119aff46a8c3ee72a4431815b37de80922cb5b8e4a318cb99200acf7dd6181b15a8233ed879f312997aab68a3439dab3dbc737093cde1ae48d619e SHA512 edda96e6871d954bb1f46ca18e2de9d1726d68cb3787f080b3b858c4dbdc2ceeb809962d178350a354e16c04711a89b2c6d1f663f256e1f72c15a7c494e51d32 +DIST zope.testrunner-5.1.tar.gz 140679 BLAKE2B 4044b9c77bbda6610b803fbc91cb7bb4d1aaeeb041c32cb91ecd05e05d75a685cd4b6d4531fdcb74380e6ce3fc40f32d21f71ad346491667458a165a90e3a401 SHA512 685d1e1512bd85a00c34f4f89ca1e0f8d1f0939de7b25db0cb43da44e5e41e735e1e9a5ccf2a89b959d7d5f074da71dfe0fd931bd62082159ec65c0b53cd38c1 diff --git a/dev-python/zope-testrunner/zope-testrunner-5.1.ebuild b/dev-python/zope-testrunner/zope-testrunner-5.1.ebuild new file mode 100644 index 000000000000..40796ed4ea33 --- /dev/null +++ b/dev-python/zope-testrunner/zope-testrunner-5.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) +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" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/zope-exceptions[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}]" +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/zope-testing[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +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 +} |