commit:     6c2925559056480893616f2d04a4cfe3c431a448
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 23 06:59:54 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jun 23 07:33:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c292555

dev-python/scikit-build-core: New package, v0.4.6

New NIH backend for dev-python/iminuit bump.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/scikit-build-core/Manifest              |  1 +
 dev-python/scikit-build-core/metadata.xml          | 12 ++++++
 .../scikit-build-core-0.4.6.ebuild                 | 48 ++++++++++++++++++++++
 3 files changed, 61 insertions(+)

diff --git a/dev-python/scikit-build-core/Manifest 
b/dev-python/scikit-build-core/Manifest
new file mode 100644
index 000000000000..ad4ae8e5b25c
--- /dev/null
+++ b/dev-python/scikit-build-core/Manifest
@@ -0,0 +1 @@
+DIST scikit_build_core-0.4.6.tar.gz 160670 BLAKE2B 
8efa818ed17d898818c7fd1f56ed36369b25fcba62fdc4172e147db9a70a9a468e8472b8cca599c7afd32fe5ef3fdfce30d173359ddc4ff7ea7db6c257f63f9a
 SHA512 
24f5ebfd855677c6f7af8f5098c257326cffc5de5cd0d04b4dc51f40c78784c7dc49ccbc97d43460f5091478b0b9bb09c4d3c93178699ec1938521688fc48bd8

diff --git a/dev-python/scikit-build-core/metadata.xml 
b/dev-python/scikit-build-core/metadata.xml
new file mode 100644
index 000000000000..4636b4452315
--- /dev/null
+++ b/dev-python/scikit-build-core/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>pyt...@gentoo.org</email>
+       </maintainer>
+       <stabilize-allarches/>
+       <upstream>
+               <remote-id 
type="github">scikit-build/scikit-build-core</remote-id>
+               <remote-id type="pypi">scikit-build-core</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-python/scikit-build-core/scikit-build-core-0.4.6.ebuild 
b/dev-python/scikit-build-core/scikit-build-core-0.4.6.ebuild
new file mode 100644
index 000000000000..9cf9fc3a704b
--- /dev/null
+++ b/dev-python/scikit-build-core/scikit-build-core-0.4.6.ebuild
@@ -0,0 +1,48 @@
+# 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"
+
+# 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() {
+       epytest -m "not isolated and not network"
+}

Reply via email to