svn commit: r539796 - head/www/py-tuir
Fernando Apesteguía
fernape at FreeBSD.org
Mon Jun 22 05:46:18 UTC 2020
Author: fernape
Date: Mon Jun 22 05:46:18 2020
New Revision: 539796
URL: https://svnweb.freebsd.org/changeset/ports/539796
Log:
www/py-tuir: correct python version and add concurrent support
* The minimum Python requirement can be lowered to 2.7
* The mailcap_fix requirement is then necessary only for python < 3.6
* Add concurrent support
PR: 247438
Reported by: koobs@
Modified:
head/www/py-tuir/Makefile
Modified: head/www/py-tuir/Makefile
==============================================================================
--- head/www/py-tuir/Makefile Mon Jun 22 04:49:21 2020 (r539795)
+++ head/www/py-tuir/Makefile Mon Jun 22 05:46:18 2020 (r539796)
@@ -2,6 +2,7 @@
PORTNAME= tuir
DISTVERSION= 1.29.0
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,13 +16,18 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.5.1:www/py-beautifulsoup@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}decorator>=4.0.10:devel/py-decorator@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}kitchen>=1.2.4:devel/py-kitchen@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}mailcap_fix>=0.1.3:devel/py-mailcap-fix@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}requests>=2.11.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.4.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR}
-USES= python:3.6+
-USE_PYTHON= autoplist distutils
+USES= python:2.7+
+USE_PYTHON= autoplist concurrent distutils
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_VER} < 3.6
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mailcap_fix>=0.1.3:devel/py-mailcap-fix@${PY_FLAVOR}
+.endif
+
NO_ARCH= yes
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list