mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-16 13:31:26 +02:00
xxx
This commit is contained in:
25
python/py-pyproject_hooks/Makefile
Normal file
25
python/py-pyproject_hooks/Makefile
Normal file
@@ -0,0 +1,25 @@
|
||||
PORTNAME= pyproject_hooks
|
||||
PORTVERSION= 1.0.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Wrappers to call pyproject.toml-based build backend hooks
|
||||
WWW= https://github.com/pypa/pyproject-hooks
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= allflavors autoplist concurrent pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel
|
||||
PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:python/py-flit-core@${PY_FLAVOR}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 31100
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:python/py-tomli@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
Reference in New Issue
Block a user