pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pathod: Import pathod-0.15 as wip/pathod.



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Thu Dec 31 03:41:48 2015 +0100
Changeset:	ba2a7a6e65a61cc5b66616daac781ea8ccb2cb30

Modified Files:
	Makefile
Added Files:
	pathod/DESCR
	pathod/Makefile
	pathod/PLIST
	pathod/distinfo
	pathod/patches/patch-setup.py

Log Message:
pathod: Import pathod-0.15 as wip/pathod.

pathod is a collection of pathological tools for testing and torturing HTTP
clients and servers. The project has three components:

 o pathod, a pathological HTTP daemon
 o pathoc, a perverse HTTP client
 o libpathod.test, an API for easily using pathod and pathoc in unit tests

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ba2a7a6e65a61cc5b66616daac781ea8ccb2cb30

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                      |   1 +
 pathod/DESCR                  |   6 +++
 pathod/Makefile               |  24 +++++++++
 pathod/PLIST                  | 114 ++++++++++++++++++++++++++++++++++++++++++
 pathod/distinfo               |   7 +++
 pathod/patches/patch-setup.py |  20 ++++++++
 6 files changed, 172 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 0ba31d6..fdd9c2d 100755
--- a/Makefile
+++ b/Makefile
@@ -2295,6 +2295,7 @@ SUBDIR+=	parted
 SUBDIR+=	partonevolution
 SUBDIR+=	pasmo
 SUBDIR+=	passepartout
+SUBDIR+=	pathod
 SUBDIR+=	paxmirabilis
 SUBDIR+=	pbbuttonsd
 SUBDIR+=	pcmanfm
diff --git a/pathod/DESCR b/pathod/DESCR
new file mode 100644
index 0000000..22bcce8
--- /dev/null
+++ b/pathod/DESCR
@@ -0,0 +1,6 @@
+pathod is a collection of pathological tools for testing and torturing HTTP
+clients and servers. The project has three components:
+
+ o pathod, a pathological HTTP daemon
+ o pathoc, a perverse HTTP client
+ o libpathod.test, an API for easily using pathod and pathoc in unit tests
diff --git a/pathod/Makefile b/pathod/Makefile
new file mode 100644
index 0000000..36454ec
--- /dev/null
+++ b/pathod/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME=	pathod-0.15
+CATEGORIES=	net
+MASTER_SITES=	${MASTER_SITE_GITHUB:=mitmproxy/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://pathod.net/
+COMMENT=	Pathological HTTP daemon
+LICENSE=	mit
+
+DEPENDS+=	${PYPKGPREFIX}-flask>=0.10.1:../../www/py-flask
+DEPENDS+=	${PYPKGPREFIX}-netlib>=0.15:../../net/py-netlib
+DEPENDS+=	${PYPKGPREFIX}-pip>=1.5.6:../../devel/py-pip
+DEPENDS+=	${PYPKGPREFIX}-pyparsing>=2.0.5:../../devel/py-pyparsing
+DEPENDS+=	${PYPKGPREFIX}-requests>=2.8.1:../../devel/py-requests
+
+USE_LANGUAGES=	# none
+PYTHON_VERSIONS_INCOMPATIBLE=	33 34 35 # py-netlib
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/pathod/PLIST b/pathod/PLIST
new file mode 100644
index 0000000..919f43d
--- /dev/null
+++ b/pathod/PLIST
@@ -0,0 +1,114 @@
+@comment $NetBSD$
+bin/pathoc
+bin/pathod
+${PYSITELIB}/libpathod/__init__.py
+${PYSITELIB}/libpathod/__init__.pyc
+${PYSITELIB}/libpathod/__init__.pyo
+${PYSITELIB}/libpathod/app.py
+${PYSITELIB}/libpathod/app.pyc
+${PYSITELIB}/libpathod/app.pyo
+${PYSITELIB}/libpathod/language/__init__.py
+${PYSITELIB}/libpathod/language/__init__.pyc
+${PYSITELIB}/libpathod/language/__init__.pyo
+${PYSITELIB}/libpathod/language/actions.py
+${PYSITELIB}/libpathod/language/actions.pyc
+${PYSITELIB}/libpathod/language/actions.pyo
+${PYSITELIB}/libpathod/language/base.py
+${PYSITELIB}/libpathod/language/base.pyc
+${PYSITELIB}/libpathod/language/base.pyo
+${PYSITELIB}/libpathod/language/exceptions.py
+${PYSITELIB}/libpathod/language/exceptions.pyc
+${PYSITELIB}/libpathod/language/exceptions.pyo
+${PYSITELIB}/libpathod/language/generators.py
+${PYSITELIB}/libpathod/language/generators.pyc
+${PYSITELIB}/libpathod/language/generators.pyo
+${PYSITELIB}/libpathod/language/http.py
+${PYSITELIB}/libpathod/language/http.pyc
+${PYSITELIB}/libpathod/language/http.pyo
+${PYSITELIB}/libpathod/language/http2.py
+${PYSITELIB}/libpathod/language/http2.pyc
+${PYSITELIB}/libpathod/language/http2.pyo
+${PYSITELIB}/libpathod/language/message.py
+${PYSITELIB}/libpathod/language/message.pyc
+${PYSITELIB}/libpathod/language/message.pyo
+${PYSITELIB}/libpathod/language/websockets.py
+${PYSITELIB}/libpathod/language/websockets.pyc
+${PYSITELIB}/libpathod/language/websockets.pyo
+${PYSITELIB}/libpathod/language/writer.py
+${PYSITELIB}/libpathod/language/writer.pyc
+${PYSITELIB}/libpathod/language/writer.pyo
+${PYSITELIB}/libpathod/log.py
+${PYSITELIB}/libpathod/log.pyc
+${PYSITELIB}/libpathod/log.pyo
+${PYSITELIB}/libpathod/pathoc.py
+${PYSITELIB}/libpathod/pathoc.pyc
+${PYSITELIB}/libpathod/pathoc.pyo
+${PYSITELIB}/libpathod/pathoc_cmdline.py
+${PYSITELIB}/libpathod/pathoc_cmdline.pyc
+${PYSITELIB}/libpathod/pathoc_cmdline.pyo
+${PYSITELIB}/libpathod/pathod.py
+${PYSITELIB}/libpathod/pathod.pyc
+${PYSITELIB}/libpathod/pathod.pyo
+${PYSITELIB}/libpathod/pathod_cmdline.py
+${PYSITELIB}/libpathod/pathod_cmdline.pyc
+${PYSITELIB}/libpathod/pathod_cmdline.pyo
+${PYSITELIB}/libpathod/protocols/__init__.py
+${PYSITELIB}/libpathod/protocols/__init__.pyc
+${PYSITELIB}/libpathod/protocols/__init__.pyo
+${PYSITELIB}/libpathod/protocols/http.py
+${PYSITELIB}/libpathod/protocols/http.pyc
+${PYSITELIB}/libpathod/protocols/http.pyo
+${PYSITELIB}/libpathod/protocols/http2.py
+${PYSITELIB}/libpathod/protocols/http2.pyc
+${PYSITELIB}/libpathod/protocols/http2.pyo
+${PYSITELIB}/libpathod/protocols/websockets.py
+${PYSITELIB}/libpathod/protocols/websockets.pyc
+${PYSITELIB}/libpathod/protocols/websockets.pyo
+${PYSITELIB}/libpathod/static/bootstrap.min.css
+${PYSITELIB}/libpathod/static/bootstrap.min.js
+${PYSITELIB}/libpathod/static/jquery-1.7.2.min.js
+${PYSITELIB}/libpathod/static/jquery.localscroll-min.js
+${PYSITELIB}/libpathod/static/jquery.scrollTo-min.js
+${PYSITELIB}/libpathod/static/pathod.css
+${PYSITELIB}/libpathod/static/start_quote.png
+${PYSITELIB}/libpathod/static/syntax.css
+${PYSITELIB}/libpathod/static/torture.png
+${PYSITELIB}/libpathod/templates/about.html
+${PYSITELIB}/libpathod/templates/docframe.html
+${PYSITELIB}/libpathod/templates/docs_lang.html
+${PYSITELIB}/libpathod/templates/docs_lang_requests.html
+${PYSITELIB}/libpathod/templates/docs_lang_responses.html
+${PYSITELIB}/libpathod/templates/docs_lang_websockets.html
+${PYSITELIB}/libpathod/templates/docs_libpathod.html
+${PYSITELIB}/libpathod/templates/docs_pathoc.html
+${PYSITELIB}/libpathod/templates/docs_pathod.html
+${PYSITELIB}/libpathod/templates/docs_test.html
+${PYSITELIB}/libpathod/templates/download.html
+${PYSITELIB}/libpathod/templates/examples_context.html
+${PYSITELIB}/libpathod/templates/examples_setup.html
+${PYSITELIB}/libpathod/templates/examples_setupall.html
+${PYSITELIB}/libpathod/templates/frame.html
+${PYSITELIB}/libpathod/templates/index.html
+${PYSITELIB}/libpathod/templates/layout.html
+${PYSITELIB}/libpathod/templates/libpathod_pathoc.html
+${PYSITELIB}/libpathod/templates/log.html
+${PYSITELIB}/libpathod/templates/onelog.html
+${PYSITELIB}/libpathod/templates/request_preview.html
+${PYSITELIB}/libpathod/templates/request_previewform.html
+${PYSITELIB}/libpathod/templates/response_preview.html
+${PYSITELIB}/libpathod/templates/response_previewform.html
+${PYSITELIB}/libpathod/test.py
+${PYSITELIB}/libpathod/test.pyc
+${PYSITELIB}/libpathod/test.pyo
+${PYSITELIB}/libpathod/utils.py
+${PYSITELIB}/libpathod/utils.pyc
+${PYSITELIB}/libpathod/utils.pyo
+${PYSITELIB}/libpathod/version.py
+${PYSITELIB}/libpathod/version.pyc
+${PYSITELIB}/libpathod/version.pyo
+${PYSITELIB}/${EGG_FILE}/PKG-INFO
+${PYSITELIB}/${EGG_FILE}/SOURCES.txt
+${PYSITELIB}/${EGG_FILE}/dependency_links.txt
+${PYSITELIB}/${EGG_FILE}/entry_points.txt
+${PYSITELIB}/${EGG_FILE}/requires.txt
+${PYSITELIB}/${EGG_FILE}/top_level.txt
diff --git a/pathod/distinfo b/pathod/distinfo
new file mode 100644
index 0000000..4906af8
--- /dev/null
+++ b/pathod/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.6 2015/12/30 15:08:08 leot Exp $
+
+SHA1 (pathod-0.15.tar.gz) = 6b429d0a1306e8693dfb13c82fc0d6222ce04701
+RMD160 (pathod-0.15.tar.gz) = 5a375bfcdf20546f034a84c27a2ffd12ca7e97b4
+SHA512 (pathod-0.15.tar.gz) = 8f3ad09604a3e104480b232e8b4990660489d1c9fef380c71ff853715f6e5765780a44ce56904c8f95becb613770adeb582888b83cbe8621070af7d161047c3e
+Size (pathod-0.15.tar.gz) = 236459 bytes
+SHA1 (patch-setup.py) = d5c79f108eace6cc8c8fec58a34ce891ee3bfa2a
diff --git a/pathod/patches/patch-setup.py b/pathod/patches/patch-setup.py
new file mode 100644
index 0000000..d990f4f
--- /dev/null
+++ b/pathod/patches/patch-setup.py
@@ -0,0 +1,20 @@
+$NetBSD$
+
+Avoid too strict version requirements (trying to be a bit saner as the comment
+suggest).
+
+--- setup.py.orig	2015-12-03 17:13:24.000000000 +0000
++++ setup.py
+@@ -49,9 +49,9 @@ setup(
+         # It's INSANE that we have to do this, but...
+         # FIXME: Requirement to be removed at next release
+         "pip>=1.5.6",
+-        "requests>=2.8.1, <2.9",
+-        "Flask>=0.10.1, <0.11",
+-        "pyparsing>=2.0.5, <2.1"
++        "requests>=2.8.1",
++        "Flask>=0.10.1",
++        "pyparsing>=2.0.5"
+     ],
+     extras_require={
+         'dev': [


Home | Main Index | Thread Index | Old Index