freebsd-ports/devel/py-installer/Makefile

24 lines
609 B
Makefile

PORTNAME= installer
PORTVERSION= 0.7.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Library for installing Python wheels
WWW= https://github.com/pypa/installer
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.7+
USE_PYTHON= allflavors autoplist concurrent pep517
MAKE_ENV= PYTHONPATH=${WRKSRC}/src
NO_ARCH= yes
PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel
PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2.0<4:devel/py-flit-core@${PY_FLAVOR}
PEP517_INSTALL_DEPEND= # empty
.include <bsd.port.mk>