mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 10:31:20 +02:00
xxx
This commit is contained in:
32
python/py-build/Makefile
Normal file
32
python/py-build/Makefile
Normal file
@@ -0,0 +1,32 @@
|
||||
PORTNAME= build
|
||||
PORTVERSION= 0.10.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= PEP517 package builder
|
||||
WWW= https://github.com/pypa/build
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=19.0:python/py-packaging@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyproject_hooks>=0:python/py-pyproject_hooks@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel
|
||||
PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.4:python/py-flit-core@${PY_FLAVOR}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 30800
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0.22:python/py-importlib-metadata@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
.if ${PYTHON_REL} < 31100
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:python/py-tomli@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
3
python/py-build/distinfo
Normal file
3
python/py-build/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1674589742
|
||||
SHA256 (build-0.10.0.tar.gz) = d5b71264afdb5951d6704482aac78de887c80691c52b88a9ad195983ca2c9269
|
||||
SIZE (build-0.10.0.tar.gz) = 16465
|
||||
1
python/py-build/pkg-descr
Normal file
1
python/py-build/pkg-descr
Normal file
@@ -0,0 +1 @@
|
||||
build is a simple, correct PEP517 package builder.
|
||||
Reference in New Issue
Block a user