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:
parent
7c73fef186
commit
b02689bbbe
4 changed files with 35 additions and 0 deletions
|
@ -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
|
||||
|
|
30
devel/py-flake8_simplify/Makefile
Normal file
30
devel/py-flake8_simplify/Makefile
Normal 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>
|
3
devel/py-flake8_simplify/distinfo
Normal file
3
devel/py-flake8_simplify/distinfo
Normal 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
|
1
devel/py-flake8_simplify/pkg-descr
Normal file
1
devel/py-flake8_simplify/pkg-descr
Normal file
|
@ -0,0 +1 @@
|
|||
flake8-simplify is a flake8 plugin that helps you simplify your code.
|
Loading…
Reference in a new issue