diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/scikit-build-core/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/scikit-build-core/scikit-build-core-0.11.0.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest index 82f88c64c33e..ac00e14bf6e9 100644 --- a/dev-python/scikit-build-core/Manifest +++ b/dev-python/scikit-build-core/Manifest @@ -1 +1,2 @@ DIST scikit_build_core-0.10.7.tar.gz 255019 BLAKE2B 8cacc08d0ef5e23fb72e93215cbfb68d72cd93c88b2b63149f44dbe307c6fd4ea623955decd67fef5925b135dab2e5d0c66ab683037d98ec8cea926e3655f090 SHA512 dcd9e3170f7fb0251ce2353ecd5080b64c16b914f2afe8380d318388f1d2fdbe9ca989ed2bffa44963b1ce629e7fa1545132d003f60d76b35e8c680418d883da +DIST scikit_build_core-0.11.0.tar.gz 271991 BLAKE2B 637ed77fd005cb09ef38674a8af80da224a1be6381a3d0b20c35a3d2d19ee8279d26b9421a65d77538cb44f993d0b1882e9116a215522a7da115bd1a85fd08f3 SHA512 a2fae6d62c6283ed42789eaafb8eabf0637146733434c1041583470b3f593d557b7d5d5f9ff887e94ea6bfff409b526948c4c9807213f95880156c3d25f2202b diff --git a/dev-python/scikit-build-core/scikit-build-core-0.11.0.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.11.0.ebuild new file mode 100644 index 000000000000..cd5131a6aa32 --- /dev/null +++ b/dev-python/scikit-build-core/scikit-build-core-0.11.0.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 pypy3_11 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 ~loong ~mips ~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}] + ) +" + +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" +} |
