dev-python/zope-deprecation: Bump to 6.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-09-13 08:32:38 +02:00
parent 8286eb951f
commit 19e22708fa
2 changed files with 35 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST zope_deprecation-5.1.tar.gz 24453 BLAKE2B 4dc7d9639a998ba11de839145bf4fb11d3b34de29c756c87de98b833ced4a6f2de4024d7b52a4f8c9ab225bf9c459ae79656d2073b9c76a38d9d8d1397aa06e2 SHA512 77b32d3456c5456ffc36eec936b176cdec365fd4561dd2ac06c3222dd4360ef6339ba34601abb29e273eabc3562b6bcdac5627c35b8b95f083015ba118be7979
DIST zope_deprecation-6.0.tar.gz 24480 BLAKE2B e4b87c91364db229e5bcf78331c6e9c41a9b74067895d7e0ac679768863e3699d6a7111b877e054fdd2f68040a6c64c12871150a3ee5c664d6d3637cde8c302f SHA512 4a48d689c7a4f5950bfd8d80a4fc11aa9958a3558cf7f21a132155d7f10ca95fab77ca7bf51feb0f0f439a86a7c78bc6f6521eae5d5ef4cf540b31e51437f3ca

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_PN=${PN/-/.}
PYTHON_COMPAT=( python3_{11..14} python3_{13..14}t pypy3_11 )
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"
distutils_enable_tests unittest
src_prepare() {
distutils-r1_src_prepare
# strip rdep specific to namespaces
sed -i -e "s:'setuptools',::" setup.py || die
}
python_test() {
distutils_write_namespace zope
eunittest -s "${BUILD_DIR}/install$(python_get_sitedir)"
}