diff options
author | 2024-07-30 15:53:59 +0200 | |
---|---|---|
committer | 2024-07-30 15:53:59 +0200 | |
commit | a397a3c0453869311cf3cea5a9391c6bba297bb6 (patch) | |
tree | d4e6376efff1219b90912b12fc041522dfce278d /dev-python/scikit-build-core | |
parent | dev-python/scikit-build-core: Update pytest-subprocess plugin name (diff) | |
download | gentoo-a397a3c0453869311cf3cea5a9391c6bba297bb6.tar.gz gentoo-a397a3c0453869311cf3cea5a9391c6bba297bb6.tar.bz2 gentoo-a397a3c0453869311cf3cea5a9391c6bba297bb6.zip |
dev-python/scikit-build-core: Bump to 0.9.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/scikit-build-core')
-rw-r--r-- | dev-python/scikit-build-core/Manifest | 1 | ||||
-rw-r--r-- | dev-python/scikit-build-core/scikit-build-core-0.9.9.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest index 5d4c05dd05f8..ca4312e12ab9 100644 --- a/dev-python/scikit-build-core/Manifest +++ b/dev-python/scikit-build-core/Manifest @@ -1 +1,2 @@ DIST scikit_build_core-0.9.8.tar.gz 229845 BLAKE2B 419d8891dd3f95bee7f8f7dcc1addb94d2698f8ff392eef19a67e851f57b58d09b9878705d0e8d728d3c6f2b316d538c76471164781fcd1fb5d02dfbfd9d7a85 SHA512 f1206715eef1bdeccddc5987cae4f455522c4ef4dbca305ad7d3772c61f5615c5742b109c5527a5ad5e25a2348abff69ea5ae7153ac18c43cca63783872aa3d5 +DIST scikit_build_core-0.9.9.tar.gz 229971 BLAKE2B 2e41f59e053a44db07c84df4a03aab7c574b658d51f4b4517228ef0e12618f8de879e3ef704b7be398b5378e1f19b0a8c8dafcd20e3bd15dece9d387306427ac SHA512 c4b826353be3b34dc7f37f571088b7674f6ad8c984fd9985feb4e1b611c503dbf1a5c0e4e8ad1123c9f2e9538572da319f9104145abd598817ca3e29824cc61d diff --git a/dev-python/scikit-build-core/scikit-build-core-0.9.9.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.9.9.ebuild new file mode 100644 index 000000000000..5998fa0264bf --- /dev/null +++ b/dev-python/scikit-build-core/scikit-build-core-0.9.9.ebuild @@ -0,0 +1,63 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..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 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# we always want [pyproject] extra +RDEPEND=" + app-alternatives/ninja + dev-build/cmake + >=dev-python/packaging-21.3[${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}] + dev-python/wheel[${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 + # setuptools now respects PEP 625 + tests/test_setuptools_pep517.py::test_pep517_sdist + ) + 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" +} |