commit: 70599465522bcab30e38c8c0d9de7839ca933c2f Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Mar 4 03:30:18 2026 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Mar 4 03:42:57 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70599465
dev-python/scikit-build: Bump to 0.19.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/scikit-build/Manifest | 2 + dev-python/scikit-build/scikit-build-0.19.0.ebuild | 67 ++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-python/scikit-build/Manifest b/dev-python/scikit-build/Manifest index 88e42dfdb653..b2039d8f50b8 100644 --- a/dev-python/scikit-build/Manifest +++ b/dev-python/scikit-build/Manifest @@ -1 +1,3 @@ DIST scikit_build-0.18.1.tar.gz 274171 BLAKE2B af82af368f883450c98670e26c414181ab60ef04615986843967f537e206e6c64901c9eace8f12af12f067178cad14886d853d230200463b00452f7ec550436f SHA512 872f4bc4c313459842b537ded5503799da5b5e02a8e403eb3095edd719ea7be32942ce4e9c7cd55a4f78c2f032627f7398e99db6be19b711c8e1d906264dba48 +DIST scikit_build-0.19.0.tar.gz 274552 BLAKE2B 961436b23d39ea5c6b7f8258da3a10b03e265155ef4e312a69dc7a423dc8cb2ce837f547dbaeaf8902e36ab04736f71ef4e092fb8b6bdca2c601f9728aa777e1 SHA512 3201789ae996603ded40fc997d3df712b440e7242d8ed04f027aa05ac66788c19725a7736e4296429095464024f1b06e6258fc5c7b31879496264bf56e2df51b +DIST scikit_build-0.19.0.tar.gz.provenance 9674 BLAKE2B 328eac64356a2e06650c15e3314985401a7d24fcd502f9bd6855c70664d0b3096ffd2e5be25aec14cfc18558f647b1940491dd3626363d3d347d20c347fee7eb SHA512 748553c323cb4d44128497c4c460072e63c86082e7e33d2655ad9348aa0fc4d7a34aba1ef243279f0ff68900cd5133ca8441e75b12351e9a4d27279bcc79aeda diff --git a/dev-python/scikit-build/scikit-build-0.19.0.ebuild b/dev-python/scikit-build/scikit-build-0.19.0.ebuild new file mode 100644 index 000000000000..664a73bea01a --- /dev/null +++ b/dev-python/scikit-build/scikit-build-0.19.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/scikit-build/scikit-build +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Improved build system generator for Python C/C++/Fortran/Cython extensions" +HOMEPAGE=" + https://github.com/scikit-build/scikit-build/ + https://pypi.org/project/scikit-build/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/distro[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/setuptools-42.0.0[${PYTHON_USEDEP}] + >=dev-python/wheel-0.32.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/build-0.7[${PYTHON_USEDEP}] + >=dev-python/cython-0.25.1[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme \ + dev-python/sphinx-issues +# note: tests are unstable with xdist +EPYTEST_PLUGINS=( pytest-mock ) +distutils_enable_tests pytest + +src_prepare() { + # not packaged + sed -i -e '/cmakedomain/d' docs/conf.py || die + distutils-r1_src_prepare +} + +python_test() { + + local EPYTEST_DESELECT=( + # Internet (via new setuptools?) + tests/test_hello_cpp.py::test_hello_develop + ) + + # create a separate test tree since skbuild tests install random stuff + cp -r "${BUILD_DIR}"/{install,test} || die + local -x PATH=${BUILD_DIR}/test${EPREFIX}/usr/bin:${PATH} + + epytest -m "not isolated and not nosetuptoolsscm" \ + -o tmp_path_retention_count=1 +}
