freebsd-ports/devel/py-backports.entry-points-selectable/Makefile
2023-04-04 18:29:11 +00:00

31 lines
956 B
Makefile

PORTNAME= backports.entry-points-selectable
PORTVERSION= 1.2.0
PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= backports.entry_points_selectable-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Compatibility shim providing selectable entry points for older implementations
WWW= https://github.com/jaraco/backports.entry_points_selectable
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=56:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.1:devel/py-setuptools_scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 30800
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>