- Change MASTER_SITES to CHEESESHOP - Remove setup.py hack Changes: https://github.com/takluyver/entrypoints/commits/master
30 lines
654 B
Makefile
30 lines
654 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= entrypoints
|
|
PORTVERSION= 0.2.3
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= python@FreeBSD.org
|
|
COMMENT= Discover and load entry points from installed packages
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PYTHON_REL} < 3000
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}configparser>=3.5:devel/py-configparser
|
|
.endif
|
|
|
|
do-test:
|
|
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYTHON_VER})
|
|
|
|
.include <bsd.port.post.mk>
|