summaryrefslogtreecommitdiff
path: root/dev-python/zope-interface
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/zope-interface')
-rw-r--r--dev-python/zope-interface/Manifest2
-rw-r--r--dev-python/zope-interface/zope-interface-7.1.0.ebuild9
2 files changed, 10 insertions, 1 deletions
diff --git a/dev-python/zope-interface/Manifest b/dev-python/zope-interface/Manifest
index 17c362ce0000..8f6be3146345 100644
--- a/dev-python/zope-interface/Manifest
+++ b/dev-python/zope-interface/Manifest
@@ -3,5 +3,5 @@ DIST zope.interface-7.0.3.tar.gz 252504 BLAKE2B 958605f010f7d282c8850160322bcc8a
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 1149 BLAKE2B 53aa44677a3f9ee23677b9cc32067849fcadac33e00e06230b634d3a4423890257f13c55fcb0557a8faf41205e636799092c54a356cdf271730b66ae1cce0ad5 SHA512 fff2aac97b92c34e4d1aec795bc86055d793066341f2357934c6ce483ab1ac7b0495fab16a2393dd9c67325eb74a2195faaa09475de1e27af447719d7424ff41
+EBUILD zope-interface-7.1.0.ebuild 1367 BLAKE2B bcdc66592f126900c24644f3e54dcdf9acdc80c5faa5233b840ab8cfa6562cc61595beebcd21f6bc2c727b90a8f54be3abdf24e1c27141e470b597ff6db4aeae SHA512 1dcd7b20e43ec700c40e8f12312ec5a27e56bf7fc41ff3e92bebd94c9037ef3ad640144c4f554d1637dad19a20e0729d581c28b7ae329d37dafbe506f5f6d217
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
index 89fda95e3a95..9ed42172d167 100644
--- a/dev-python/zope-interface/zope-interface-7.1.0.ebuild
+++ b/dev-python/zope-interface/zope-interface-7.1.0.ebuild
@@ -19,6 +19,7 @@ HOMEPAGE="
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"
+IUSE="+native-extensions"
BDEPEND="
test? (
@@ -36,6 +37,9 @@ src_prepare() {
sed -i -e "/'setuptools'/d" setup.py || die
# force failure if extension build fails
sed -i -e "/'build_ext':/d" setup.py || die
+ if ! use native-extensions; then
+ sed -i -e '/ext_modules=/d' setup.py || die
+ fi
}
python_compile() {
@@ -44,6 +48,11 @@ python_compile() {
}
python_test() {
+ local -x PURE_PYTHON=0
+ if ! use native-extensions || [[ ${EPYTHON} == pypy3 ]]; then
+ PURE_PYTHON=1
+ fi
+
cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
distutils_write_namespace zope
eunittest