- Use USES=python:2.7

- Add NO_ARCH [1]

Approved by:	portmgr (blanket) [1]
With hat:	python
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2016-12-30 19:23:11 +00:00
parent 69a69e70ec
commit 298e7241da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430059

View File

@ -14,13 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.0.1:www/py-requests
USES= python
NO_ARCH= yes
USES= python:2.7
USE_PYTHON= autoplist distutils
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} >= 3000
BROKEN= pyocclient only supports Python 2.x at the moment
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>