Import of pkgsrc-2016Q3

This commit is contained in:
2016-11-18 22:39:22 +01:00
committed by sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949747 additions and 377081 deletions
+6
View File
@@ -0,0 +1,6 @@
Testing an HTTP Library can become difficult sometimes. RequestBin
is fantastic for testing POST requests, but doesn't let you control
the response. This exists to cover all kinds of HTTP scenarios.
Additional endpoints are being considered.
All endpoint responses are JSON-encoded.
+22
View File
@@ -0,0 +1,22 @@
# $NetBSD: Makefile,v 1.1 2016/01/02 10:45:30 wiz Exp $
DISTNAME= httpbin-0.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_PYPI:=h/httpbin/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://pypi.python.org/pypi/httpbin
COMMENT= HTTP Request and Response Service
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
DEPENDS+= ${PYPKGPREFIX}-markupsafe-[0-9]*:../../textproc/py-markupsafe
DEPENDS+= ${PYPKGPREFIX}-decorator-[0-9]*:../../devel/py-decorator
DEPENDS+= ${PYPKGPREFIX}-itsdangerous-[0-9]*:../../security/py-itsdangerous
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
+35
View File
@@ -0,0 +1,35 @@
@comment $NetBSD: PLIST,v 1.1 2016/01/02 10:45:30 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/httpbin/__init__.py
${PYSITELIB}/httpbin/__init__.pyc
${PYSITELIB}/httpbin/__init__.pyo
${PYSITELIB}/httpbin/core.py
${PYSITELIB}/httpbin/core.pyc
${PYSITELIB}/httpbin/core.pyo
${PYSITELIB}/httpbin/filters.py
${PYSITELIB}/httpbin/filters.pyc
${PYSITELIB}/httpbin/filters.pyo
${PYSITELIB}/httpbin/helpers.py
${PYSITELIB}/httpbin/helpers.pyc
${PYSITELIB}/httpbin/helpers.pyo
${PYSITELIB}/httpbin/structures.py
${PYSITELIB}/httpbin/structures.pyc
${PYSITELIB}/httpbin/structures.pyo
${PYSITELIB}/httpbin/templates/UTF-8-demo.txt
${PYSITELIB}/httpbin/templates/forms-post.html
${PYSITELIB}/httpbin/templates/httpbin.1.html
${PYSITELIB}/httpbin/templates/images/jackal.jpg
${PYSITELIB}/httpbin/templates/images/pig_icon.png
${PYSITELIB}/httpbin/templates/images/svg_logo.svg
${PYSITELIB}/httpbin/templates/images/wolf_1.webp
${PYSITELIB}/httpbin/templates/index.html
${PYSITELIB}/httpbin/templates/moby.html
${PYSITELIB}/httpbin/templates/sample.xml
${PYSITELIB}/httpbin/templates/trackingscripts.html
${PYSITELIB}/httpbin/utils.py
${PYSITELIB}/httpbin/utils.pyc
${PYSITELIB}/httpbin/utils.pyo
+7
View File
@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.1 2016/01/02 10:45:30 wiz Exp $
SHA1 (httpbin-0.4.0.tar.gz) = 2415bec07d808de14a51777ef2495176872a4bcb
RMD160 (httpbin-0.4.0.tar.gz) = 51586401656539904d7ab34ba6df84f7de19585e
SHA512 (httpbin-0.4.0.tar.gz) = ce239c7c2a7715dce340f04aab417b0c73773e9ff6b33edb81540abc63be9c861c4386d1310e9ae46dcdeeff24a6b71b7b93d9b2120cb1533e7da2c10f177830
Size (httpbin-0.4.0.tar.gz) = 88000 bytes
SHA1 (patch-README.rst) = 858c6885424c8111448a68d8bd7e1159f79c8d96
+18
View File
@@ -0,0 +1,18 @@
$NetBSD: patch-README.rst,v 1.1 2016/01/02 10:45:30 wiz Exp $
Avoid UTF-8 characters to let setup.py run in ASCII locale.
https://github.com/Runscope/httpbin/issues/269
--- README.rst.orig 2015-10-22 19:02:45.000000000 +0000
+++ README.rst
@@ -40,8 +40,8 @@ Endpoint
`/basic-auth/:user/:passwd`_ Challenges HTTPBasic Auth.
`/hidden-basic-auth/:user/:passwd`_ 404'd BasicAuth.
`/digest-auth/:qop/:user/:passwd`_ Challenges HTTP Digest Auth.
-`/stream/:n`_ Streams *n* – 100 lines.
-`/delay/:n`_ Delays responding for *n* – 10 seconds.
+`/stream/:n`_ Streams *n* -- 100 lines.
+`/delay/:n`_ Delays responding for *n* -- 10 seconds.
`/drip`_ Drips data over a duration after an optional initial delay, then (optionally) returns with the given status code.
`/range/:n`_ Streams *n* bytes, and allows specifying a *Range* header to select a subset of the data. Accepts a *chunk\_size* and request *duration* parameter.
`/html`_ Renders an HTML Page.