summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-10-21 05:33:53 +0200
committerMichał Górny <mgorny@gentoo.org>2023-10-21 05:33:53 +0200
commitd376b59e0ce88af3f4bcf7a2a1618b5876beed2f (patch)
tree3e492628e46622cab93be66adfbd5f8226c38f69 /dev-python
parentdev-python/hvac: Bump to 2.0.0 (diff)
downloadgentoo-d376b59e0ce88af3f4bcf7a2a1618b5876beed2f.tar.gz
gentoo-d376b59e0ce88af3f4bcf7a2a1618b5876beed2f.tar.bz2
gentoo-d376b59e0ce88af3f4bcf7a2a1618b5876beed2f.zip
dev-python/scikit-build-core: Bump to 0.6.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/scikit-build-core/Manifest1
-rw-r--r--dev-python/scikit-build-core/scikit-build-core-0.6.0.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest
index ae87c7929ef6..95dc9e7d9405 100644
--- a/dev-python/scikit-build-core/Manifest
+++ b/dev-python/scikit-build-core/Manifest
@@ -1 +1,2 @@
DIST scikit_build_core-0.5.1.tar.gz 179718 BLAKE2B 31cd974a3deec188dc97ca708a04badfa8d75a0e66e85a2a814816bac126921aa5531f4f0de56f93a264b98edd341498298e1536502506d7b47ff40ca8bf92da SHA512 de7dd843a7979615a1421bc9ea6c0fde40b72ed94209783f176a5fb427a9fdee497a69e891441591d65d06a3ea619c4c67c9314cf0b7622d19cd88c149b43c7b
+DIST scikit_build_core-0.6.0.tar.gz 189359 BLAKE2B 8c2a3028b34c6dff1daa33476d87b42c80762f0f6ec2bea4e5358e573330fb5b3f470ba9c79ba662126df3950779c1f4cd67eef51c571940baa396f47e7d5679 SHA512 11841ecc2035decdbb5538235f3d1ec75afc6611de2336d6ed5b762677988223723f58b18f4c6ffaa11c47e3bb2e28f3a0fb7c41d3e68a738b039add42f9729d
diff --git a/dev-python/scikit-build-core/scikit-build-core-0.6.0.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.6.0.ebuild
new file mode 100644
index 000000000000..b3a6b7200a22
--- /dev/null
+++ b/dev-python/scikit-build-core/scikit-build-core-0.6.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..11} )
+
+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="~amd64 ~arm ~arm64 ~hppa ~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
+ )
+
+ epytest -m "not isolated and not network"
+}