commit: 526ce100ca9dca62d1eeec325ab285ee1ff3f1b8 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat May 17 04:59:45 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat May 17 05:21:51 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=526ce100
dev-python/scikit-build-core: Bump to 0.11.3 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/scikit-build-core/Manifest | 1 + .../scikit-build-core-0.11.3.ebuild | 56 ++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest index 3cf6b44f4ba6..b523bbf8e570 100644 --- a/dev-python/scikit-build-core/Manifest +++ b/dev-python/scikit-build-core/Manifest @@ -1,2 +1,3 @@ DIST scikit_build_core-0.11.1.tar.gz 273807 BLAKE2B 31615858d82e3edea1cc90d23f2a6905550e0f55ebb500756b60547c2b21d53f02210fca5dc70952066ee87b8f731c318412e00c168eed9a0ed276d43b85b216 SHA512 552e2e3ba72f993c96224069fb288c08166eaf1670c9c981ce0aa567e83b1c7d06cc17cccd7109bcb0586d2327ee592418e79c03af040ea7e5cc4951204eabc2 DIST scikit_build_core-0.11.2.tar.gz 282425 BLAKE2B 7d834fca1c91815bfb2b9203466e213e3e10b7c5d662f01f8e37aeb251b97485f574217e8768bda28b9e8acf833a3b6cffa39c6fd9a2313764d2926eeb116d99 SHA512 c8944e45fde6e60f1830e959aa4c6a6de7c6896dbf20672ce728333064b6e965405afdf4b2679a58ce44bac469afec38166d60c1762195ee54fc6a3312db81fa +DIST scikit_build_core-0.11.3.tar.gz 289852 BLAKE2B ba9522e3eb532a47f06c312463ab39149bb536046f9190aab345e56c115c4388fc6afe4c91eff2309d9d2ecc596fafab03572e252d1f8c6e6d7cf71751d2965d SHA512 e8152de7a3a099b9829ed18f8961213401c01d0428e2983a6bbc89d04a94d837012be26293da36878b38bc74328f12521f8cb8b1949d7709699d1e3d2d107f67 diff --git a/dev-python/scikit-build-core/scikit-build-core-0.11.3.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.11.3.ebuild new file mode 100644 index 000000000000..144014d7504b --- /dev/null +++ b/dev-python/scikit-build-core/scikit-build-core-0.11.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3_11 python3_{11..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Build backend for CMake based projects" +HOMEPAGE=" + https://github.com/scikit-build/scikit-build-core/ + https://pypi.org/project/scikit-build-core/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# we always want [pyproject] extra +RDEPEND=" + app-alternatives/ninja + dev-build/cmake + >=dev-python/packaging-23.2[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] + >=dev-python/pyproject-metadata-0.5[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + >=dev-python/cattrs-22.2.0[${PYTHON_USEDEP}] + dev-python/fastjsonschema[${PYTHON_USEDEP}] + dev-python/pybind11[${PYTHON_USEDEP}] + >=dev-python/pytest-subprocess-1.5[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local _EPYTEST_DESELECT=( + # TODO / we don't package validate_pyproject anyway + tests/test_schema.py::test_compare_schemas + ) + local EPYTEST_IGNORE=( + # needs unpackaged validate_pyproject + tests/test_schema.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest-subprocess -m "not isolated and not network" +}