git: ca50d29b16ca - main - devel/py-flake8-black: Update to 0.3.6

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 13:08:39 UTC
The branch main has been updated by sunpoet:

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

commit ca50d29b16ca6ea47c0a8271e673c0e63fa57f2e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:31:12 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 12:59:44 +0000

    devel/py-flake8-black: Update to 0.3.6
    
    Changes:        https://github.com/peterjc/flake8-black/commits/master
---
 devel/py-flake8-black/Makefile | 13 +++++++++----
 devel/py-flake8-black/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/devel/py-flake8-black/Makefile b/devel/py-flake8-black/Makefile
index 15c36e9f8434..3767924a4f3c 100644
--- a/devel/py-flake8-black/Makefile
+++ b/devel/py-flake8-black/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	flake8-black
-PORTVERSION=	0.3.4
+PORTVERSION=	0.3.6
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,15 +12,20 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.rst
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}black>=22.1.0:devel/py-black@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}flake8>=3:devel/py-flake8@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}flake8>=3:devel/py-flake8@${PY_FLAVOR}
 
 USES=		python:3.7+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31100
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR}
+.endif
+
 post-patch:
 	@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/py-flake8-black/distinfo b/devel/py-flake8-black/distinfo
index 6fe5ad6c4465..17b749f0fa8b 100644
--- a/devel/py-flake8-black/distinfo
+++ b/devel/py-flake8-black/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669057731
-SHA256 (flake8-black-0.3.4.tar.gz) = 7f96a4c80a828d09f1d550724e16aabb2adacd6a5f8e0bb051df422fc63d2183
-SIZE (flake8-black-0.3.4.tar.gz) = 14405
+TIMESTAMP = 1674589774
+SHA256 (flake8-black-0.3.6.tar.gz) = 0dfbca3274777792a5bcb2af887a4cad72c72d0e86c94e08e3a3de151bb41c34
+SIZE (flake8-black-0.3.6.tar.gz) = 14565