diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2024-04-19 08:52:03 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-04-19 08:52:03 +0300 |
commit | 5a84ad405d867d416c879fe10bee2c044c86cfcd (patch) | |
tree | ee7ebe838e65d7cdc86a88f2db7fc7c12995cd71 /dev-python/scikit-build-core | |
parent | app-editors/vscode: drop 1.87.2, 1.88.0 (diff) | |
download | gentoo-5a84ad405d867d416c879fe10bee2c044c86cfcd.tar.gz gentoo-5a84ad405d867d416c879fe10bee2c044c86cfcd.tar.bz2 gentoo-5a84ad405d867d416c879fe10bee2c044c86cfcd.zip |
dev-python/scikit-build-core: add 0.9.0
Signed-off-by: Arthur Zamarin <arthurzam@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.0.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest index 0590549e006e..c00f8c5cd752 100644 --- a/dev-python/scikit-build-core/Manifest +++ b/dev-python/scikit-build-core/Manifest @@ -1 +1,2 @@ DIST scikit_build_core-0.8.2.tar.gz 203630 BLAKE2B 7093fd02891fe225ffee1b6da7800e49eb71c6468947fff1a80015eda8c9940f117196dfd067d0ea274d9958f8f13681ccd859f95ce9bf6a7d72eedc367489f3 SHA512 4b33936912806b5f607492d253d5cc6b2523d4892043caad82fed76140e53a0e9dec8178811a618cdc9b64f247e37145d474eb1979d181dd595b4905def1da8f +DIST scikit_build_core-0.9.0.tar.gz 224820 BLAKE2B 1221745656016ac90f1ac8bf9fb0d43c9f6f2dbd366b70522e2c8bcc15da87d64fc0ae84a583b811faa4cae638b9ab9d3987b21bccb29698fffb3d83cb26d881 SHA512 6d8dbb902a37c7d75f4e0c6d237f0aff6e6bcf08d0757bcef5d854b62b1ba3c562065aff7e87f0860803d4e768d0f6b2c4e866ae992b4fa510f0bee8d516431e diff --git a/dev-python/scikit-build-core/scikit-build-core-0.9.0.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.9.0.ebuild new file mode 100644 index 000000000000..35a8eee75dc0 --- /dev/null +++ b/dev-python/scikit-build-core/scikit-build-core-0.9.0.ebuild @@ -0,0 +1,61 @@ +# 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..12} ) + +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 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# we always want [pyproject] extra +RDEPEND=" + >=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 subprocess -m "not isolated and not network" +} |