mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
91cd4f050a
- Add NO_ARCH Changelog: https://github.com/shazow/urllib3/blob/master/CHANGES.rst#112-2015-09-03
35 lines
767 B
Makefile
35 lines
767 B
Makefile
# Created by: Olivier Duchateau
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= urllib3
|
|
PORTVERSION= 1.12
|
|
CATEGORIES= net python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= olivierd@FreeBSD.org
|
|
COMMENT= Enhance HTTP Python's standard library
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=0:${PORTSDIR}/security/py-certifi
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
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.3.3:${PORTSDIR}/net/py-ndg_httpsclient
|
|
.endif
|
|
|
|
post-extract:
|
|
.if ${PYTHON_REL} >= 3000
|
|
@${RM} ${WRKSRC}/urllib3/contrib/pyopenssl.py
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|