Since devel/py-promise requires 3.6.4+, the minimal version is set to 3.6.4. With hat: python
28 lines
637 B
Makefile
28 lines
637 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= importlib-resources
|
|
PORTVERSION= 1.0.2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= importlib_resources-${PORTVERSION}
|
|
|
|
MAINTAINER= swills@FreeBSD.org
|
|
COMMENT= Read resources from Python packages
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PY_TYPING}
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PYTHON_REL} < 3500
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pathlib2>=0:devel/py-pathlib2@${PY_FLAVOR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|