diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-05-12 04:16:56 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-05-12 04:25:24 +0200 |
commit | 14fcdfb19e03e53c0f79e659b8cfff6c51387dea (patch) | |
tree | 9ee5596df62981ab00e3f0541871180ec7495e29 | |
parent | sys-block/parted: fix underlinking with util-linux/libuuid (again) (diff) | |
download | gentoo-14fcdfb19e03e53c0f79e659b8cfff6c51387dea.tar.gz gentoo-14fcdfb19e03e53c0f79e659b8cfff6c51387dea.tar.bz2 gentoo-14fcdfb19e03e53c0f79e659b8cfff6c51387dea.zip |
dev-python/setuptools-gettext: Bump to 0.1.14
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/setuptools-gettext/Manifest | 1 | ||||
-rw-r--r-- | dev-python/setuptools-gettext/setuptools-gettext-0.1.14.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/setuptools-gettext/Manifest b/dev-python/setuptools-gettext/Manifest index bf75bb7c26b2..8820b9b1c7b4 100644 --- a/dev-python/setuptools-gettext/Manifest +++ b/dev-python/setuptools-gettext/Manifest @@ -1 +1,2 @@ DIST setuptools-gettext-0.1.11.tar.gz 15582 BLAKE2B a47e8c05683dbf8ac2db9dcbf66f8d680a6d1788ee00f1affcc356fd12ee31d92f6698c9dd1f293000ffb129d6eda2a71b90d0bee1875308f155137c9d2f7cf2 SHA512 abcb0df4604a78959365d3447112d4f74944b26ccc1e0d43771e38ee071c5915a4deda8c852eebbc58c689bcae29cd13604f8b96cea4cc0d6eb6ca4e265e34f7 +DIST setuptools_gettext-0.1.14.tar.gz 16177 BLAKE2B ad34ca37db52bdb2d317592e76e765636402ea2e656af22e31e7e2dfd59edce88003b14d4180b9b77b402ae2b53dcb9cebb0e065753272387bdaeee3af6baefd SHA512 40a76eb94173f704158dc676d332c436b81d11f2045276622cee2ab08636b988f3e95fa60bc4fdeeb72334d2daa51e56cd394f441479221b266e187bda2b928c diff --git a/dev-python/setuptools-gettext/setuptools-gettext-0.1.14.ebuild b/dev-python/setuptools-gettext/setuptools-gettext-0.1.14.ebuild new file mode 100644 index 000000000000..222efeb89a60 --- /dev/null +++ b/dev-python/setuptools-gettext/setuptools-gettext-0.1.14.ebuild @@ -0,0 +1,36 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Setuptools plugin for building mo files" +HOMEPAGE=" + https://pypi.org/project/setuptools-gettext/ + https://github.com/breezy-team/setuptools-gettext +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + sys-devel/gettext + $(python_gen_cond_dep ' + >=dev-python/tomli-1.2.1[${PYTHON_USEDEP}] + ' 3.10) +" + +python_test() { + cd example || die + distutils_pep517_install "${T}/${EPYTHON}" + if [[ ! -f ${T}/${EPYTHON}/usr/share/locale/nl/LC_MESSAGES/hallowereld.mo ]] + then + die ".mo file not installed" + fi +} |