dev-python/zope-i18nmessageid: Bump to 6.0.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-03-24 13:28:01 +01:00
parent 2d06cd60fb
commit b79d4eceb0
2 changed files with 45 additions and 0 deletions
+1
View File
@@ -1,2 +1,3 @@
DIST zope.i18nmessageid-5.1.1.tar.gz 30589 BLAKE2B aa87ecc7b757c2f3ff877ea908df102477b5f888067a6bf98aab6467adaf7baa713c5b413f528cc0010b4082d03b48d069537dbf223713ed914982eb8f040433 SHA512 4762dc67d4b665ede25eaaeae1458257fef994207a887f128fb5c64685bcde08bc17e24890cf36a14febb57295813c9152f14aeea854493e4197702bb4e3d719
DIST zope.i18nmessageid-6.0.0.tar.gz 27791 BLAKE2B 3589c46c0405f21e50df3eae1bc3aaabccd88d16cbc696634e31dffa866910965d050aef50534d9a04799d918830e78e8b977162409d7862e72e17eed4740c15 SHA512 415cf30bc571032719e39c4fdf12f3d8e877b975774a87fea22ff0577d83e4b1582c0af9744514b46253ffee04c4599c02803798cef2b514e8111c7eea17e34a
DIST zope.i18nmessageid-6.0.1.tar.gz 27797 BLAKE2B bab5af18f9bec8a41b633bcd4081381dbda37b71eef32153e6889ca4b7760503f1ac2c8749b508213629505904e85166ea17d1898a5c50d5bcd55ae4a714c2a6 SHA512 8b50df352e7c53ce88c7adbc0eb1155b198ea0b200b411324819ffd59517a403f0be78746c76a7018e61e6272cdc1be1b623dcab1db28dafa3abf2a714623a4b
@@ -0,0 +1,44 @@
# Copyright 1999-2023 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_{9..11} pypy3 )
inherit distutils-r1 pypi
DESCRIPTION="Zope support for i18nmessageid (tagging source of i18n strings)"
HOMEPAGE="
https://pypi.org/project/zope.i18nmessageid/
https://github.com/zopefoundation/zope.i18nmessageid/
"
LICENSE="ZPL"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~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
}