git: ef96491495d1 - main - devel/py-autoflake: Update to 2.2.0

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 06 Aug 2023 14:48:01 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ef96491495d14fc1e6846544f434f4ef94468da7

commit ef96491495d14fc1e6846544f434f4ef94468da7
Author:     Goran Mekić <meka@tilda.center>
AuthorDate: 2023-08-06 14:45:27 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-08-06 14:45:27 +0000

    devel/py-autoflake: Update to 2.2.0
    
    - Switch to DISTVERSION
    - Move pytest from USES to USE_PYTHON
    
    ChangeLog:      https://github.com/PyCQA/autoflake/releases/tag/v2.2.0
    PR:             272265
---
 devel/py-autoflake/Makefile | 8 ++++----
 devel/py-autoflake/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/devel/py-autoflake/Makefile b/devel/py-autoflake/Makefile
index de89b8f9f816..848d551bccf2 100644
--- a/devel/py-autoflake/Makefile
+++ b/devel/py-autoflake/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	autoflake
-PORTVERSION=	2.1.1
+DISTVERSION=	2.2.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +12,10 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyflakes>=1.1.0:devel/py-pyflakes@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyflakes>=3.0.0:devel/py-pyflakes@${PY_FLAVOR}
 
-USES=		pytest python shebangfix
-USE_PYTHON=	autoplist pep517
+USES=		python shebangfix
+USE_PYTHON=	autoplist pep517 pytest
 
 SHEBANG_FILES=	autoflake.py test_autoflake.py
 
diff --git a/devel/py-autoflake/distinfo b/devel/py-autoflake/distinfo
index 127a3a853985..1636985ca8c8 100644
--- a/devel/py-autoflake/distinfo
+++ b/devel/py-autoflake/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1683710144
-SHA256 (autoflake-2.1.1.tar.gz) = 75524b48d42d6537041d91f17573b8a98cb645642f9f05c7fcc68de10b1cade3
-SIZE (autoflake-2.1.1.tar.gz) = 26564
+TIMESTAMP = 1687938592
+SHA256 (autoflake-2.2.0.tar.gz) = 62e1f74a0fdad898a96fee6f99fe8241af90ad99c7110c884b35855778412251
+SIZE (autoflake-2.2.0.tar.gz) = 27458