git: 9679dd7f9703 - main - net/py-socksio: Add py-socksio 1.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 25 Jan 2022 19:52:50 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9679dd7f9703e2f05c5acd80216200e8aec48be1

commit 9679dd7f9703e2f05c5acd80216200e8aec48be1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-25 19:17:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-25 19:49:57 +0000

    net/py-socksio: Add py-socksio 1.0.0
    
    Client-side sans-I/O SOCKS proxy implementation. Supports SOCKS4, SOCKS4A, and
    SOCKS5.
    
    socksio is a sans-I/O library similar to h11 or h2, this means the library
    itself does not handle the actual sending of the bytes through the network, it
    only deals with the implementation details of the SOCKS protocols so you can use
    it in any I/O library you want.
    
    WWW: https://github.com/sethmlarson/socksio
---
 net/Makefile             |  1 +
 net/py-socksio/Makefile  | 20 ++++++++++++++++++++
 net/py-socksio/distinfo  |  3 +++
 net/py-socksio/pkg-descr |  9 +++++++++
 4 files changed, 33 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 3e31076f3f2e..d165f2054603 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1136,6 +1136,7 @@
     SUBDIR += py-smbprotocol
     SUBDIR += py-soap2py
     SUBDIR += py-socketio-client
+    SUBDIR += py-socksio
     SUBDIR += py-softlayer
     SUBDIR += py-speedtest-cli
     SUBDIR += py-sshtunnel
diff --git a/net/py-socksio/Makefile b/net/py-socksio/Makefile
new file mode 100644
index 000000000000..92693ae39ad3
--- /dev/null
+++ b/net/py-socksio/Makefile
@@ -0,0 +1,20 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	socksio
+PORTVERSION=	1.0.0
+CATEGORIES=	net python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Sans-I/O implementation of SOCKS4, SOCKS4A, and SOCKS5
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/net/py-socksio/distinfo b/net/py-socksio/distinfo
new file mode 100644
index 000000000000..2c4d411acf8f
--- /dev/null
+++ b/net/py-socksio/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1643133647
+SHA256 (socksio-1.0.0.tar.gz) = f88beb3da5b5c38b9890469de67d0cb0f9d494b78b106ca1845f96c10b91c4ac
+SIZE (socksio-1.0.0.tar.gz) = 19055
diff --git a/net/py-socksio/pkg-descr b/net/py-socksio/pkg-descr
new file mode 100644
index 000000000000..92e5eb1a7552
--- /dev/null
+++ b/net/py-socksio/pkg-descr
@@ -0,0 +1,9 @@
+Client-side sans-I/O SOCKS proxy implementation. Supports SOCKS4, SOCKS4A, and
+SOCKS5.
+
+socksio is a sans-I/O library similar to h11 or h2, this means the library
+itself does not handle the actual sending of the bytes through the network, it
+only deals with the implementation details of the SOCKS protocols so you can use
+it in any I/O library you want.
+
+WWW: https://github.com/sethmlarson/socksio