1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

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.

WWW: https://pypi.python.org/pypi/netlib

PR:		ports/180746
Submitted by:	Hung-Yi Chen <gaod hychen.org>
This commit is contained in:
William Grzybowski 2013-08-21 14:42:17 +00:00
parent dbd979cf04
commit 610a5eb1a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=325141
6 changed files with 84 additions and 0 deletions

View File

@ -924,6 +924,7 @@
SUBDIR += py-ndg_httpsclient
SUBDIR += py-netaddr
SUBDIR += py-netifaces
SUBDIR += py-netlib
SUBDIR += py-netstring
SUBDIR += py-novaclient
SUBDIR += py-oauth

21
net/py-netlib/Makefile Normal file
View File

@ -0,0 +1,21 @@
# Created by: Hung-Yi Chen <gaod@hychen.org>
# $FreeBSD$
PORTNAME= netlib
PORTVERSION= 0.9.1
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= gaod@hychen.org
COMMENT= Collection of network utilities
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1>0:${PORTSDIR}/devel/py-asn1 \
${PYTHON_PKGNAMEPREFIX}openssl>0:${PORTSDIR}/security/py-openssl
USE_PYTHON= yes
USE_PYDISTUTILS= yes
.include <bsd.port.mk>

2
net/py-netlib/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (netlib-0.9.1.tar.gz) = 559d3e842e39660e83493e46872966bc63a4a58fc4cbb2bf4ec2ca2b3cd880a6
SIZE (netlib-0.9.1.tar.gz) = 58851

View File

@ -0,0 +1,8 @@
--- setup.py.orig 2013-07-23 03:39:16.157592949 +0800
+++ setup.py 2013-07-23 03:39:30.392145219 +0800
@@ -88,5 +88,4 @@
"Topic :: Software Development :: Testing :: Traffic Generation",
"Topic :: Internet :: WWW/HTTP",
],
- install_requires=["pyasn1>0.1.2", "pyopenssl>=0.12"],
)

8
net/py-netlib/pkg-descr Normal file
View File

@ -0,0 +1,8 @@
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.
WWW: https://pypi.python.org/pypi/netlib

44
net/py-netlib/pkg-plist Normal file
View File

@ -0,0 +1,44 @@
%%PYTHON_SITELIBDIR%%/netlib/__init__.py
%%PYTHON_SITELIBDIR%%/netlib/__init__.pyc
%%PYTHON_SITELIBDIR%%/netlib/__init__.pyo
%%PYTHON_SITELIBDIR%%/netlib/certutils.py
%%PYTHON_SITELIBDIR%%/netlib/certutils.pyc
%%PYTHON_SITELIBDIR%%/netlib/certutils.pyo
%%PYTHON_SITELIBDIR%%/netlib/contrib/__init__.py
%%PYTHON_SITELIBDIR%%/netlib/contrib/__init__.pyc
%%PYTHON_SITELIBDIR%%/netlib/contrib/__init__.pyo
%%PYTHON_SITELIBDIR%%/netlib/contrib/md5crypt.py
%%PYTHON_SITELIBDIR%%/netlib/contrib/md5crypt.pyc
%%PYTHON_SITELIBDIR%%/netlib/contrib/md5crypt.pyo
%%PYTHON_SITELIBDIR%%/netlib/http.py
%%PYTHON_SITELIBDIR%%/netlib/http.pyc
%%PYTHON_SITELIBDIR%%/netlib/http.pyo
%%PYTHON_SITELIBDIR%%/netlib/http_auth.py
%%PYTHON_SITELIBDIR%%/netlib/http_auth.pyc
%%PYTHON_SITELIBDIR%%/netlib/http_auth.pyo
%%PYTHON_SITELIBDIR%%/netlib/http_status.py
%%PYTHON_SITELIBDIR%%/netlib/http_status.pyc
%%PYTHON_SITELIBDIR%%/netlib/http_status.pyo
%%PYTHON_SITELIBDIR%%/netlib/http_uastrings.py
%%PYTHON_SITELIBDIR%%/netlib/http_uastrings.pyc
%%PYTHON_SITELIBDIR%%/netlib/http_uastrings.pyo
%%PYTHON_SITELIBDIR%%/netlib/odict.py
%%PYTHON_SITELIBDIR%%/netlib/odict.pyc
%%PYTHON_SITELIBDIR%%/netlib/odict.pyo
%%PYTHON_SITELIBDIR%%/netlib/tcp.py
%%PYTHON_SITELIBDIR%%/netlib/tcp.pyc
%%PYTHON_SITELIBDIR%%/netlib/tcp.pyo
%%PYTHON_SITELIBDIR%%/netlib/test.py
%%PYTHON_SITELIBDIR%%/netlib/test.pyc
%%PYTHON_SITELIBDIR%%/netlib/test.pyo
%%PYTHON_SITELIBDIR%%/netlib/utils.py
%%PYTHON_SITELIBDIR%%/netlib/utils.pyc
%%PYTHON_SITELIBDIR%%/netlib/utils.pyo
%%PYTHON_SITELIBDIR%%/netlib/version.py
%%PYTHON_SITELIBDIR%%/netlib/version.pyc
%%PYTHON_SITELIBDIR%%/netlib/version.pyo
%%PYTHON_SITELIBDIR%%/netlib/wsgi.py
%%PYTHON_SITELIBDIR%%/netlib/wsgi.pyc
%%PYTHON_SITELIBDIR%%/netlib/wsgi.pyo
@dirrm %%PYTHON_SITELIBDIR%%/netlib/contrib
@dirrm %%PYTHON_SITELIBDIR%%/netlib