Skip to content

Commit

Permalink
devel/py-scikit-build-core: New port: Build backend for CMake based p…
Browse files Browse the repository at this point in the history
…rojects
  • Loading branch information
yurivict committed Apr 15, 2023
1 parent 9720168 commit 96bf481
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -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
Expand Down
31 changes: 31 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
2 changes: 2 additions & 0 deletions 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.

0 comments on commit 96bf481

Please sign in to comment.