diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-11-04 07:52:24 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-11-04 10:23:14 +0200 |
commit | 4a2a3f2f9d4f14077935e86a17fcbc052c7c41f3 (patch) | |
tree | 6013084c1fb9909daab81846ecb111e375b3d7ad /dev-python/zope-interface | |
parent | dev-python/google-auth-oauthlib: add 0.7.1 (diff) | |
download | gentoo-4a2a3f2f9d4f14077935e86a17fcbc052c7c41f3.tar.gz gentoo-4a2a3f2f9d4f14077935e86a17fcbc052c7c41f3.tar.bz2 gentoo-4a2a3f2f9d4f14077935e86a17fcbc052c7c41f3.zip |
dev-python/zope-interface: add 5.5.1
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/zope-interface')
-rw-r--r-- | dev-python/zope-interface/Manifest | 1 | ||||
-rw-r--r-- | dev-python/zope-interface/zope-interface-5.5.1.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/zope-interface/Manifest b/dev-python/zope-interface/Manifest index 6b44c36555cb..421b819df038 100644 --- a/dev-python/zope-interface/Manifest +++ b/dev-python/zope-interface/Manifest @@ -1,2 +1,3 @@ DIST zope.interface-5.4.0.tar.gz 249329 BLAKE2B 3a35ce6ff2a9984ed865cfb3bc3371e8069eb416d11bddbc56e27db4d76762fb1b87d295b51258ec006fddcbb38a8752b47a2d7874c0c8a959ca78101eae2750 SHA512 ef15d63397e05ad9fc44b2d5d786b0399b6973bb5f4866fab839ff612756f3157f2099d0f5c0469b574a5c8b5920a7c2a5c6eab8e8f84c24d5c43e816669bffe DIST zope.interface-5.5.0.tar.gz 253292 BLAKE2B 2c3e48aeff7124a50b834792774596bd3ed793146be7335a0b3abbaf0e1861d84668421b9098cf4f8986d17f8f148a7b30b929ea73b5d344e5d63d44270b2a99 SHA512 ab74a55a90c17b1aed55f1d6e24365321ebbca5943557be7731af99d7436f18f4d0a4c53c0c26c29c0379ce72ef0c2babccaa9cad5aec843bc533ff19fdbe6d9 +DIST zope.interface-5.5.1.tar.gz 300064 BLAKE2B a40de949efc269e3b942eaa6bd5006afc253487149ef22fd1d070eb15535ad755a34cd3e3ab053652cbd1117aef92fe79e8de683491c8e8eaa41e4da8b9b12bd SHA512 e5d73a78a8d9960cf8f24a7603175b0ebe0f2a3695536cdcecb5f78a6ee118aaa8fdf26c70d08a9d17f70e9b89024c260c732e2f9c9153ab960f3175fc10b9df diff --git a/dev-python/zope-interface/zope-interface-5.5.1.ebuild b/dev-python/zope-interface/zope-interface-5.5.1.ebuild new file mode 100644 index 000000000000..6a87c71f939f --- /dev/null +++ b/dev-python/zope-interface/zope-interface-5.5.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Interfaces for Python" +HOMEPAGE=" + https://github.com/zopefoundation/zope.interface/ + https://pypi.org/project/zope.interface/ +" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + !dev-python/namespace-zope +" +BDEPEND=" + test? ( + dev-python/zope-event[${PYTHON_USEDEP}] + dev-python/zope-testing[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/5.1.0-drop-coverage.patch +) + +distutils_enable_tests unittest + +src_prepare() { + # strip rdep specific to namespaces + sed -e "/'setuptools'/d" -i setup.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + distutils_write_namespace zope + eunittest +} |