freebsd-ports/devel/py-entrypoints/Makefile

23 lines
522 B
Makefile

PORTNAME= entrypoints
PORTVERSION= 0.4
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@FreeBSD.org
COMMENT= Discover and load entry points from installed packages
WWW= https://github.com/takluyver/entrypoints
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
post-patch:
@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
.include <bsd.port.mk>