diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-17 11:37:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-17 11:37:14 +0000 |
commit | f8deb4f754798d63fb6b82178452ee846df8475f (patch) | |
tree | 8f187327b54a42741f986268292e3096aadc4019 /dev-python/zope-interface | |
parent | c4a46526c2232ba00b0ccc97f2d2a30b0c6baea5 (diff) |
gentoo auto-resync : 17:02:2024 - 11:37:14
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-6.2.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/zope-interface/Manifest b/dev-python/zope-interface/Manifest index a9055929c2a1..9f36b69f5add 100644 --- a/dev-python/zope-interface/Manifest +++ b/dev-python/zope-interface/Manifest @@ -1,3 +1,5 @@ DIST zope.interface-6.1.tar.gz 293914 BLAKE2B e0285c381bbd241be24aef60a59a70d268852dd99113e890d67f6e371792d2c8d19b3bf42d60b04f2a94259c144ec191c1baaca171ece1adf49d0558574152cc SHA512 04305eaf98fb40269d417c6894a6e154340669b66033c50e130d58bf6166cabc0a8979e1ba80dda47cb2bc508dde01ea2175628f89cbfd44cc2f59ac3cdce2c0 +DIST zope.interface-6.2.tar.gz 247528 BLAKE2B 4112579da95e763bb5feca7fc8845896178afd5e3fb181a5945de80cf579d0c66373e9ee9cbff97964f79750908b5e4650316b3df1cef16a267c3625268cec46 SHA512 42c169ba88e0e4fe7895f0956250ddb5f3e9aef3e73a801ef71b0e94f906e9f597008de16955a7a8a5ca59551b800e6f000c70ffb3f486a7cbb7bf9caa00059d EBUILD zope-interface-6.1.ebuild 1119 BLAKE2B 2a9ef2d8609edaa8ced0b37d64e4c028f0c84add443626fb9418f42170a287f34dab1977a5e337ff5e8fd4155e2938f8134cd55be4e601cc6868899fdb5b51df SHA512 76ccbca246fc02bc7e9014bb02d7a1c3f033af9316a131a8cc40ff8fb28082b817fb899a5f2c314bd19bcd40b974351c912fa5a86679211045bf0fe8ba7237fa +EBUILD zope-interface-6.2.ebuild 1127 BLAKE2B 36c745595c5628e211e43d2d35362a50736d2391cfb5c12ef68e047482e1e4f5fc2bc0f578220abee657ce9732d45ba75ea48db808e649380744bd920824250b SHA512 f27047ffe3c78c7990e37ce846d2c771f6bbaee38e489dd9a308fdaa9d6b0c4ee0a7cbc49eeb7b052d0b0de985e7a7d179ba27246e3f0a27a1fc9a8596256564 MISC metadata.xml 387 BLAKE2B 1d5e2a8f2fcd2c8fcb423f8a123d2d17a0456cd4003489358abd8baf74d3ea9ddfa04af94b9ef67b329520b5ee9bc3084343e824f3fbf7420f14372d43581dbc SHA512 258f0bd291cd42f6374bd331c3b906f149ff455dd264716eefc63487710d95f8b388ecb34be5733dbd7a0e185f449cc18fce04b46521a2d19fd9766e7dc0ed82 diff --git a/dev-python/zope-interface/zope-interface-6.2.ebuild b/dev-python/zope-interface/zope-interface-6.2.ebuild new file mode 100644 index 000000000000..f53d77341852 --- /dev/null +++ b/dev-python/zope-interface/zope-interface-6.2.ebuild @@ -0,0 +1,51 @@ +# 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_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..12} 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 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + !dev-python/namespace-zope +" +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 +} |