freebsd-ports/devel/py-installer/Makefile

27 lines
575 B
Makefile
Raw Normal View History

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= installer
PORTVERSION= 0.4.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Library for installing Python wheels
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 30700
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>