diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-11-07 06:36:46 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-11-07 06:36:46 +0100 |
commit | 0f247019ad9bbe3e96e83e8df46c07b485e09d8e (patch) | |
tree | 4f0138ca545273455afb2a884c85225b882d17a4 /dev-python/zope-i18nmessageid | |
parent | dev-python/pygit2: Bump to 1.11.0 (diff) | |
download | gentoo-0f247019ad9bbe3e96e83e8df46c07b485e09d8e.tar.gz gentoo-0f247019ad9bbe3e96e83e8df46c07b485e09d8e.tar.bz2 gentoo-0f247019ad9bbe3e96e83e8df46c07b485e09d8e.zip |
dev-python/zope-i18nmessageid: Bump to 5.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-i18nmessageid')
-rw-r--r-- | dev-python/zope-i18nmessageid/Manifest | 1 | ||||
-rw-r--r-- | dev-python/zope-i18nmessageid/zope-i18nmessageid-5.1.0.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/zope-i18nmessageid/Manifest b/dev-python/zope-i18nmessageid/Manifest index 0a3cb3d2c71e..0825c842d99f 100644 --- a/dev-python/zope-i18nmessageid/Manifest +++ b/dev-python/zope-i18nmessageid/Manifest @@ -1 +1,2 @@ +DIST zope-i18nmessageid-5.1.0.gh.tar.gz 28278 BLAKE2B db376b9915b16b17f290ba3e58492bdc9f89e6ef066b981967f8f39a9734e9ff0d8338099450bdaa362f6404b589452070cf7bf036a643852df7a0abd886a6bc SHA512 4a60c37d10b0593cadc7885ef92ea106b8bf1c89df20388ec657859f95fe19d5c282bf8cd86c6e04ec267b4c826226f0f43e4f1d11883c29dbf4b024075e74dc DIST zope.i18nmessageid-5.0.1.tar.gz 28217 BLAKE2B 67e31a18daa8c2d5ccc16b173d37188fc6154cc75b1fd7cd908d6ee3ebeca0092316546587103f01aa6b39d074aaa207bec86401c4d50f664efba179191c9719 SHA512 31af16581d59ce1b7d5d8fd86c715c56b84aee9a7a0756bb2b7ceac6db30903acc5fdff85d844c0250c0a112cb45ab03be2f56d3d4ca6165272ff76c09d40d8c diff --git a/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.1.0.ebuild b/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.1.0.ebuild new file mode 100644 index 000000000000..9f8fe11f4a63 --- /dev/null +++ b/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.1.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +MY_P=${P/-/.} +DESCRIPTION="Zope support for i18nmessageid (tagging source of i18n strings)" +HOMEPAGE=" + https://pypi.org/project/zope.i18nmessageid/ + https://github.com/zopefoundation/zope.i18nmessageid/ +" +SRC_URI=" + https://github.com/zopefoundation/zope.i18nmessageid/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + !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 +} |