View | Details | Raw Unified | Return to bug 244759
Collapse All | Expand All

(-)b/devel/Makefile (+1 lines)
Lines 4068-4073 Link Here
4068
    SUBDIR += py-atomicwrites
4068
    SUBDIR += py-atomicwrites
4069
    SUBDIR += py-atpublic
4069
    SUBDIR += py-atpublic
4070
    SUBDIR += py-attrs
4070
    SUBDIR += py-attrs
4071
    SUBDIR += py-autoflake
4071
    SUBDIR += py-automaton
4072
    SUBDIR += py-automaton
4072
    SUBDIR += py-avro
4073
    SUBDIR += py-avro
4073
    SUBDIR += py-aws-sam-translator
4074
    SUBDIR += py-aws-sam-translator
(-)b/devel/py-autoflake/Makefile (+29 lines)
Added Link Here
1
# $FreeBSD$
2
3
PORTNAME=	autoflake
4
PORTVERSION=	1.3.1
5
CATEGORIES=	devel python
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
9
MAINTAINER=	meka@tilda.center
10
COMMENT=	Removes unused imports and unused variables from Python code
11
12
LICENSE=	MIT
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyflakes>=1.1.0:devel/py-pyflakes@${PY_FLAVOR}
16
17
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
18
19
USES=		python
20
USE_PYTHON=	autoplist concurrent distutils
21
22
TEST_ENV=	PYTHONPATH=${WRKSRC}/src
23
24
NO_ARCH=	yes
25
26
do-test:
27
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts=
28
29
.include <bsd.port.mk>
(-)b/devel/py-autoflake/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1584024731
2
SHA256 (autoflake-1.3.1.tar.gz) = 680cb9dade101ed647488238ccb8b8bfb4369b53d58ba2c8cdf7d5d54e01f95b
3
SIZE (autoflake-1.3.1.tar.gz) = 17443
(-)b/devel/py-autoflake/pkg-descr (+9 lines)
Added Link Here
1
Removes unused imports and unused variables from Python code. It makes use of
2
pyflakes to do this.
3
4
By default, autoflake only removes unused imports for modules that are part of
5
the standard library. (Other modules may have side effects that make them
6
unsafe to remove automatically.) Removal of unused variables is also disabled
7
by default.
8
9
WWW: https://github.com/myint/autoflake

Return to bug 244759