net/py-ndg_httpsclient is fully compatible with Python2 and Python3 (r417571)
This commit is contained in:
parent
a09e67be0e
commit
6f93de7017
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417612
@ -14,7 +14,8 @@ LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi \
|
||||
${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.7:net/py-pysocks
|
||||
${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.7:net/py-pysocks \
|
||||
${PYTHON_PKGNAMEPREFIX}ndg_httpsclient>=0.4.1:net/py-ndg_httpsclient
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
@ -22,11 +23,6 @@ NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# ndg_httpclient is only available for Python 2
|
||||
.if ${PYTHON_REL} < 3000
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ndg_httpsclient>=0.4.0:net/py-ndg_httpsclient
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
.if ${PYTHON_REL} >= 3000
|
||||
@${RM} ${WRKSRC}/urllib3/contrib/pyopenssl.py
|
||||
|
Loading…
Reference in New Issue
Block a user