git: 8b6b50ba0e7d - main - devel/py-flake8-print: Add py-flake8-print 5.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 Aug 2022 18:50:29 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8b6b50ba0e7d4b8cd1860949e998372dfc18aba8
commit 8b6b50ba0e7d4b8cd1860949e998372dfc18aba8
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-08-31 18:06:23 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-08-31 18:49:27 +0000
devel/py-flake8-print: Add py-flake8-print 5.0.0
Flake8 print plugin checks for print statements in python files.
WWW: https://github.com/JBKahn/flake8-print
---
devel/Makefile | 1 +
devel/py-flake8-print/Makefile | 21 +++++++++++++++++++++
devel/py-flake8-print/distinfo | 3 +++
devel/py-flake8-print/pkg-descr | 3 +++
4 files changed, 28 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 3069ad0cdab5..23cb44d00fd5 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4515,6 +4515,7 @@
SUBDIR += py-flake8-docstrings
SUBDIR += py-flake8-import-order
SUBDIR += py-flake8-polyfill
+ SUBDIR += py-flake8-print
SUBDIR += py-flake8-quotes
SUBDIR += py-flaky
SUBDIR += py-flask-babel
diff --git a/devel/py-flake8-print/Makefile b/devel/py-flake8-print/Makefile
new file mode 100644
index 000000000000..b186252c0e37
--- /dev/null
+++ b/devel/py-flake8-print/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= flake8-print
+PORTVERSION= 5.0.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Print statement checker plugin for flake8
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENCE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flake8>=3.0:devel/py-flake8@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pycodestyle>=0:devel/py-pycodestyle@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-flake8-print/distinfo b/devel/py-flake8-print/distinfo
new file mode 100644
index 000000000000..c1cb58c30bfb
--- /dev/null
+++ b/devel/py-flake8-print/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1661950802
+SHA256 (flake8-print-5.0.0.tar.gz) = 76915a2a389cc1c0879636c219eb909c38501d3a43cc8dae542081c9ba48bdf9
+SIZE (flake8-print-5.0.0.tar.gz) = 5166
diff --git a/devel/py-flake8-print/pkg-descr b/devel/py-flake8-print/pkg-descr
new file mode 100644
index 000000000000..acacbc7027ab
--- /dev/null
+++ b/devel/py-flake8-print/pkg-descr
@@ -0,0 +1,3 @@
+Flake8 print plugin checks for print statements in python files.
+
+WWW: https://github.com/JBKahn/flake8-print