devel/py-flake8_simplify: Add py-flake8_simplify 0.20.0

flake8-simplify is a flake8 plugin that helps you simplify your code.
This commit is contained in:
Po-Chuan Hsieh 2023-04-09 21:16:49 +08:00
parent 7c73fef186
commit b02689bbbe
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
4 changed files with 35 additions and 0 deletions

View file

@ -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

View file

@ -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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1680726006
SHA256 (flake8_simplify-0.20.0.tar.gz) = 7b8796bbea8aed45f56621c389d0556cc86f0afa5d992581139451240a8fbeca
SIZE (flake8_simplify-0.20.0.tar.gz) = 33312

View file

@ -0,0 +1 @@
flake8-simplify is a flake8 plugin that helps you simplify your code.