summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwiz <wiz>2013-05-15 22:38:50 +0000
committerwiz <wiz>2013-05-15 22:38:50 +0000
commit8e300180cf4afc8efd92364ca27a5091875756ca (patch)
treed0ea174fa89e0f80095f4fe323664ef850a1ff74 /net
parentf50cb30703c339f6413e85436bdccac5c1af6360 (diff)
downloadpkgsrc-8e300180cf4afc8efd92364ca27a5091875756ca.tar.gz
Import py-netlib-0.9 as net/py-netlib.
Netlib is a collection of network utility classes, used by the pathod and mitmproxy projects. It differs from other projects in some fundamental respects, because both pathod and mitmproxy often need to violate standards. This means that protocols are implemented as small, well-contained and flexible functions, and are designed to allow misbehaviour when needed.
Diffstat (limited to 'net')
-rw-r--r--net/py-netlib/DESCR6
-rw-r--r--net/py-netlib/Makefile17
-rw-r--r--net/py-netlib/PLIST44
-rw-r--r--net/py-netlib/distinfo5
4 files changed, 72 insertions, 0 deletions
diff --git a/net/py-netlib/DESCR b/net/py-netlib/DESCR
new file mode 100644
index 00000000000..3b4c0f66da1
--- /dev/null
+++ b/net/py-netlib/DESCR
@@ -0,0 +1,6 @@
+Netlib is a collection of network utility classes, used by the
+pathod and mitmproxy projects. It differs from other projects in
+some fundamental respects, because both pathod and mitmproxy often
+need to violate standards. This means that protocols are implemented
+as small, well-contained and flexible functions, and are designed
+to allow misbehaviour when needed.
diff --git a/net/py-netlib/Makefile b/net/py-netlib/Makefile
new file mode 100644
index 00000000000..3183e4e43d9
--- /dev/null
+++ b/net/py-netlib/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2013/05/15 22:38:50 wiz Exp $
+#
+
+DISTNAME= netlib-0.9
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= net
+MASTER_SITES= https://pypi.python.org/packages/source/n/netlib/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://pypi.python.org/pypi/netlib
+COMMENT= Network utilities used by pathod and mitmproxy
+LICENSE= mit
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-netlib/PLIST b/net/py-netlib/PLIST
new file mode 100644
index 00000000000..d9b8a7de0ce
--- /dev/null
+++ b/net/py-netlib/PLIST
@@ -0,0 +1,44 @@
+@comment $NetBSD: PLIST,v 1.1 2013/05/15 22:38:50 wiz Exp $
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/netlib/__init__.py
+${PYSITELIB}/netlib/__init__.pyc
+${PYSITELIB}/netlib/__init__.pyo
+${PYSITELIB}/netlib/certutils.py
+${PYSITELIB}/netlib/certutils.pyc
+${PYSITELIB}/netlib/certutils.pyo
+${PYSITELIB}/netlib/contrib/__init__.py
+${PYSITELIB}/netlib/contrib/__init__.pyc
+${PYSITELIB}/netlib/contrib/__init__.pyo
+${PYSITELIB}/netlib/contrib/md5crypt.py
+${PYSITELIB}/netlib/contrib/md5crypt.pyc
+${PYSITELIB}/netlib/contrib/md5crypt.pyo
+${PYSITELIB}/netlib/http.py
+${PYSITELIB}/netlib/http.pyc
+${PYSITELIB}/netlib/http.pyo
+${PYSITELIB}/netlib/http_auth.py
+${PYSITELIB}/netlib/http_auth.pyc
+${PYSITELIB}/netlib/http_auth.pyo
+${PYSITELIB}/netlib/http_status.py
+${PYSITELIB}/netlib/http_status.pyc
+${PYSITELIB}/netlib/http_status.pyo
+${PYSITELIB}/netlib/http_uastrings.py
+${PYSITELIB}/netlib/http_uastrings.pyc
+${PYSITELIB}/netlib/http_uastrings.pyo
+${PYSITELIB}/netlib/odict.py
+${PYSITELIB}/netlib/odict.pyc
+${PYSITELIB}/netlib/odict.pyo
+${PYSITELIB}/netlib/tcp.py
+${PYSITELIB}/netlib/tcp.pyc
+${PYSITELIB}/netlib/tcp.pyo
+${PYSITELIB}/netlib/test.py
+${PYSITELIB}/netlib/test.pyc
+${PYSITELIB}/netlib/test.pyo
+${PYSITELIB}/netlib/utils.py
+${PYSITELIB}/netlib/utils.pyc
+${PYSITELIB}/netlib/utils.pyo
+${PYSITELIB}/netlib/version.py
+${PYSITELIB}/netlib/version.pyc
+${PYSITELIB}/netlib/version.pyo
+${PYSITELIB}/netlib/wsgi.py
+${PYSITELIB}/netlib/wsgi.pyc
+${PYSITELIB}/netlib/wsgi.pyo
diff --git a/net/py-netlib/distinfo b/net/py-netlib/distinfo
new file mode 100644
index 00000000000..470dcdd7dd0
--- /dev/null
+++ b/net/py-netlib/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/05/15 22:38:50 wiz Exp $
+
+SHA1 (netlib-0.9.tar.gz) = 7449aa30a2dd6019f58b2e45a947b5df71f663c1
+RMD160 (netlib-0.9.tar.gz) = ab123a3353cc8bfab9bb568ea84ede48abbc14cf
+Size (netlib-0.9.tar.gz) = 37250 bytes