mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/zope-interface: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST zope_interface-8.2.tar.gz 254019 BLAKE2B 695eb63188d45f9f4cc5bf4376a8e63e8189e5c016945471582046bc75f07eb33fadd3a435855d51138b34dbd148044b3e210a55860161dc4f4c1337cc5f475f SHA512 f256c6d4f1edee2d742903a482054bd2c3a5facdfaeb108cb9b467e24ad7140db9efb4a092e08fb43f3f1024097405c3f1d05b6788179176b2dd6bb99f12fcf6
|
||||
DIST zope_interface-8.3.tar.gz 256822 BLAKE2B a5b50388647ec739d2dcd8b19218cdd871baf270e8ec11821f9528b4d808bc1e1080e2c2153b31667c6d8e4ff6dd05e445159797c7402e4aa22dfc817a3cd1a4 SHA512 a8825567a2f617e259a72919b96f544cf4ff7a9a9b9f4fb9ae93d0dee15e9df8490104d320017ed34eeb7c309ce4e8bee0b4d2d8221e9534b2278ad456af3469
|
||||
DIST zope_interface-8.4.tar.gz 257736 BLAKE2B 6dd39e9d345418602b94dfb6516f82e08d2e542df140582c5849ed791f45bb46b36d57b25ca07fd47db52d7d3dd2d9b10d2f2f7b041761bd2ebe8f5a5a7cedcb SHA512 aa72783ed8abc43a482758ab83abc013b372b94cb940dec809b751d44b3fd9d9c0c3b196d7758a7b7adc696d9bce597d76b5116ee880f894a06a72a1e22abbb5
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2026 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_{11..14} pypy3_11 )
|
||||
|
||||
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 ~x64-macos ~x64-solaris"
|
||||
IUSE="+native-extensions test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/zope-event[${PYTHON_USEDEP}]
|
||||
dev-python/zope-testing[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# 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_test() {
|
||||
local -x PURE_PYTHON=0
|
||||
if ! use native-extensions || [[ ${EPYTHON} == pypy3* ]]; then
|
||||
PURE_PYTHON=1
|
||||
fi
|
||||
|
||||
eunittest -s "${BUILD_DIR}/install$(python_get_sitedir)/zope"
|
||||
}
|
||||
Reference in New Issue
Block a user