summaryrefslogtreecommitdiff
path: root/dev-python/polib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-24 16:45:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-24 16:45:44 +0000
commitb0fd0bc5c186e99078ed8d07146e8c14f1089639 (patch)
tree5567654e1937500080d1c90411624ab268d27795 /dev-python/polib
parent1804d2ae908b26fe4e3d3a38646c7d6ffa733d92 (diff)
gentoo auto-resync : 24:01:2024 - 16:45:44
Diffstat (limited to 'dev-python/polib')
-rw-r--r--dev-python/polib/Manifest2
-rw-r--r--dev-python/polib/polib-1.2.0.ebuild10
2 files changed, 10 insertions, 2 deletions
diff --git a/dev-python/polib/Manifest b/dev-python/polib/Manifest
index 201288ade2ed..cf8378f065dc 100644
--- a/dev-python/polib/Manifest
+++ b/dev-python/polib/Manifest
@@ -1,4 +1,4 @@
AUX polib-1.0.7-BE-test.patch 545 BLAKE2B 800372796d19d98f47dff73ed593dcbe8a60d55b654258ea5063b702fc3761906754096bc2f4703621378a56ef9589ff5a4c1d7aa6bcef368e293bad9e8b869f SHA512 0b62dadaa7983657901463770a5e7abc41361094c7dba41618881d7328378b989c10b3458c667f15134ad92d0bfebd785f475e1ba040ea11da70352bd8a2cc2c
DIST polib-1.2.0.tar.gz 161658 BLAKE2B 8f53d829ac7a2e59676fa7b548645eed26fbd5a2c6e966093145b43bc492ba05ef715e4ddb95f35f8c965890e24c80b7e19d58c6d75d26c4cef141fb15a7d79e SHA512 b325730cd4df6c881ffcab72da1796eb2949243f6060c650209e1c6584e5344ecaede870f22ece00f5c74bcd289fa5d2aa5223b88cb78de0dff5f9e41759096e
-EBUILD polib-1.2.0.ebuild 681 BLAKE2B 246ca8b62af148d024bd1744338e735bf9d00d576d47427f9e5ec9345fbacdcc467d43fcae33b35f52ae8b8e3519d8d6bea3ecec005d07d958519897b4a0a2b8 SHA512 e09bcc98bd0dba756076e22cf31a844b6fd0a99dafc173a6af98e612274535317972c1d0a278d050bf519c2a9926ae22d508cb60334db2868ef751ef64cfce64
+EBUILD polib-1.2.0.ebuild 771 BLAKE2B 72460c3624b5ffdbdc655226c4ac11cb757478461cabe23d4470ca16492bc5ba69a974d52d08e9623c0821a537b7d13ceec778a8bbeede71297a2d55a6ffac34 SHA512 1f9136c98f148c672589afc702e31150793b92b23b9dba9749c46d1df959cc9003e94333a123e20cb94888adeb2fe0efee5e40a1093a9ccd93878cfe5995f02a
MISC metadata.xml 387 BLAKE2B 52efaa4e504721043d48bbec1b86dcefd99b96351222a90c8f91288c177980e0ce451cc7e4b48345bce69f92c34edf2487a3324f307263d9da1603ccf49da846 SHA512 e19b1b268bea67dc6882b698ce03a3a3c9795e361ab94a77d774bb026793df6cb2868a465de79ab3491c2aa7b7b162b169d695ec9859f19d1fea58a8a5e5f478
diff --git a/dev-python/polib/polib-1.2.0.ebuild b/dev-python/polib/polib-1.2.0.ebuild
index 627a252a2d0a..5764d76c5cae 100644
--- a/dev-python/polib/polib-1.2.0.ebuild
+++ b/dev-python/polib/polib-1.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -18,6 +18,8 @@ HOMEPAGE="
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
distutils_enable_sphinx docs
@@ -25,6 +27,12 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.0.7-BE-test.patch
)
+BDEPEND="
+ test? (
+ <sys-devel/gettext-0.22
+ )
+"
+
python_test() {
"${EPYTHON}" tests/tests.py -v || die "Tests failed under ${EPYTHON}"
}