diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-19 12:11:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-19 12:11:50 +0100 |
commit | fe0961fc9674dd24a017f474a34c1edbbd005965 (patch) | |
tree | dfdf05888e0f5fff9c1faafe6eb0dd5d827b63e5 /dev-python/zope-i18nmessageid | |
parent | bcd00c826070701606b0ccebf46234dfc792d3e9 (diff) |
gentoo auto-resync : 19:09:2024 - 12:11:50
Diffstat (limited to 'dev-python/zope-i18nmessageid')
-rw-r--r-- | dev-python/zope-i18nmessageid/Manifest | 2 | ||||
-rw-r--r-- | dev-python/zope-i18nmessageid/zope-i18nmessageid-7.0.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/zope-i18nmessageid/Manifest b/dev-python/zope-i18nmessageid/Manifest index 576b20db14c3..21478def8db8 100644 --- a/dev-python/zope-i18nmessageid/Manifest +++ b/dev-python/zope-i18nmessageid/Manifest @@ -1,3 +1,5 @@ DIST zope.i18nmessageid-6.1.0.tar.gz 31187 BLAKE2B 1e616fe67d42e686928af298507afd1c5e962b4fcf89269fc69c00726814e51dd49c5a602d9da2153d3c11cb8e80fd4a9dfea354ee413d69a2022fb5479858c3 SHA512 13ca8d6c145ac48217d0f4fae4ae7fa2129a8d37ceeea640dcedca8815587cc9507935f0cc070bf37307cc21269b1a9decd2d18ae1bc79fdb0128f59f7e4b43b +DIST zope_i18nmessageid-7.0.tar.gz 27929 BLAKE2B fbe19aec71001b4779a390cf0fc596e86667e149900cf04eebb4d2b50a3cdad8f1bbd0f81c88e8841534540dacf4fed3ef91a1519d3364b32132c7c5f833f8c1 SHA512 91256e68fab4db59b6220f67ef42e09896f3643bea472218fbeefdea248a52fa018a7e6bef4777b5a02aa878195cc3e51d0408e96fcaef02747de4cb0fc0add6 EBUILD zope-i18nmessageid-6.1.0.ebuild 950 BLAKE2B ecb480ea3093f44606ae11119f6dfb0c51a0386e1484871fdbc5b954996aab5ccd379baf6c8cd56553177a7bd9371f5f4e832ca7d6a51aeb114232104fea01b5 SHA512 0117e729f06ab6a07922b59145cc9fb0283d9329548b830ac6ec2c1eedae85ca45411b156d1cfc572c229fcbebc5d9122fe33d41a03d0c59c52ec4ab21407e50 +EBUILD zope-i18nmessageid-7.0.ebuild 933 BLAKE2B 2d956fa871acc48d6156275764660c58daaa0704d9b7ea1244fc76e2a97f49c1dd7572ffe520fc4e1b6f392d6046b0bd4f26aaa20c96f3226e488bbf2d57620c SHA512 131c89e173e3782d8bc7f106697606422413a87ff420460d1ab5f3ca954d7aeefc53d66134791e922b2aefa2246e9db0ef214affc56b3c085e6552f48d766e11 MISC metadata.xml 488 BLAKE2B 2b413d726016bdcf199974f77972d7800a4d5f169463d9587f9d0563ee94f8f0cdafb9c384c387b7bf9c2f1814807a8ab32fae796275bc51d624133788df44c8 SHA512 3459883a636540739ecea197d7ebd1429dd6e8fb20d0df2337691e1742995edf50dd0fee6340695b6dc493d0d5fd7ea8d3f55277172cd7385df0b057f376fdbb diff --git a/dev-python/zope-i18nmessageid/zope-i18nmessageid-7.0.ebuild b/dev-python/zope-i18nmessageid/zope-i18nmessageid-7.0.ebuild new file mode 100644 index 000000000000..8660dd75daec --- /dev/null +++ b/dev-python/zope-i18nmessageid/zope-i18nmessageid-7.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 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_{10..13} 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 +} |