py-mechanize only works on python 2.x

With hat:	portmgr
This commit is contained in:
Antoine Brodin 2017-11-30 20:28:15 +00:00
parent 0400e7971d
commit 3b4eae371d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455224
3 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mechanize>=0.2.0:www/py-mechanize@${FLAVOR}
${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}WebTest>=0:www/py-WebTest@${FLAVOR}
USES= python zip
USES= python:2.7 zip
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

View file

@ -13,7 +13,7 @@ COMMENT= Stateful programmatic web browsing in Python
LICENSE= BSD3CLAUSE
USES= python
USES= python:2.7
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

View file

@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}selenium>=2.47:www/py-selenium@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cssselect>0:www/py-cssselect@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR}
USES= python
USES= python:2.7
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>