summaryrefslogtreecommitdiff
path: root/dev-python/pyicu
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyicu')
-rw-r--r--dev-python/pyicu/Manifest1
-rw-r--r--dev-python/pyicu/metadata.xml9
-rw-r--r--dev-python/pyicu/pyicu-2.16.2.ebuild46
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/pyicu/Manifest b/dev-python/pyicu/Manifest
new file mode 100644
index 000000000000..36c4c831afb2
--- /dev/null
+++ b/dev-python/pyicu/Manifest
@@ -0,0 +1 @@
+DIST pyicu-v2.16.2.tar.bz2 200222 BLAKE2B 7f8124ce6d5192f0d37ba0c34a55dccef840456bd3302f4ba73262b6c1e236d7288fe8860c319182836d3b85f83220946b9c826874cd97acf6662e5bfaa12d6e SHA512 ff0c2ae5a5720ec3e728337713f6b96c76953ed978e4424fec8cae31494e39245d7b3219a3fa93003c262f7cd532a9942cb2d4a89775ebaaa26dbfd164dbf2d6
diff --git a/dev-python/pyicu/metadata.xml b/dev-python/pyicu/metadata.xml
new file mode 100644
index 000000000000..acfe7097587e
--- /dev/null
+++ b/dev-python/pyicu/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
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 000000000000..358cadd238f5
--- /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_{13..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
+}