blob: 8f29495e9438c8dca587408e8d48a4d083787722 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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_{11..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
}
|