summaryrefslogtreecommitdiff
path: root/textproc/py-cssselect2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-cssselect2/Makefile')
-rw-r--r--textproc/py-cssselect2/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/textproc/py-cssselect2/Makefile b/textproc/py-cssselect2/Makefile
index 5e8bb7841cf0..247d07fdd8dc 100644
--- a/textproc/py-cssselect2/Makefile
+++ b/textproc/py-cssselect2/Makefile
@@ -1,7 +1,7 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= cssselect2
-PORTVERSION= 0.4.1
+PORTVERSION= 0.5.0
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,9 +15,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tinycss2>=0:textproc/py-tinycss2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}webencodings>=0:converters/py-webencodings@${PY_FLAVOR}
-USES= python:3.6+
+USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+post-patch:
+ @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
+
.include <bsd.port.mk>