git: 3c13d0d3e4fb - main - devel/py-flake8-black: Update to 0.3.4

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 30 Dec 2022 09:10:28 UTC
The branch main has been updated by sunpoet:

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

commit 3c13d0d3e4fb581877ec6df522d669ee241409ab
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-12-30 08:42:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-12-30 09:04:36 +0000

    devel/py-flake8-black: Update to 0.3.4
    
    Changes:        https://github.com/peterjc/flake8-black/commits/master
---
 devel/py-flake8-black/Makefile       | 7 +++++--
 devel/py-flake8-black/distinfo       | 6 +++---
 devel/py-flake8-black/files/setup.py | 3 +++
 3 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/devel/py-flake8-black/Makefile b/devel/py-flake8-black/Makefile
index e6c12d4777d6..ce2a6d51601a 100644
--- a/devel/py-flake8-black/Makefile
+++ b/devel/py-flake8-black/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	flake8-black
-PORTVERSION=	0.3.3
+PORTVERSION=	0.3.4
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +12,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.rst
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}black>=22.1.0:devel/py-black@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}flake8>=3.0.0:devel/py-flake8@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}flake8>=3:devel/py-flake8@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR}
 
 USES=		python:3.7+
@@ -20,4 +20,7 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+post-patch:
+	@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
+
 .include <bsd.port.mk>
diff --git a/devel/py-flake8-black/distinfo b/devel/py-flake8-black/distinfo
index 123b270ab486..6fe5ad6c4465 100644
--- a/devel/py-flake8-black/distinfo
+++ b/devel/py-flake8-black/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1657292468
-SHA256 (flake8-black-0.3.3.tar.gz) = 8211f5e20e954cb57c709acccf2f3281ce27016d4c4b989c3e51f878bb7ce12a
-SIZE (flake8-black-0.3.3.tar.gz) = 14635
+TIMESTAMP = 1669057731
+SHA256 (flake8-black-0.3.4.tar.gz) = 7f96a4c80a828d09f1d550724e16aabb2adacd6a5f8e0bb051df422fc63d2183
+SIZE (flake8-black-0.3.4.tar.gz) = 14405
diff --git a/devel/py-flake8-black/files/setup.py b/devel/py-flake8-black/files/setup.py
new file mode 100644
index 000000000000..606849326a40
--- /dev/null
+++ b/devel/py-flake8-black/files/setup.py
@@ -0,0 +1,3 @@
+from setuptools import setup
+
+setup()