mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/zope-deprecation: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST zope.deprecation-5.0.tar.gz 23353 BLAKE2B 9b98291fe252942a8235c70c0a13bfbaf2cb3091e1502099f8a0651b517e748645cbda957f92c790c4d4f2b6ed7324cd5e21bae9d2906f2943e507376a980d76 SHA512 11313626e4141c2f92805c7c533b32160f88bf45667cd5a53a867daad3172947e5ac80433893c515243276030400a8a8e3d3a623ea51cb2b15bd5a5a0927bc46
|
||||
DIST zope_deprecation-5.1.tar.gz 24453 BLAKE2B 4dc7d9639a998ba11de839145bf4fb11d3b34de29c756c87de98b833ced4a6f2de4024d7b52a4f8c9ab225bf9c459ae79656d2073b9c76a38d9d8d1397aa06e2 SHA512 77b32d3456c5456ffc36eec936b176cdec365fd4561dd2ac06c3222dd4360ef6339ba34601abb29e273eabc3562b6bcdac5627c35b8b95f083015ba118be7979
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYPI_PN=${PN/-/.}
|
||||
PYTHON_COMPAT=( python3_{10..13} pypy3 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Zope Deprecation Infrastructure"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/zope.deprecation/
|
||||
https://github.com/zopefoundation/zope.deprecation/
|
||||
"
|
||||
|
||||
LICENSE="ZPL"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
|
||||
RDEPEND="
|
||||
!dev-python/namespace-zope
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_prepare() {
|
||||
# strip rdep specific to namespaces
|
||||
sed -i -e "s:'setuptools',::" 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
|
||||
}
|
||||
Reference in New Issue
Block a user