git: dddf6294b854 - main - devel/py-flake8-comprehensions: Add py-flake8-comprehensions 3.11.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Apr 2023 13:39:05 UTC
The branch main has been updated by sunpoet:

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

commit dddf6294b854ffa03353860c580e0a044ec2d40c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-09 13:16:48 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-09 13:36:24 +0000

    devel/py-flake8-comprehensions: Add py-flake8-comprehensions 3.11.1
    
    flake8-comprehensions is a flake8 plugin that helps you write better
    list/set/dict comprehensions.
---
 devel/Makefile                           |  1 +
 devel/py-flake8-comprehensions/Makefile  | 23 +++++++++++++++++++++++
 devel/py-flake8-comprehensions/distinfo  |  3 +++
 devel/py-flake8-comprehensions/pkg-descr |  2 ++
 4 files changed, 29 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 43ae8e9a486d..7cdec70365a8 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4596,6 +4596,7 @@
     SUBDIR += py-flake8-black
     SUBDIR += py-flake8-bugbear
     SUBDIR += py-flake8-builtins
+    SUBDIR += py-flake8-comprehensions
     SUBDIR += py-flake8-docstrings
     SUBDIR += py-flake8-future-annotations
     SUBDIR += py-flake8-import-order
diff --git a/devel/py-flake8-comprehensions/Makefile b/devel/py-flake8-comprehensions/Makefile
new file mode 100644
index 000000000000..9b93eaf257eb
--- /dev/null
+++ b/devel/py-flake8-comprehensions/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	flake8-comprehensions
+PORTVERSION=	3.11.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	flake8_comprehensions-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	flake8 plugin to help you write better list/set/dict comprehensions
+WWW=		https://github.com/adamchainz/flake8-comprehensions
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-flake8-comprehensions/distinfo b/devel/py-flake8-comprehensions/distinfo
new file mode 100644
index 000000000000..1a342e063a89
--- /dev/null
+++ b/devel/py-flake8-comprehensions/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1680726002
+SHA256 (flake8_comprehensions-3.11.1.tar.gz) = 31d6386c125e325d7c84290d71f5354295dbbf5a8d47259708fa349aa0969523
+SIZE (flake8_comprehensions-3.11.1.tar.gz) = 14674
diff --git a/devel/py-flake8-comprehensions/pkg-descr b/devel/py-flake8-comprehensions/pkg-descr
new file mode 100644
index 000000000000..51599afe3d93
--- /dev/null
+++ b/devel/py-flake8-comprehensions/pkg-descr
@@ -0,0 +1,2 @@
+flake8-comprehensions is a flake8 plugin that helps you write better
+list/set/dict comprehensions.