sthen 2206a80000 rename MODPY_PEP517 to MODPY_PYBUILD which is a bit less of a
magic-numbers name and more of a nod at the frontend we're actually
using for the build.
2022-09-13 20:56:17 +00:00

39 lines
749 B
Makefile

COMMENT = simple packaging tool for simple packages
MODPY_EGG_VERSION = 3.7.1
REVISION = 0
DISTNAME = flit-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = devel
# https://github.com/pypa/flit
HOMEPAGE = https://flit.pypa.io/
# BSD
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
FLAVOR = python3
FLAVORS = python3
RUN_DEPENDS = devel/py-flit_core${MODPY_FLAVOR} \
textproc/py-docutils${MODPY_FLAVOR} \
textproc/py-tomli${MODPY_FLAVOR} \
textproc/py-tomli_w${MODPY_FLAVOR} \
www/py-requests${MODPY_FLAVOR}
MODPY_PYTEST = Yes
TEST_DEPENDS = devel/py-testpath${MODPY_FLAVOR} \
www/py-responses${MODPY_FLAVOR}
MODPY_PYBUILD = flit_core
pre-test:
ln -s ${MODPY_BIN} ${WRKDIR}/bin/python
.include <bsd.port.mk>