diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/setuptools-gettext/setuptools-gettext-0.1.16.ebuild | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | srcux-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz srcux-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz srcux-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/setuptools-gettext/setuptools-gettext-0.1.16.ebuild')
| -rw-r--r-- | dev-python/setuptools-gettext/setuptools-gettext-0.1.16.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/setuptools-gettext/setuptools-gettext-0.1.16.ebuild b/dev-python/setuptools-gettext/setuptools-gettext-0.1.16.ebuild new file mode 100644 index 000000000000..2afa59ff950c --- /dev/null +++ b/dev-python/setuptools-gettext/setuptools-gettext-0.1.16.ebuild @@ -0,0 +1,34 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/breezy-team/setuptools-gettext +PYTHON_COMPAT=( python3_{13..14} ) + +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-61.0.0[${PYTHON_USEDEP}] + sys-devel/gettext +" + +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 +} |
