summaryrefslogtreecommitdiff
path: root/dev-python/unicode-segmentation-rs/unicode-segmentation-rs-0.2.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/unicode-segmentation-rs/unicode-segmentation-rs-0.2.1.ebuild')
-rw-r--r--dev-python/unicode-segmentation-rs/unicode-segmentation-rs-0.2.1.ebuild61
1 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/unicode-segmentation-rs/unicode-segmentation-rs-0.2.1.ebuild b/dev-python/unicode-segmentation-rs/unicode-segmentation-rs-0.2.1.ebuild
new file mode 100644
index 000000000000..99a786202720
--- /dev/null
+++ b/dev-python/unicode-segmentation-rs/unicode-segmentation-rs-0.2.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=maturin
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
+
+RUST_MIN_VER="1.85.0"
+CRATES="
+ autocfg@1.5.0
+ cc@1.2.49
+ find-msvc-tools@0.1.5
+ heck@0.5.0
+ indoc@2.0.7
+ libc@0.2.178
+ memoffset@0.9.1
+ once_cell@1.21.3
+ portable-atomic@1.11.1
+ proc-macro2@1.0.103
+ pyo3-build-config@0.27.2
+ pyo3-ffi@0.27.2
+ pyo3-macros-backend@0.27.2
+ pyo3-macros@0.27.2
+ pyo3@0.27.2
+ python3-dll-a@0.2.14
+ quote@1.0.42
+ rustversion@1.0.22
+ shlex@1.3.0
+ syn@2.0.111
+ target-lexicon@0.13.3
+ unicode-ident@1.0.22
+ unicode-segmentation@1.12.0
+ unicode-width@0.2.2
+ unindent@0.2.4
+"
+
+inherit cargo distutils-r1 pypi
+
+DESCRIPTION="Unicode segmentation and width for Python using Rust"
+HOMEPAGE="
+ https://github.com/WeblateOrg/unicode-segmentation-rs/
+ https://pypi.org/project/unicode-segmentation-rs/
+"
+SRC_URI+="
+ ${CARGO_CRATE_URIS}
+"
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+QA_FLAGS_IGNORED="
+ usr/lib/py.*/site-packages/unicode_segmentation_rs/unicode_segmentation_rs.*
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest