aboutsummaryrefslogtreecommitdiff
path: root/devel/py-pep8-naming/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-pep8-naming/Makefile')
-rw-r--r--devel/py-pep8-naming/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/devel/py-pep8-naming/Makefile b/devel/py-pep8-naming/Makefile
new file mode 100644
index 000000000000..24eec23d901a
--- /dev/null
+++ b/devel/py-pep8-naming/Makefile
@@ -0,0 +1,25 @@
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= pep8-naming
+PORTVERSION= 0.5.0
+CATEGORIES= devel
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= amdmi3@FreeBSD.org
+COMMENT= Check PEP-8 naming conventions, plugin for flake8
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flake8-polyfill>=0:devel/py-flake8-polyfill@${FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+.include <bsd.port.mk>