git: b02689bbbe3f - main - devel/py-flake8_simplify: Add py-flake8_simplify 0.20.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Apr 2023 13:39:07 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b02689bbbe3f9fd75f2c2f10c196db87bfe09a78 commit b02689bbbe3f9fd75f2c2f10c196db87bfe09a78 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-04-09 13:16:49 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-04-09 13:36:25 +0000 devel/py-flake8_simplify: Add py-flake8_simplify 0.20.0 flake8-simplify is a flake8 plugin that helps you simplify your code. --- devel/Makefile | 1 + devel/py-flake8_simplify/Makefile | 30 ++++++++++++++++++++++++++++++ devel/py-flake8_simplify/distinfo | 3 +++ devel/py-flake8_simplify/pkg-descr | 1 + 4 files changed, 35 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 328da2723781..f8629f3a5d75 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4604,6 +4604,7 @@ SUBDIR += py-flake8-print SUBDIR += py-flake8-pyi SUBDIR += py-flake8-quotes + SUBDIR += py-flake8_simplify SUBDIR += py-flaky SUBDIR += py-flask-babel SUBDIR += py-flatbuffers diff --git a/devel/py-flake8_simplify/Makefile b/devel/py-flake8_simplify/Makefile new file mode 100644 index 000000000000..605b4489b62a --- /dev/null +++ b/devel/py-flake8_simplify/Makefile @@ -0,0 +1,30 @@ +PORTNAME= flake8_simplify +PORTVERSION= 0.20.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= flake8 plugin which checks for code that can be simplified +WWW= https://github.com/MartinThoma/flake8-simplify + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.2:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astor>=0.1:devel/py-astor@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}flake8>=3.7:devel/py-flake8@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 30900 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0.9:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> diff --git a/devel/py-flake8_simplify/distinfo b/devel/py-flake8_simplify/distinfo new file mode 100644 index 000000000000..eb1fed04d1f0 --- /dev/null +++ b/devel/py-flake8_simplify/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1680726006 +SHA256 (flake8_simplify-0.20.0.tar.gz) = 7b8796bbea8aed45f56621c389d0556cc86f0afa5d992581139451240a8fbeca +SIZE (flake8_simplify-0.20.0.tar.gz) = 33312 diff --git a/devel/py-flake8_simplify/pkg-descr b/devel/py-flake8_simplify/pkg-descr new file mode 100644 index 000000000000..9aff7a9b9d57 --- /dev/null +++ b/devel/py-flake8_simplify/pkg-descr @@ -0,0 +1 @@ +flake8-simplify is a flake8 plugin that helps you simplify your code.