mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
devel/meson-python: add
PEP-517 build backend that uses Meson
This commit is contained in:
parent
a1039fe12a
commit
316d64c81e
4 changed files with 44 additions and 0 deletions
|
@ -1566,6 +1566,7 @@
|
|||
SUBDIR += mercurial
|
||||
SUBDIR += mergify
|
||||
SUBDIR += meson
|
||||
SUBDIR += meson-python
|
||||
SUBDIR += microsoft-gsl
|
||||
SUBDIR += mill
|
||||
SUBDIR += mimalloc
|
||||
|
|
36
devel/meson-python/Makefile
Normal file
36
devel/meson-python/Makefile
Normal file
|
@ -0,0 +1,36 @@
|
|||
PORTNAME= meson-python
|
||||
DISTVERSION= 0.12.1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= meson_python-${DISTVERSION}
|
||||
|
||||
MAINTAINER= vishwin@FreeBSD.org
|
||||
COMMENT= Meson Python build backend (PEP-517)
|
||||
WWW= https://github.com/mesonbuild/meson-python
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= meson>=0.63.3:devel/meson \
|
||||
${PYTHON_PKGNAMEPREFIX}pyproject-metadata>=0.6.1:devel/py-pyproject-metadata@${PY_FLAVOR}
|
||||
RUN_DEPENDS= meson>=0.63.3:devel/meson \
|
||||
${PYTHON_PKGNAMEPREFIX}pyproject-metadata>=0.6.1:devel/py-pyproject-metadata@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 31100
|
||||
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.0.0:textproc/py-tomli@${PY_FLAVOR}
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.0.0:textproc/py-tomli@${PY_FLAVOR}
|
||||
.endif
|
||||
.if ${PYTHON_REL} < 31000
|
||||
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4:devel/py-typing-extensions@${PY_FLAVOR}
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4:devel/py-typing-extensions@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
devel/meson-python/distinfo
Normal file
3
devel/meson-python/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1678312697
|
||||
SHA256 (meson_python-0.12.1.tar.gz) = 3d5b3e581d70a58a97b9c116a75e97a76cc4b4c7e75fa0658fc8392371e2f2c2
|
||||
SIZE (meson_python-0.12.1.tar.gz) = 44039
|
4
devel/meson-python/pkg-descr
Normal file
4
devel/meson-python/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
|||
Python build backend (PEP-517) for Meson projects.
|
||||
|
||||
It enables Python package authors to use Meson as the build backend
|
||||
for their packages.
|
Loading…
Add table
Reference in a new issue