diff --git a/textproc/py-mistune/Makefile b/textproc/py-mistune/Makefile index ca1c6807f220..a52d4c5bbbc1 100644 --- a/textproc/py-mistune/Makefile +++ b/textproc/py-mistune/Makefile @@ -1,24 +1,25 @@ PORTNAME= mistune PORTVERSION= 2.0.4 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fastest markdown parser in pure Python WWW= https://github.com/lepture/mistune LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + USES= cpe python:3.6+ -USE_PYTHON= autoplist concurrent distutils unittest +USE_PYTHON= autoplist concurrent pep517 unittest NO_ARCH= yes CPE_VENDOR= mistune_project -post-patch: - @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ - .include diff --git a/textproc/py-mistune/files/setup.py b/textproc/py-mistune/files/setup.py deleted file mode 100644 index 606849326a40..000000000000 --- a/textproc/py-mistune/files/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -from setuptools import setup - -setup()