aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-mdit-py-plugins/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-mdit-py-plugins/Makefile')
-rw-r--r--textproc/py-mdit-py-plugins/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/textproc/py-mdit-py-plugins/Makefile b/textproc/py-mdit-py-plugins/Makefile
index fe7cd288e74e..f20a551ccdce 100644
--- a/textproc/py-mdit-py-plugins/Makefile
+++ b/textproc/py-mdit-py-plugins/Makefile
@@ -1,5 +1,6 @@
PORTNAME= mdit-py-plugins
PORTVERSION= 0.3.3
+PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,14 +12,12 @@ WWW= https://github.com/executablebooks/mdit-py-plugins
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.4<4:devel/py-flit-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown-it-py>=1.0.0<3.0.0:textproc/py-markdown-it-py@${PY_FLAVOR}
USES= python:3.7+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
-post-patch:
- @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
-
.include <bsd.port.mk>