diff --git a/dev-python/ignore-python/Manifest b/dev-python/ignore-python/Manifest index bdbb5024ec..4767f9475f 100644 --- a/dev-python/ignore-python/Manifest +++ b/dev-python/ignore-python/Manifest @@ -1,2 +1,4 @@ DIST ignore-python-0.3.3-deps.tar.xz 5151648 BLAKE2B 43c3d7d1d76e7433427f0488c811aa733cffc7681e802a3c51bcda4867f94bad1cf7f3c0f59e8bd85ba10685e8c143b96c5d0287d2c0ddd1b62df7b5f9ec36d4 SHA512 68095449686bd97aadeaa3e9732a62396246237f472e28be79bd4d0932acf8a8abad0d6c7146332e263d7c5be4cda229ea8960bda3e0dedba0a7d8e9c075d04b DIST ignore-python-0.3.3.gh.tar.gz 12062 BLAKE2B 11fc24335c547d9381526adc5de846ae3eb5a9eb873db8d55ab43b2e55bb2e870b0624de73d56d15e844067089dd6eb3b1edf72f73e21f52b70d3f2cc88dd9b3 SHA512 ae7b4b31e07f4c6ea8594b237a0e8cdbd60d73902ba8b8502c9f935d6855ce599d191a025d7dc09b1a7c342076aca26ef2df576cfe29e53cfed07c292845896b +DIST ignore-python-0.4.1-deps.tar.xz 5181584 BLAKE2B 7734636b8f7201e9d8ee982a046c1a9072b664d0898a08d1831add613140f2c2ad3cb5d509cb635a1420d10f293ae16b2ea2352ed7cb734c16892df2e0487a6f SHA512 de87f0c5dc0e917ad3671dcf83dbbef20ba81567518095b50e1446ade015a264eb066acee6ae82076748758c41cb763411a44a82e958b7d2e05b022604065ff6 +DIST ignore-python-0.4.1.gh.tar.gz 12048 BLAKE2B 03ded57a506f8c92e61fb4966e230664e91789fbf7c3a7ca74be8d39bdc6aac244106e65500748560a128341f843ddd8173b79961b2a909efe6646dd399b5b06 SHA512 f5948d58d958177f19f94f22d05fb1e2c0dc433da02409f99e37489cb101c5a1b5a9261d786ff22165e802f6546da9a8b29940aa6dc0b2440d354da01652c511 diff --git a/dev-python/ignore-python/ignore-python-0.4.1.ebuild b/dev-python/ignore-python/ignore-python-0.4.1.ebuild new file mode 100644 index 0000000000..c73ca44190 --- /dev/null +++ b/dev-python/ignore-python/ignore-python-0.4.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2026 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_{12..14}) + +RUST_MIN_VER="1.85.0" + +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" + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/ignore/ignore.*.so" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + epytest --override-ini="pythonpath=${BUILD_DIR}/install$(python_get_sitedir)" +}