summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyicu/Manifest1
-rw-r--r--dev-python/pyicu/pyicu-2.16.2.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/pyicu/Manifest b/dev-python/pyicu/Manifest
index 08ba6e9a0c0b7..0c8e6ceaff8c4 100644
--- a/dev-python/pyicu/Manifest
+++ b/dev-python/pyicu/Manifest
@@ -1,2 +1,3 @@
DIST pyicu-v2.16.1.tar.bz2 200056 BLAKE2B 6fd533b0684081d3f1ce662072fc9843849557c98b74e3c40e433a2550087ab2ef4ec4e37abe8364d34982498a48f45682d1f265cefce995871cd652f7227b6f SHA512 9aa9d0d2eabdf4deb8696881036c6de9f72e3b11315f6f88bb9e3f0f0132884e3bc260b1ff93a67669b69e997b5a87dc4ab14cbb1c21317639feec5f304429b2
+DIST pyicu-v2.16.2.tar.bz2 200222 BLAKE2B 7f8124ce6d5192f0d37ba0c34a55dccef840456bd3302f4ba73262b6c1e236d7288fe8860c319182836d3b85f83220946b9c826874cd97acf6662e5bfaa12d6e SHA512 ff0c2ae5a5720ec3e728337713f6b96c76953ed978e4424fec8cae31494e39245d7b3219a3fa93003c262f7cd532a9942cb2d4a89775ebaaa26dbfd164dbf2d6
DIST pyicu-v2.16.tar.bz2 200082 BLAKE2B 084b872357b8211da6499a020091f8bde8b4480eab25d3dd4d0db6f888c53e5c3a8e60e20703babd1c29196b7f6dd434fe8ada261ce6d1a2eaf033d260fe577b SHA512 ade25fa86c16c94a2c4d7553d591a6bc3ceb1ea33c2801b77fb9d93bb043e31de45fc4451068e177feefd2e9b11609973b29c486ec6e2c114915b39166fdcbc1
diff --git a/dev-python/pyicu/pyicu-2.16.2.ebuild b/dev-python/pyicu/pyicu-2.16.2.ebuild
new file mode 100644
index 0000000000000..3770f1e779df7
--- /dev/null
+++ b/dev-python/pyicu/pyicu-2.16.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1
+
+MY_P=${P/-/-v}
+DESCRIPTION="Python bindings for dev-libs/icu"
+HOMEPAGE="
+ https://gitlab.pyicu.org/main/pyicu/
+ https://pypi.org/project/pyicu/
+"
+SRC_URI="
+ https://gitlab.pyicu.org/main/pyicu/-/archive/v${PV}/${MY_P}.tar.bz2
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos"
+
+DEPEND="
+ dev-libs/icu:=
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ test? (
+ dev-python/six[${PYTHON_USEDEP}]
+ )
+"
+
+DOCS=( CHANGES CREDITS README.md )
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+python_test() {
+ epytest test
+}