aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-01-30 12:31:12 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-01-30 12:59:44 +0000
commitca50d29b16ca6ea47c0a8271e673c0e63fa57f2e (patch)
treeae2608fadb276d4aa8b59ca12dec385a8baa66a9
parente6913dc3d6542baec0f8a3a3dbb68c361c142630 (diff)
downloadports-ca50d29b16ca6ea47c0a8271e673c0e63fa57f2e.tar.gz
ports-ca50d29b16ca6ea47c0a8271e673c0e63fa57f2e.zip
devel/py-flake8-black: Update to 0.3.6
-rw-r--r--devel/py-flake8-black/Makefile13
-rw-r--r--devel/py-flake8-black/distinfo6
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