Files
guru/dev-python/ignore-python/ignore-python-0.4.1.ebuild
T
David Roman 59f98117e4 */*: disable py3.12 && remove dead impls
Disable py3.12 except for packages which only had py3.12 in PYTHON_COMPAT

Signed-off-by: David Roman <stkw0@disroot.org>
Part-of: https://codeberg.org/gentoo/guru/pulls/161
2026-11-03 14:42:49 +01:00

37 lines
898 B
Bash

# 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_{13..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() {
cp "${BUILD_DIR}/install$(python_get_sitedir)/ignore/ignore"*.so ignore || die
epytest
}