diff options
Diffstat (limited to 'devel/py-flynt/Makefile')
-rw-r--r-- | devel/py-flynt/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/devel/py-flynt/Makefile b/devel/py-flynt/Makefile index 6b6c9f217a6f..2af33ebf1181 100644 --- a/devel/py-flynt/Makefile +++ b/devel/py-flynt/Makefile @@ -1,5 +1,5 @@ PORTNAME= flynt -PORTVERSION= 1.0.1 +PORTVERSION= 1.0.6 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -9,11 +9,10 @@ WWW= https://github.com/ikamensh/flynt LICENSE= MIT -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astor>0:devel/py-astor@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tomli>1.1.0:textproc/py-tomli@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} -USES= python +USES= python:3.9+ USE_GITHUB= yes USE_PYTHON= autoplist pep517 @@ -21,4 +20,10 @@ NO_ARCH= yes GH_ACCOUNT= ikamensh -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 31100 +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tomli>1.1.0:textproc/py-tomli@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> |