git: 96bf481d6f08 - main - devel/py-scikit-build-core: New port: Build backend for CMake based projects

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 15 Apr 2023 05:02:28 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=96bf481d6f089c967e724e030d125d7cb93b8395

commit 96bf481d6f089c967e724e030d125d7cb93b8395
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-04-15 04:52:41 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-04-15 05:02:20 +0000

    devel/py-scikit-build-core: New port: Build backend for CMake based projects
---
 devel/Makefile                       |  1 +
 devel/py-scikit-build-core/Makefile  | 31 +++++++++++++++++++++++++++++++
 devel/py-scikit-build-core/distinfo  |  3 +++
 devel/py-scikit-build-core/pkg-descr |  2 ++
 4 files changed, 37 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 5997168bfb96..9d3effe7bd02 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5431,6 +5431,7 @@
     SUBDIR += py-schema
     SUBDIR += py-schematics-patched
     SUBDIR += py-scikit-build
+    SUBDIR += py-scikit-build-core
     SUBDIR += py-scooby
     SUBDIR += py-scripttest
     SUBDIR += py-selection
diff --git a/devel/py-scikit-build-core/Makefile b/devel/py-scikit-build-core/Makefile
new file mode 100644
index 000000000000..82d3bbd1264a
--- /dev/null
+++ b/devel/py-scikit-build-core/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	scikit-build-core
+DISTVERSION=	0.3.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/g}-${PORTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Build backend for CMake based projects
+WWW=		https://scikit-build-core.readthedocs.io/en/latest/
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}exceptiongroup>0:devel/py-exceptiongroup@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}importlib-resources>=1.3:devel/py-importlib-resources@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}packaging>=20.9:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tomli>=1.1:textproc/py-tomli@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10.0:devel/py-typing-extensions@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.3:devel/py-hatch-vcs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \
+		${PY_DEPENDS}
+RUN_DEPENDS=	${PY_DEPENDS}
+
+USES=		python:3.8+
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-scikit-build-core/distinfo b/devel/py-scikit-build-core/distinfo
new file mode 100644
index 000000000000..c3b207de366a
--- /dev/null
+++ b/devel/py-scikit-build-core/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681533755
+SHA256 (scikit_build_core-0.3.0.tar.gz) = e28307605032245e342e773ac53bc3b841c01ea40ddef223cf82af30186384d9
+SIZE (scikit_build_core-0.3.0.tar.gz) = 140807
diff --git a/devel/py-scikit-build-core/pkg-descr b/devel/py-scikit-build-core/pkg-descr
new file mode 100644
index 000000000000..bebd21121b7d
--- /dev/null
+++ b/devel/py-scikit-build-core/pkg-descr
@@ -0,0 +1,2 @@
+scikit-build-core is a next generation Python CMake adaptor and Python API
+for plugins.