diff options
author | Zamarin Arthur <arthurzam@gmail.com> | 2019-11-13 12:27:38 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-11-30 09:28:00 +0100 |
commit | 95b6d5f369cfc998e54f678786bf68f62e509ea6 (patch) | |
tree | 5f37f03bd36a719ba1394fb7aab0ad2bd0bbf301 /dev-python/zope-exceptions | |
parent | dev-python/zope-interface: bump v4.7.1, EAPI=7 (diff) | |
download | gentoo-95b6d5f369cfc998e54f678786bf68f62e509ea6.tar.gz gentoo-95b6d5f369cfc998e54f678786bf68f62e509ea6.tar.bz2 gentoo-95b6d5f369cfc998e54f678786bf68f62e509ea6.zip |
dev-python/zope-exceptions: bump v4.3, EAPI=7
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-exceptions')
-rw-r--r-- | dev-python/zope-exceptions/Manifest | 1 | ||||
-rw-r--r-- | dev-python/zope-exceptions/zope-exceptions-4.3.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest index 4de2a948e94f..dc76e3266ec7 100644 --- a/dev-python/zope-exceptions/Manifest +++ b/dev-python/zope-exceptions/Manifest @@ -1 +1,2 @@ DIST zope.exceptions-4.1.0.tar.gz 26605 BLAKE2B c57ed6536e4e2eee973864b2cff4e5559f7a184c49714ca5b8b6c7c5bf56aa0e4580d149a9dfe0607ba8b1738e88f05b65c145ccdeb20ef82826be2009eaca05 SHA512 7491a0558a999d6907d2d1adb33086ef047dd4fc5d39709da628a94ee11f5afaec4b2cb456c19b16595cfaf46cc0d25fb847196d331c9d9c80d2ba3a582b415f +DIST zope.exceptions-4.3.tar.gz 30704 BLAKE2B aa5319c8f9b3555038809f8209d121b4a8944a9df1c683302749c12e1e5097139047583b1f033e6530005232fadc326aed7da64fa585b749ec50cd22cb3411a5 SHA512 348c8edb0246bb2035ca5c1bcfaca7d3be2525157e2c9267a59a061c8ba749b364428e3d6a3aa3f967306abd0a319e4d6fa935b7fc35fff3bb53960015505695 diff --git a/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild new file mode 100644 index 000000000000..3a2d52809d5d --- /dev/null +++ b/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild @@ -0,0 +1,34 @@ +# 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="General purpose exceptions for Zope packages" +HOMEPAGE="https://pypi.org/project/zope.exceptions/ https://github.com/zopefoundation/zope.exceptions" +SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}]" +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/zope-testrunner[${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 +} |