summaryrefslogtreecommitdiff
path: root/dev-python/polib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-24 09:47:15 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-24 09:47:15 +0000
commit4003c614d3c4b320c45ab1f4b817459d4709443b (patch)
treefcc0c42e92c56abe0ea39b717b2c3b019c335e41 /dev-python/polib
parent58177544118b9a8393d7501ee5e0e35cd32f2ad4 (diff)
gentoo auto-resync : 24:02:2023 - 09:47:15
Diffstat (limited to 'dev-python/polib')
-rw-r--r--dev-python/polib/Manifest2
-rw-r--r--dev-python/polib/polib-1.2.0.ebuild30
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/polib/Manifest b/dev-python/polib/Manifest
index 1dfe50ff5bc5..53239c853670 100644
--- a/dev-python/polib/Manifest
+++ b/dev-python/polib/Manifest
@@ -1,4 +1,6 @@
AUX polib-1.0.7-BE-test.patch 545 BLAKE2B 800372796d19d98f47dff73ed593dcbe8a60d55b654258ea5063b702fc3761906754096bc2f4703621378a56ef9589ff5a4c1d7aa6bcef368e293bad9e8b869f SHA512 0b62dadaa7983657901463770a5e7abc41361094c7dba41618881d7328378b989c10b3458c667f15134ad92d0bfebd785f475e1ba040ea11da70352bd8a2cc2c
DIST polib-1.1.1.tar.gz 154644 BLAKE2B 3dfbaf2fa73d286a60a1fff3e50d8703cf62917b7da0c8b783aaec49b8dcfb927b03b0fe0b411b5f90c2ac89298ea027beb2f0d00ad582a65628d8351397ddab SHA512 38de5fbdbc9ef879a4d55b9fe4f86a3aca3fb90dbb671745bd2b126be443598b8b18fe53afd116c3a4d3efc7a42b5ed05d75569bb5b2ef0bd2ced6e13eda95ad
+DIST polib-1.2.0.tar.gz 161658 BLAKE2B 8f53d829ac7a2e59676fa7b548645eed26fbd5a2c6e966093145b43bc492ba05ef715e4ddb95f35f8c965890e24c80b7e19d58c6d75d26c4cef141fb15a7d79e SHA512 b325730cd4df6c881ffcab72da1796eb2949243f6060c650209e1c6584e5344ecaede870f22ece00f5c74bcd289fa5d2aa5223b88cb78de0dff5f9e41759096e
EBUILD polib-1.1.1.ebuild 657 BLAKE2B 99a922af39f6f3f5a8cb88d8d5e6b7d9cc73cec427576414904ac5a0b2762aa49fd649042d98d70bb45dfc98840a190ca6cbc259514013e712559b2aa2b3edb3 SHA512 3595ddf722df58ef98d49a485665f7c83d9011212d568c33539edd0adad068280fa76cb31e499709668a2b3caad65ffc951a5fd8fd05a8e486abd8a3646945d5
+EBUILD polib-1.2.0.ebuild 687 BLAKE2B 5aa388828f0769ff48aebf92d5ac21efc98572bfd91fb61bd6df8896ef8ff4e0aba7bd314daf7e8a7df3225ca0fba164cb50a831ee56425508957cd0227c4863 SHA512 c1823b019bb9cd692868c68e574b076370b8af78b8f9ff939c2e5af90216185465861480ee1c879ee182950da7345bec773d1be6a54bbafc38649ca88ebb6fff
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
new file mode 100644
index 000000000000..1bc25e6957ea
--- /dev/null
+++ b/dev-python/polib/polib-1.2.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A library to manipulate gettext files (.po and .mo files)"
+HOMEPAGE="
+ https://github.com/izimobil/polib/
+ https://pypi.org/project/polib/
+ https://polib.readthedocs.io/en/latest/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+distutils_enable_sphinx docs
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.0.7-BE-test.patch
+)
+
+python_test() {
+ "${EPYTHON}" tests/tests.py -v || die "Tests failed under ${EPYTHON}"
+}