This commit is contained in:
2023-03-12 21:19:08 +02:00
parent 03557b463a
commit 56b18d31aa
339 changed files with 16782 additions and 918 deletions

View 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>

View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1674588052
SHA256 (pyproject_hooks-1.0.0.tar.gz) = f271b298b97f5955d53fb12b72c1fb1948c22c1a6b70b315c54cedaca0264ef5
SIZE (pyproject_hooks-1.0.0.tar.gz) = 16901

View File

@@ -0,0 +1,7 @@
pyproject-hooks is a low-level library for calling build-backends in
pyproject.toml-based project. It provides the basic functionality to help write
tooling that generates distribution files from Python projects.
If you want a tool that builds Python packages, you'll want to use
devel/py-build instead. This is an underlying piece for pip, build and other
"build frontends" use to call "build backends" within them.