summaryrefslogtreecommitdiff
path: root/dev-python/ignore-python/ignore-python-0.3.0.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-01-04 19:17:15 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-01-04 19:17:15 +0000
commit01e21e5e09bfbb2664a799314228bc074ffd2974 (patch)
tree3fe9269a4cbf84681128fa5778e5c100afa6b406 /dev-python/ignore-python/ignore-python-0.3.0.ebuild
parent69eb6af457262e87736a8487044143fcd552ace1 (diff)
downloadbaldeagleos-repo-01e21e5e09bfbb2664a799314228bc074ffd2974.tar.gz
baldeagleos-repo-01e21e5e09bfbb2664a799314228bc074ffd2974.tar.xz
baldeagleos-repo-01e21e5e09bfbb2664a799314228bc074ffd2974.zip
Adding metadata
Diffstat (limited to 'dev-python/ignore-python/ignore-python-0.3.0.ebuild')
-rw-r--r--dev-python/ignore-python/ignore-python-0.3.0.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/ignore-python/ignore-python-0.3.0.ebuild b/dev-python/ignore-python/ignore-python-0.3.0.ebuild
new file mode 100644
index 000000000000..b624466c952b
--- /dev/null
+++ b/dev-python/ignore-python/ignore-python-0.3.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-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=( python3_{10..14} )
+
+inherit cargo distutils-r1
+
+DESCRIPTION="Rust ignore crate Python bindings"
+HOMEPAGE="
+ https://github.com/borsattoz/ignore-python
+ https://pypi.org/project/ignore-python/
+"
+SRC_URI="
+ https://github.com/borsattoz/ignore-python/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz
+ https://gitlab.com/api/v4/projects/69517529/packages/generic/${PN}/${PV}/${P}-deps.tar.xz
+"
+
+LICENSE="MIT Unicode-3.0 Apache-2.0-with-LLVM-exceptions"
+SLOT="0"
+KEYWORDS="~amd64"
+
+distutils_enable_tests pytest
+
+python_test() {
+ epytest --override-ini="pythonpath=${BUILD_DIR}/install$(python_get_sitedir)"
+}