svn commit: r442844 - in head/net: . py-urllib3 py3-urllib3
Ben Woods
woodsb02 at FreeBSD.org
Wed Jun 7 14:47:31 UTC 2017
Author: woodsb02
Date: Wed Jun 7 14:47:29 2017
New Revision: 442844
URL: https://svnweb.freebsd.org/changeset/ports/442844
Log:
[NEW] net/py3-urllib3: Create Python 3.x version of port
The latest www/py-requests update [1] unbundled its dependencies, now
requiring chardet, idna, urllib3 and certifi from ports.
www/py3-requests port was not tested during QA, which would have highlighted
the need for many new py3-* ports (and their dependencies).
This change creates one of those ports.
[1] https://svnweb.freebsd.org/changeset/ports/442565
PR: 219833
Added:
head/net/py3-urllib3/
head/net/py3-urllib3/Makefile (contents, props changed)
Modified:
head/net/Makefile
head/net/py-urllib3/Makefile
Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile Wed Jun 7 14:38:17 2017 (r442843)
+++ head/net/Makefile Wed Jun 7 14:47:29 2017 (r442844)
@@ -1078,6 +1078,7 @@
SUBDIR += py-zsi
SUBDIR += py3-netifaces
SUBDIR += py3-pysocks
+ SUBDIR += py3-urllib3
SUBDIR += pygopherd
SUBDIR += pynids
SUBDIR += pyrad
Modified: head/net/py-urllib3/Makefile
==============================================================================
--- head/net/py-urllib3/Makefile Wed Jun 7 14:38:17 2017 (r442843)
+++ head/net/py-urllib3/Makefile Wed Jun 7 14:47:29 2017 (r442844)
@@ -13,12 +13,12 @@ COMMENT= HTTP library with thread-safe connection pool
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4:security/py-cryptography \
+RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4:security/py-cryptography \
${PYTHON_PKGNAMEPREFIX}idna>=2.0:dns/py-idna \
${PYTHON_PKGNAMEPREFIX}openssl>=16.0:security/py-openssl \
${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.7:net/py-pysocks
-USES= python
+USES?= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
SUB_FILES= pkg-message
Added: head/net/py3-urllib3/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/py3-urllib3/Makefile Wed Jun 7 14:47:29 2017 (r442844)
@@ -0,0 +1,14 @@
+# Created by: Ben Woods <woodsb02 at FreeBSD.org>
+# $FreeBSD$
+
+MASTERDIR= ${.CURDIR}/../py-urllib3
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4:security/py3-cryptography \
+ ${PYTHON_PKGNAMEPREFIX}idna>=2.0:dns/py3-idna \
+ ${PYTHON_PKGNAMEPREFIX}openssl>=16.0:security/py3-openssl \
+ ${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.7:net/py3-pysocks
+
+USES= python:3.3+
+
+.include "${MASTERDIR}/Makefile"
+
More information about the svn-ports-all
mailing list