commit: fb9fff65e2cc9a07d83c38be95b444983afa5a22 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Jan 2 04:59:11 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Jan 2 05:07:26 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb9fff65
dev-python/scikit-build-core: Bump to 0.7.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/scikit-build-core/Manifest | 1 + .../scikit-build-core-0.7.1.ebuild | 54 ++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest index 1ed47daae3fe..a1cd23b3705b 100644 --- a/dev-python/scikit-build-core/Manifest +++ b/dev-python/scikit-build-core/Manifest @@ -1 +1,2 @@ DIST scikit_build_core-0.7.0.tar.gz 197884 BLAKE2B f632cc131af9db03db2c84b32e451c6369273f9d5db0bca2991cface419c5f9faa5d98239a8a5edd8a36749bc368c0f3c25b3813f33ed63f125731ba4e3d11ae SHA512 ee50070156030fe6c8e07db428902bec67e2267bf36338e62bd936e63f402da869fc4c629c0bc274ab6f798642d163906cc8d6695a62228580ba979878e5d6f8 +DIST scikit_build_core-0.7.1.tar.gz 197949 BLAKE2B bcce5c5f71ce1417e5912d9c60c1f1c8bd656feb16b255e7d94f8fe49f75354c940a940fedd07f9c03b200c8858e24537686067463a47699e9285178e64f32f8 SHA512 30b479708b2265789ad4d43ab0ef8a433cf6745223b9812e95b0e45356ab9ad0689ee8f546f3c3af0bd482342d5518d381481b58480b715023c6baa87235952a diff --git a/dev-python/scikit-build-core/scikit-build-core-0.7.1.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.7.1.ebuild new file mode 100644 index 000000000000..d49a764ca1e3 --- /dev/null +++ b/dev-python/scikit-build-core/scikit-build-core-0.7.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( 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-20.9[${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.1[${PYTHON_USEDEP}] + ' 3.9 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/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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p subprocess -m "not isolated and not network" +}