summaryrefslogtreecommitdiff
path: root/devel/commitizen/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/commitizen/Makefile')
-rw-r--r--devel/commitizen/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/commitizen/Makefile b/devel/commitizen/Makefile
index 12eb71dfea76..42cff50d24ed 100644
--- a/devel/commitizen/Makefile
+++ b/devel/commitizen/Makefile
@@ -1,6 +1,5 @@
PORTNAME= commitizen
-PORTVERSION= 3.27.0
-PORTREVISION= 1
+PORTVERSION= 3.31.0
CATEGORIES= devel python
MASTER_SITES= PYPI
@@ -17,11 +16,10 @@ PY_RDEPS= Jinja2>=2.10.3:devel/py-Jinja2 \
charset-normalizer>=2.1.0:textproc/py-charset-normalizer \
colorama>=0.4.1:devel/py-colorama \
decli>=0.6.0:devel/py-decli \
- importlib-metadata>=4.13:devel/py-importlib-metadata \
packaging>=19:devel/py-packaging \
pyyaml>=3.08:devel/py-pyyaml \
prompt-toolkit>0:devel/py-prompt-toolkit \
- questionary>=1.9:devel/py-questionary \
+ questionary>=2.0:devel/py-questionary \
termcolor>=1.1:devel/py-termcolor \
tomlkit>=0.5.3:textproc/py-tomlkit
BUILD_DEPENDS= ${PY_BDEPS:S,^,${PYTHON_PKGNAMEPREFIX},:S,$,@${PY_FLAVOR},}
@@ -33,3 +31,7 @@ USE_PYTHON= autoplist pep517
NO_ARCH= yes
.include <bsd.port.mk>
+
+.if ${PYTHON_MAJOR_VER} == 3 && ${PYTHON_VER:E} < 10
+PY_RDEPS+= importlib-metadata>=8.0.0:devel/py-importlib-metadata
+.endif