summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-02-15 05:01:03 +0100
committerMichał Górny <mgorny@gentoo.org>2024-02-15 05:10:07 +0100
commit912f9fceb6b37ef57ced7fd5174425d8287572ab (patch)
tree9e32fbbb631a47ae78df3c55785fdf2562928a48 /dev-python/scikit-build-core
parentdev-python/sqlglot: Bump to 21.1.1 (diff)
downloadgentoo-912f9fceb6b37ef57ced7fd5174425d8287572ab.tar.gz
gentoo-912f9fceb6b37ef57ced7fd5174425d8287572ab.tar.bz2
gentoo-912f9fceb6b37ef57ced7fd5174425d8287572ab.zip
dev-python/scikit-build-core: Bump to 0.8.1
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/Manifest1
-rw-r--r--dev-python/scikit-build-core/scikit-build-core-0.8.1.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest
index 3797d9e9af13..6973f0cfdd9a 100644
--- a/dev-python/scikit-build-core/Manifest
+++ b/dev-python/scikit-build-core/Manifest
@@ -1,3 +1,4 @@
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
DIST scikit_build_core-0.8.0.tar.gz 202019 BLAKE2B 92eded3ca562cb3089502cdf017e33ceca6a816e8ee73a62e780a7c291b4606710598fb357585fcfb83362bd5c4275d31b602ad7243aadce94a78bcae1ae5cd3 SHA512 82a20d54a699403ce97e71b95288935e5f0fb3ebafa897d9620612727d4aee5a003384e65665b002b1f2db2b0672d9b05c0428d26f00bc5300cbd884cef6e519
+DIST scikit_build_core-0.8.1.tar.gz 202391 BLAKE2B acfa3d2c235ac1837b52e96a3b3a04329f9c4a1cb89ed6f56dc1596d67e5881f5a2950bb3b55e038f2b958579cb3824fc379af310ca9c1ae4dc90f16cb1c1834 SHA512 a343391178456af740e527002187161f83dbe94d1802fc8bd0e1370739367e351709449686a6fe5cfca24dd445f39f3dcafa8762a9a5f2e845d5c2a22e2534da
diff --git a/dev-python/scikit-build-core/scikit-build-core-0.8.1.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.8.1.ebuild
new file mode 100644
index 000000000000..d49a764ca1e3
--- /dev/null
+++ b/dev-python/scikit-build-core/scikit-build-core-0.8.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"
+}