summaryrefslogtreecommitdiff
path: root/net/py-Socks
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-01-02 10:10:10 +0000
committerwiz <wiz@pkgsrc.org>2016-01-02 10:10:10 +0000
commite0ba8de2c2ae0de9c8aba8ab48c1e9cde65d3d07 (patch)
treec3a67cff868f9128521b1e3187171d4d6d64548c /net/py-Socks
parent86b7879169524b2618e52916ad972a4875fa0c44 (diff)
downloadpkgsrc-e0ba8de2c2ae0de9c8aba8ab48c1e9cde65d3d07.tar.gz
Import py35-Socks-1.5.6 as net/py-Socks.
This package contains an updated and actively maintained version of SocksiPy, with bug fixes and extra features. It acts as a drop-in replacement to the socket module. Features * SOCKS proxy client for Python 2.6 - 3.x * TCP and UDP both supported * HTTP proxy client included but not supported or recommended (you should use urllib2's or requests' own HTTP proxy interface)
Diffstat (limited to 'net/py-Socks')
-rw-r--r--net/py-Socks/DESCR11
-rw-r--r--net/py-Socks/Makefile16
-rw-r--r--net/py-Socks/PLIST8
-rw-r--r--net/py-Socks/distinfo6
4 files changed, 41 insertions, 0 deletions
diff --git a/net/py-Socks/DESCR b/net/py-Socks/DESCR
new file mode 100644
index 00000000000..a8f27f63e4f
--- /dev/null
+++ b/net/py-Socks/DESCR
@@ -0,0 +1,11 @@
+This package contains an updated and actively maintained version
+of SocksiPy, with bug fixes and extra features.
+
+It acts as a drop-in replacement to the socket module.
+
+Features
+
+* SOCKS proxy client for Python 2.6 - 3.x
+* TCP and UDP both supported
+* HTTP proxy client included but not supported or recommended (you
+ should use urllib2's or requests' own HTTP proxy interface)
diff --git a/net/py-Socks/Makefile b/net/py-Socks/Makefile
new file mode 100644
index 00000000000..2ebf6d4d064
--- /dev/null
+++ b/net/py-Socks/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2016/01/02 10:10:10 wiz Exp $
+
+DISTNAME= PySocks-1.5.6
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Py//}
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_PYPI:=P/PySocks/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/Anorov/PySocks
+COMMENT= Python Socks module
+LICENSE= modified-bsd
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-Socks/PLIST b/net/py-Socks/PLIST
new file mode 100644
index 00000000000..f9738b195be
--- /dev/null
+++ b/net/py-Socks/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2016/01/02 10:10:10 wiz Exp $
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/socks.py
+${PYSITELIB}/socks.pyc
+${PYSITELIB}/socks.pyo
+${PYSITELIB}/sockshandler.py
+${PYSITELIB}/sockshandler.pyc
+${PYSITELIB}/sockshandler.pyo
diff --git a/net/py-Socks/distinfo b/net/py-Socks/distinfo
new file mode 100644
index 00000000000..e8742339090
--- /dev/null
+++ b/net/py-Socks/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/01/02 10:10:10 wiz Exp $
+
+SHA1 (PySocks-1.5.6.tar.gz) = d9264a96d8b7974be384c42b50d44bd84052ff52
+RMD160 (PySocks-1.5.6.tar.gz) = e66e508485ed4ad89e1333ef5029c81102123ef0
+SHA512 (PySocks-1.5.6.tar.gz) = 3255591864c532f9ce3c0304d7b33165bb09c0a332fb0d126f61315e98f50e1af0f792517533166558fe457dce2d08f2b320adf9dd87b58618e0941d72daee49
+Size (PySocks-1.5.6.tar.gz) = 9189 bytes