From f9909f36f7d4e618b2c9d98e301e2d5c46a53154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 2 May 2025 05:45:29 +0200 Subject: [PATCH] dev-python/scikit-build-core: Bump to 0.11.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/scikit-build-core/Manifest | 1 + .../scikit-build-core-0.11.2.ebuild | 60 +++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 dev-python/scikit-build-core/scikit-build-core-0.11.2.ebuild diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest index aa31540cd12b7..3cf6b44f4ba6a 100644 --- a/dev-python/scikit-build-core/Manifest +++ b/dev-python/scikit-build-core/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-python/scikit-build-core/scikit-build-core-0.11.2.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.11.2.ebuild new file mode 100644 index 0000000000000..50615e058b62d --- /dev/null +++ b/dev-python/scikit-build-core/scikit-build-core-0.11.2.ebuild @@ -0,0 +1,60 @@ +# 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}] + $(python_gen_cond_dep ' + dev-python/exceptiongroup[${PYTHON_USEDEP}] + >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] + ' 3.10) +" +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" +}