77d68471ad
PR: 267994 Differential revision: D37518 Approved by: bapt
27 lines
864 B
Makefile
27 lines
864 B
Makefile
PORTNAME= flake8-builtins
|
|
PORTVERSION= 2.1.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Check for python builtins being used as variables or parameters
|
|
WWW= https://pypi.org/project/flake8-builtins/ \
|
|
https://github.com/gforcada/flake8-builtins
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}hypothesmith>=0:devel/py-hypothesmith@${PY_FLAVOR}
|
|
|
|
USES= python:3.7+
|
|
USE_PYTHON= autoplist distutils
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${LOCALBASE}/bin/py.test-${PYTHON_VER} run_tests.py
|
|
|
|
.include <bsd.port.mk>
|