repo/gentoo:master commit in: dev-python/scikit-build-core/files/, dev-python/scikit-build-core/
MichaŠGórny <[email protected]>
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1786789314.0a377e550a2f62a754859e80973ca8bcef6ee775.mgorny@gentoo> |
commit: 0a377e550a2f62a754859e80973ca8bcef6ee775 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Aug 15 09:51:27 2026 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Aug 15 10:21:54 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a377e55 dev-python/scikit-build-core: Remove old Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/scikit-build-core/Manifest | 6 -- .../files/scikit-build-core-0.12.2-test.patch | 104 --------------------- .../scikit-build-core-0.12.2.ebuild | 57 ----------- .../scikit-build-core-1.0.0.ebuild | 52 ----------- .../scikit-build-core-1.0.1.ebuild | 52 ----------- 5 files changed, 271 deletions(-) diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest index 0d66fd66a130..8b6455821650 100644 --- a/dev-python/scikit-build-core/Manifest +++ b/dev-python/scikit-build-core/Manifest @@ -1,9 +1,3 @@ -DIST scikit_build_core-0.12.2.tar.gz 303553 BLAKE2B 536a22d66ac50b3ab2f4d5110c506892ed2dec2688a091c4d3cf18530b98f66ff82f16cc1c0c6e7a9b623f710325b28d5759203832ac2bebfc0f4471f41e85b3 SHA512 8dfec47cdd9c0066c99ebb240703e3d5c7bd21eddb403f1d4452728019090562e255ea6bb9719e89d3ead288b5aa7c356fc0b829affa719533ea67d14481497f -DIST scikit_build_core-0.12.2.tar.gz.provenance 9733 BLAKE2B 78d399a1b1ccfaf6bbfead583e22e704ebb7add238f330e6a1ad4aebb7ab18a0f73f5fe5e9aca2060a8db2a9475d5cf8c014b693b6b7da7703ade89479f507e0 SHA512 9d780076dac7df65d75e2d8f8e90b8b017a74d61f770450b0c65043bfa26a4149d0f99f87588796ccff9711ee6723179c174bff3d49c75d223de6cb78ed42811 -DIST scikit_build_core-1.0.0.tar.gz 466325 BLAKE2B 96436dc6b37ef6cbaf979e5ef5b387a6b832910ebf306b47f49cbeae524a776f751982805e73ae903aed953397db1e888c9f51dcc6511fcf1bf3983dd698a85a SHA512 67b71d2a37a3fa987e26d9c7c1c169260c6c5bfd1439fcbe23ab5831454f12ff1570c397ff8e8ba684083654e1769f0c141b165102c9e347d6d5cca620583d7c -DIST scikit_build_core-1.0.0.tar.gz.provenance 10105 BLAKE2B 6c00ce6d5944529cce68c0513608096d1c2411a66bcb86192215ee244f5a2100e7257ee248c7e85f4d2a329ab3e6f7f45b4c8211b767bfc66b01e89a8ed0b39f SHA512 d44767f3b547e856a45ac66d227db7a1b6b8bcb038028da3b5a52f4bf6059cffb9117c3a9876d7dfc3e97e9e73e351edce7a3ec26fcc7800ad25dde421ef929d -DIST scikit_build_core-1.0.1.tar.gz 468128 BLAKE2B 7b2ba289a5e79a8b1a71432e3ebabad093274c953c957d3c324ce864d8cb25b269156878dbc183ecf167452939f7bc8ad57d0d7768f8079a4de6ba903ab4de11 SHA512 4651484d1783ad9bd9946bd71fc70002371c16dbf8df0f6fa87d3d498061eb05583e1e825601d48d0e1ebf512e7f9ae308666b84dcc333e9461793f09ef74655 -DIST scikit_build_core-1.0.1.tar.gz.provenance 9823 BLAKE2B 93694a5ed43fcc0cee035a2c19a39da00531a1f1e9a30983061b018ecbf971d142915b3e4e7baa7feda85b5c3ed6cdc641a79c4b5515447d800d8e7f36b6c382 SHA512 9dfdf575d24f80cae3f534a7a1e5334f1cf60867a09e747afba8bf56c534f48b64ee5d97aa77af6e1c076c9d180ff52a90adaa381195fcd1dec48693c4696e33 DIST scikit_build_core-1.0.2.tar.gz 469825 BLAKE2B 11abd8868155e046a0c25b1b2596e2993cd13749c94b236005366e8eb8fbe7fe8b4a6965e54e5b2322a633602cf19d820dec2b2c90015cbc01962ed84ff1cf0b SHA512 9c2986e755b1ac1ace4c77033053084494551b9a41fbae5896f4a9cb9491e68bada713723b454c9a27c1abae214cc0de834c78805c2d8fb55d58ab95114a0b3d DIST scikit_build_core-1.0.2.tar.gz.provenance 10011 BLAKE2B c1c9d40f30db12f204447fa487c79ec5aaf2b6361d1a39bc4dfeb4d2188ff6b2f60294d7d3396630c6bb5c3071d29cfa4a5a5c77d9c66a56add636ca322b7fc1 SHA512 e68f3c66e62ab402d5eca861e7711cad3726e33d7378a79c0dbd3b78f31b0ead88d41928669f6cedfbf7372d7e00265e2344a1e6f59d093c0d75ba056efe13d9 DIST scikit_build_core-1.0.3.tar.gz 477539 BLAKE2B c06ccb744e5c0ebe6afef33425d1442e7e515b5209ab76ee9891776cb75b31a5f01c847056c3df68ae0464f4417e48f1a2a863252f2d8f43b0a0563bf1b15aac SHA512 84f73b5133750ed09804e9cfde48435cd533881948320613c425c42820b78d19a1041f8354a3fb385745bd2036a569dc04b393aea6cb93fd4cc289ed837c8b18 diff --git a/dev-python/scikit-build-core/files/scikit-build-core-0.12.2-test.patch b/dev-python/scikit-build-core/files/scikit-build-core-0.12.2-test.patch deleted file mode 100644 index d550f7bc9a2f..000000000000 --- a/dev-python/scikit-build-core/files/scikit-build-core-0.12.2-test.patch +++ /dev/null @@ -1,104 +0,0 @@ -From 56e8c65f6911c168a4f23ae76c9c7f9ad4c088eb Mon Sep 17 00:00:00 2001 -From: Henry Schreiner <[email protected]> -Date: Fri, 3 Apr 2026 23:22:56 -0500 -Subject: [PATCH 2/2] tests: fix for latest setuptools_scm - -Signed-off-by: Henry Schreiner <[email protected]> ---- - pyproject.toml | 2 +- - tests/test_module_dir.py | 4 +++- - tests/test_setuptools_abi3.py | 15 +++++++++++++++ - tests/test_setuptools_pep517.py | 15 +++++++++++++++ - 4 files changed, 34 insertions(+), 2 deletions(-) - -diff --git a/pyproject.toml b/pyproject.toml -index 51fcad69e..85a74dfeb 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -220,7 +220,7 @@ disallow_untyped_defs = true - disallow_incomplete_defs = true - - [[tool.mypy.overrides]] --module = ["numpy", "setuptools_scm", "hatch_fancy_pypi_readme", "virtualenv"] -+module = ["numpy", "setuptools_scm", "hatch_fancy_pypi_readme", "virtualenv", "vcs_versioning.*"] - ignore_missing_imports = true - - -diff --git a/tests/test_module_dir.py b/tests/test_module_dir.py -index af8e58b1a..48461e805 100644 ---- a/tests/test_module_dir.py -+++ b/tests/test_module_dir.py -@@ -29,7 +29,9 @@ def on_all_modules( - - def test_all_modules_filter_all(): - all_modules = on_all_modules("scikit_build_core", pkg=False) -- all_modules = (n for n in all_modules if not n.split(".")[-1].startswith("__")) -+ all_modules = ( -+ n for n in all_modules if not n.split(".")[-1].startswith(("__", "_version")) -+ ) - for name in all_modules: - try: - module = importlib.import_module(name) -diff --git a/tests/test_setuptools_abi3.py b/tests/test_setuptools_abi3.py -index bc9256b2c..3ee7aa644 100644 ---- a/tests/test_setuptools_abi3.py -+++ b/tests/test_setuptools_abi3.py -@@ -8,6 +8,11 @@ - - from scikit_build_core.setuptools.build_meta import build_wheel - -+try: -+ from vcs_versioning.overrides import GlobalOverrides -+except ImportError: # pragma: no cover - setuptools-scm < 10 or missing dependency -+ GlobalOverrides = None -+ - pytestmark = pytest.mark.setuptools - - DIR = Path(__file__).parent.resolve() -@@ -15,6 +20,16 @@ - SYSCONFIGPLAT = sysconfig.get_platform() - - [email protected](autouse=True) -+def setuptools_scm_overrides(): -+ if GlobalOverrides is None: -+ yield -+ return -+ -+ with GlobalOverrides.from_env("SETUPTOOLS_SCM"): -+ yield -+ -+ - @pytest.mark.compile - @pytest.mark.configure - @pytest.mark.skipif( -diff --git a/tests/test_setuptools_pep517.py b/tests/test_setuptools_pep517.py -index f7e61b748..3721055d7 100644 ---- a/tests/test_setuptools_pep517.py -+++ b/tests/test_setuptools_pep517.py -@@ -9,10 +9,25 @@ - - from scikit_build_core.setuptools.build_meta import build_sdist, build_wheel - -+try: -+ from vcs_versioning.overrides import GlobalOverrides -+except ImportError: # pragma: no cover - setuptools-scm < 10 or missing dependency -+ GlobalOverrides = None -+ - pytestmark = pytest.mark.setuptools - setuptools_version = Version(importlib.metadata.version("setuptools")) - - [email protected](autouse=True) -+def setuptools_scm_overrides(): -+ if GlobalOverrides is None: -+ yield -+ return -+ -+ with GlobalOverrides.from_env("SETUPTOOLS_SCM"): -+ yield -+ -+ - @pytest.mark.parametrize("package", ["simple_setuptools_ext"], indirect=True) - @pytest.mark.usefixtures("package") - def test_pep517_sdist(tmp_path: Path): diff --git a/dev-python/scikit-build-core/scikit-build-core-0.12.2.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.12.2.ebuild deleted file mode 100644 index 6729725394b7..000000000000 --- a/dev-python/scikit-build-core/scikit-build-core-0.12.2.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2023-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-core -PYTHON_COMPAT=( python3_{12..15} ) - -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 ~arm64-macos ~x64-macos ~x64-solaris" - -# we always want [pyproject] extra -RDEPEND=" - app-alternatives/ninja - dev-build/cmake - >=dev-python/packaging-23.2[${PYTHON_USEDEP}] - >=dev-python/pathspec-0.12.0[${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/setuptools[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( pytest-subprocess ) -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/scikit-build/scikit-build-core/pull/1259/changes/56e8c65f6911c168a4f23ae76c9c7f9ad4c088eb - "${FILESDIR}/${P}-test.patch" -) - -python_test() { - local EPYTEST_IGNORE=( - # needs unpackaged validate_pyproject - tests/test_schema.py - ) - - epytest -m "not isolated and not network" -} diff --git a/dev-python/scikit-build-core/scikit-build-core-1.0.0.ebuild b/dev-python/scikit-build-core/scikit-build-core-1.0.0.ebuild deleted file mode 100644 index 976edd3001a0..000000000000 --- a/dev-python/scikit-build-core/scikit-build-core-1.0.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2023-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-core -PYTHON_COMPAT=( python3_{12..15} ) - -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 ~arm64-macos ~x64-macos ~x64-solaris" - -# we always want [pyproject] extra -RDEPEND=" - app-alternatives/ninja - dev-build/cmake - >=dev-python/packaging-23.2[${PYTHON_USEDEP}] - >=dev-python/pathspec-0.12.0[${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/setuptools[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( pytest-subprocess ) -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # needs unpackaged validate_pyproject - tests/test_schema.py - ) - - epytest -m "not isolated and not network" -} diff --git a/dev-python/scikit-build-core/scikit-build-core-1.0.1.ebuild b/dev-python/scikit-build-core/scikit-build-core-1.0.1.ebuild deleted file mode 100644 index 976edd3001a0..000000000000 --- a/dev-python/scikit-build-core/scikit-build-core-1.0.1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2023-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-core -PYTHON_COMPAT=( python3_{12..15} ) - -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 ~arm64-macos ~x64-macos ~x64-solaris" - -# we always want [pyproject] extra -RDEPEND=" - app-alternatives/ninja - dev-build/cmake - >=dev-python/packaging-23.2[${PYTHON_USEDEP}] - >=dev-python/pathspec-0.12.0[${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/setuptools[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( pytest-subprocess ) -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # needs unpackaged validate_pyproject - tests/test_schema.py - ) - - epytest -m "not isolated and not network" -}