Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 2020 12:33:30 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r550496 - in head/net: . py-python-socks
Message-ID:  <202009291233.08TCXUK5074390@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue Sep 29 12:33:30 2020
New Revision: 550496
URL: https://svnweb.freebsd.org/changeset/ports/550496

Log:
  Add py-python-socks 1.1.0, core proxy (SOCKS4, SOCKS5, HTTP tunneling)
  functionality for Python.

Added:
  head/net/py-python-socks/
  head/net/py-python-socks/Makefile   (contents, props changed)
  head/net/py-python-socks/distinfo   (contents, props changed)
  head/net/py-python-socks/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Tue Sep 29 12:22:19 2020	(r550495)
+++ head/net/Makefile	Tue Sep 29 12:33:30 2020	(r550496)
@@ -1072,6 +1072,7 @@
     SUBDIR += py-python-novaclient
     SUBDIR += py-python-novaclient16
     SUBDIR += py-python-openstackclient
+    SUBDIR += py-python-socks
     SUBDIR += py-python-twitter
     SUBDIR += py-pytradfri
     SUBDIR += py-pyvmomi

Added: head/net/py-python-socks/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-python-socks/Makefile	Tue Sep 29 12:33:30 2020	(r550496)
@@ -0,0 +1,22 @@
+# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	python-socks
+PORTVERSION=	1.1.0
+CATEGORIES=	net python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ehaupt@FreeBSD.org
+COMMENT=	Core proxy (SOCKS4, SOCKS5, HTTP tunneling) functionality for Python
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}curio>=1.4:devel/py-curio@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}trio>=0.16.0:net/py-trio@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>

Added: head/net/py-python-socks/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-python-socks/distinfo	Tue Sep 29 12:33:30 2020	(r550496)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1601371893
+SHA256 (python-socks-1.1.0.tar.gz) = 3b4e2aaa0d616b02e432470bdc1106eb734c6640da34e47efdd429693e6daff0
+SIZE (python-socks-1.1.0.tar.gz) = 17491

Added: head/net/py-python-socks/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-python-socks/pkg-descr	Tue Sep 29 12:33:30 2020	(r550496)
@@ -0,0 +1,7 @@
+The python-socks package provides a core proxy client functionality for
+Python. Supports SOCKS4(a), SOCKS5, HTTP (tunneling) proxy and provides sync
+and async (asyncio, trio, curio) APIs. You probably don't need to use
+python-socks directly. It is used internally by aiohttp-socks and httpx-socks
+packages.
+
+WWW: https://pypi.org/project/python-socks/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009291233.08TCXUK5074390>