ports/devel/py-flake8_simplify/Makefile
Po-Chuan Hsieh eb9b993267
devel/py-flake8_simplify: Remove PY_SETUPTOOLS
py-setuptools should be used rather than PY_SETUPTOOLS
2024-04-08 14:46:20 +08:00

30 lines
887 B
Makefile

PORTNAME= flake8_simplify
PORTVERSION= 0.21.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
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>