diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-07 09:21:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-07 09:21:27 +0000 |
commit | 85ba3f2cfe9ff2b952efb1f3c3c08840f8093246 (patch) | |
tree | c8adb7f2695744136c00d176bd0ebd80677049aa /dev-python/zope-i18nmessageid | |
parent | f9c971dedd369d9f45a38f3fae51467e864f5324 (diff) |
gentoo auto-resync : 07:11:2022 - 09:21:27
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-5.1.0.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/zope-i18nmessageid/Manifest b/dev-python/zope-i18nmessageid/Manifest index 3b22400a1f56..8fdf30c86fe1 100644 --- a/dev-python/zope-i18nmessageid/Manifest +++ b/dev-python/zope-i18nmessageid/Manifest @@ -1,3 +1,5 @@ +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 EBUILD zope-i18nmessageid-5.0.1-r2.ebuild 1045 BLAKE2B 141a258330eb1a5e8d3df595149cce4d00284dd7bd13c4bdda0953e534c682854ea09d25add4dd931119f4e6cf39653e30479ae2abeb72264d3cf316a09aa9dd SHA512 f0bef6e95c94d453f9f2e27b59e2bd4e7e4bbebf844c6d1a4095381cb1486b15004942efa386a32c949df3eff27feabad5be6f45d479339d51ac154df831a630 +EBUILD zope-i18nmessageid-5.1.0.ebuild 1070 BLAKE2B fe77a055288568bc5bce46a1d2bd7bcf4749c2283bafbb6a7d34a7e132a32106e9ead577586c101a3110c57e45fb91df5cdbdf059caa4c59481d7ee8303dab55 SHA512 3c5c174124262b56e4ff15b1e4812a63ab33e5ad25d0887619bf3bdbd513344c72ff36531b710c2d4bf905d2bba92e59772440cd85329e0012d90e5eba5b8456 MISC metadata.xml 488 BLAKE2B 2b413d726016bdcf199974f77972d7800a4d5f169463d9587f9d0563ee94f8f0cdafb9c384c387b7bf9c2f1814807a8ab32fae796275bc51d624133788df44c8 SHA512 3459883a636540739ecea197d7ebd1429dd6e8fb20d0df2337691e1742995edf50dd0fee6340695b6dc493d0d5fd7ea8d3f55277172cd7385df0b057f376fdbb 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 +} |