SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
42
devel/py-pyproject_hooks/Makefile
Normal file
42
devel/py-pyproject_hooks/Makefile
Normal file
|
@ -0,0 +1,42 @@
|
|||
COMMENT= wrappers to call pyproject.toml-based build backend hooks
|
||||
|
||||
MODPY_EGG_VERSION= 1.0.0
|
||||
|
||||
DISTNAME= pyproject_hooks-${MODPY_EGG_VERSION}
|
||||
PKGNAME= py-${DISTNAME}
|
||||
|
||||
CATEGORIES= devel
|
||||
|
||||
# https://github.com/pypa/pyproject-hooks
|
||||
# https://pyproject-hooks.readthedocs.io/en/latest/changelog.html
|
||||
HOMEPAGE= https://pyproject-hooks.readthedocs.io/
|
||||
|
||||
# MIT
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
MODULES= lang/python
|
||||
MODPY_PI= Yes
|
||||
|
||||
FLAVOR= python3
|
||||
FLAVORS= python3
|
||||
|
||||
RUN_DEPENDS= textproc/py-tomli${MODPY_FLAVOR}
|
||||
|
||||
MODPY_PYTEST= Yes
|
||||
TEST_DEPENDS= devel/py-testpath${MODPY_FLAVOR}
|
||||
PORTHOME= ${WRKDIR}
|
||||
|
||||
# this port is used as a BDEP by python.port.mk for ports using
|
||||
# MODPY_PYBUILD, so cannot use MODPY_PYBUILD itself.
|
||||
|
||||
BUILD_DEPENDS+= devel/py-flit_core${MODPY_FLAVOR} \
|
||||
devel/py-installer${MODPY_FLAVOR}
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${MODPY_BIN} -m flit_core.wheel
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${WRKINST}${MODPY_LIBDIR}
|
||||
${MODPY_BIN} -m installer -d ${WRKINST} ${WRKSRC}/dist/*.whl
|
||||
|
||||
.include <bsd.port.mk>
|
Loading…
Add table
Add a link
Reference in a new issue