diff options
Diffstat (limited to 'dev-python/zope-interface')
-rw-r--r-- | dev-python/zope-interface/Manifest | 2 | ||||
-rw-r--r-- | dev-python/zope-interface/zope-interface-7.1.0.ebuild | 47 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/zope-interface/Manifest b/dev-python/zope-interface/Manifest index 4a315278e80a..86b5a872b4f8 100644 --- a/dev-python/zope-interface/Manifest +++ b/dev-python/zope-interface/Manifest @@ -1,5 +1,7 @@ DIST zope.interface-6.4.post2.tar.gz 294539 BLAKE2B c6d892357e2ead04841cc5dde924b560e0cd968d84c607e3d1d2ebd804c2d1fbc764a721e8182ffd373a6339967b5230153e3e4934359028e98a0ad4e26c92a9 SHA512 da53c2136a6057de49374a428e855ad731288e45f27787d255073adb188680cb46a7b493258da01d6bbce5d7c7181306b64eb90609520aab361ac07dfba00d4b DIST zope.interface-7.0.3.tar.gz 252504 BLAKE2B 958605f010f7d282c8850160322bcc8ae4343508ff56d4ae2547815ac5dee76b39d9f7296402d1ccb9d410c64eabf5001be3df59d3768f9a400eaf0f4c94f1ad SHA512 fd086290943b6748b451ea0d375cd9d11a94a1d13c734cbd2834b062600400b5f7381e2b00fcdf6abbaaabf1abf687d15d44e81dd6967c39cbd19f9833b6c4dc +DIST zope_interface-7.1.0.tar.gz 300239 BLAKE2B 2e4bd67cc58ca1db399af86d054471fbc614ad3f85f9b8b3eec70d1481315ac54c0dd856e7ed893894e2f171bfe42e2399b7036fb1e0765060372cea95f5d47a SHA512 a73abcb21f7341d63f81b69001bfdbada9f347a4918a243481bfc415052a8e6b9fd8cc3c754d5be8ac2dcd472ceca806a44f27873877610d45457a8bdf33a169 EBUILD zope-interface-6.4_p2.ebuild 1113 BLAKE2B 31dbdd9168a809857d798995f9a3d3825472675561ce31d831bef275e085e28dec41a0611fddf4247ffb808d3154ce8b5e81086ef1aad0c850cddec1a1e9f55c SHA512 b04a4177d0368d06ec5cadcab679e5f0a4f6649d7817f412f9be235db570a385455295109a1019c83ae95cad9bccc2ef54946feab42215f613391e3ea7053482 EBUILD zope-interface-7.0.3.ebuild 1074 BLAKE2B 15e6e5ca083622baa06d0f515d8d649e819efc4f97120f058cfca4dbf866b917fa30657974f8f5684dd6ff8daae15651b547990904fd9c9f73cb114411775972 SHA512 2bf665cf453623c05edf9854b17600969ec13b5e5f81cb422857ce6f5296d202a3c6c0a205ce8565bf85c881666712d1ab16dedd01b8413612fa7a566ca6daa5 +EBUILD zope-interface-7.1.0.ebuild 1061 BLAKE2B 19eed8d8903105d8179b887ceb2f0185ca91ad5bd99d557b9fdb970dfc80031c1e810ffcab0d8f4cea2ced60a1f4aac35bad98ab4f9491d66d472ca55ce72889 SHA512 1d45b390864567be0d0ea4e0a935a5cd23cac94f399fbb7193d9b534f253b99a50eac69ab9d4413e7803f19c62d8eec60f0b67bc39785f9b3120d57258433ef5 MISC metadata.xml 387 BLAKE2B 1d5e2a8f2fcd2c8fcb423f8a123d2d17a0456cd4003489358abd8baf74d3ea9ddfa04af94b9ef67b329520b5ee9bc3084343e824f3fbf7420f14372d43581dbc SHA512 258f0bd291cd42f6374bd331c3b906f149ff455dd264716eefc63487710d95f8b388ecb34be5733dbd7a0e185f449cc18fce04b46521a2d19fd9766e7dc0ed82 diff --git a/dev-python/zope-interface/zope-interface-7.1.0.ebuild b/dev-python/zope-interface/zope-interface-7.1.0.ebuild new file mode 100644 index 000000000000..c10bb1258236 --- /dev/null +++ b/dev-python/zope-interface/zope-interface-7.1.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Interfaces for Python" +HOMEPAGE=" + https://github.com/zopefoundation/zope.interface/ + https://pypi.org/project/zope.interface/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +BDEPEND=" + test? ( + dev-python/zope-event[${PYTHON_USEDEP}] + dev-python/zope-testing[${PYTHON_USEDEP}] + ) +" + +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 +} |