forked from Lainports/freebsd-ports
changelog: https://github.com/PyCQA/autoflake/releases/tag/v2.3.1 PR: 278252 Reported by: maintainer
24 lines
624 B
Makefile
24 lines
624 B
Makefile
PORTNAME= autoflake
|
|
DISTVERSION= 2.3.1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= meka@tilda.center
|
|
COMMENT= Removes unused imports and unused variables from Python code
|
|
WWW= https://github.com/PyCQA/autoflake
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyflakes>=3.0.0:devel/py-pyflakes@${PY_FLAVOR}
|
|
|
|
USES= python shebangfix
|
|
USE_PYTHON= autoplist pep517 pytest
|
|
|
|
SHEBANG_FILES= autoflake.py test_autoflake.py
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|