summaryrefslogtreecommitdiff
path: root/textproc/py-autopep8/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-autopep8/Makefile')
-rw-r--r--textproc/py-autopep8/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/textproc/py-autopep8/Makefile b/textproc/py-autopep8/Makefile
index 5c99cf84adfa..e91d335c3ea0 100644
--- a/textproc/py-autopep8/Makefile
+++ b/textproc/py-autopep8/Makefile
@@ -1,5 +1,5 @@
PORTNAME= autopep8
-PORTVERSION= 2.3.0
+PORTVERSION= 2.3.1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,17 +13,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycodestyle>=2.11.0:devel/py-pycodestyle@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycodestyle>=2.11.0:devel/py-pycodestyle@${PY_FLAVOR} \
+ ${PY_TOMLI}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 31100
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>