From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-python/zope-testrunner/Manifest | 3 ++ dev-python/zope-testrunner/metadata.xml | 12 ++++++ .../zope-testrunner/zope-testrunner-4.7.0.ebuild | 44 ++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 dev-python/zope-testrunner/Manifest create mode 100644 dev-python/zope-testrunner/metadata.xml create mode 100644 dev-python/zope-testrunner/zope-testrunner-4.7.0.ebuild (limited to 'dev-python/zope-testrunner') diff --git a/dev-python/zope-testrunner/Manifest b/dev-python/zope-testrunner/Manifest new file mode 100644 index 000000000000..553bbaeaca2b --- /dev/null +++ b/dev-python/zope-testrunner/Manifest @@ -0,0 +1,3 @@ +DIST zope.testrunner-4.7.0.zip 260508 BLAKE2B 5ff63debf8119aff46a8c3ee72a4431815b37de80922cb5b8e4a318cb99200acf7dd6181b15a8233ed879f312997aab68a3439dab3dbc737093cde1ae48d619e SHA512 edda96e6871d954bb1f46ca18e2de9d1726d68cb3787f080b3b858c4dbdc2ceeb809962d178350a354e16c04711a89b2c6d1f663f256e1f72c15a7c494e51d32 +EBUILD zope-testrunner-4.7.0.ebuild 1119 BLAKE2B 61d9a742b40311f3dc291c2d0f0fabb5d110ff890fb0e561c68f63bb5d34ed74a59e7cd4de43602f63abab864ee69d9ba9a5e2a01309ec390bbead288638d082 SHA512 e3998dfbc04d7bcbada0f6bd92be066ff028f14fc3af320a0f442c528204f92bad1e6fd06cd93b2623d2963e00b801dd01131dac7f5873e4e74db24f9383158e +MISC metadata.xml 388 BLAKE2B 7e19b9134023bf0117cb60760a8579041f1627be3c018be3cad9dfb69d38cc269b1a44350f79a8b282b0ad7035b0328dcaea341a84b09a0a828175d5ee68bac0 SHA512 a6f78bea0ba1c56a15e520c58411503dc976224e7fbf5cc263477f37d5744da29ea3cd4a52c317753a3b68d5efc60e4b3ef8199f9922484ae8b916ff67bd2a32 diff --git a/dev-python/zope-testrunner/metadata.xml b/dev-python/zope-testrunner/metadata.xml new file mode 100644 index 000000000000..52b412165e06 --- /dev/null +++ b/dev-python/zope-testrunner/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + Python + + + zope.testrunner + zopefoundation/zope.testrunner + + diff --git a/dev-python/zope-testrunner/zope-testrunner-4.7.0.ebuild b/dev-python/zope-testrunner/zope-testrunner-4.7.0.ebuild new file mode 100644 index 000000000000..b1fea5b1b556 --- /dev/null +++ b/dev-python/zope-testrunner/zope-testrunner-4.7.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} 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}.zip" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +# TODO: extras? +RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/zope-exceptions[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + app-arch/unzip + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/zope-testing[${PYTHON_USEDEP}] )" + +S=${WORKDIR}/${MY_P} + +python_test() { + # some tests rely on .pyc files being present + local -x PYTHONDONTWRITEBYTECODE= + esetup.py test +} + +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 +} -- cgit v1.2.3