[Python-apps-commits] r12946 - in packages/httpbin/trunk (17 files)
danstender-guest at users.alioth.debian.org
danstender-guest at users.alioth.debian.org
Thu Mar 17 06:17:48 UTC 2016
Date: Thursday, March 17, 2016 @ 06:17:47
Author: danstender-guest
Revision: 12946
[svn-inject] Applying Debian modifications (0.4.0+dfsg-1) to trunk
Added:
packages/httpbin/trunk/debian/
packages/httpbin/trunk/debian/README.source
packages/httpbin/trunk/debian/changelog
packages/httpbin/trunk/debian/compat
packages/httpbin/trunk/debian/control
packages/httpbin/trunk/debian/copyright
packages/httpbin/trunk/debian/gbp.conf
packages/httpbin/trunk/debian/lintian-overrides
packages/httpbin/trunk/debian/patches/
packages/httpbin/trunk/debian/patches/landing-page-privacy-breach.patch
packages/httpbin/trunk/debian/patches/restore-UTF-8-demo.patch
packages/httpbin/trunk/debian/patches/restore-forms-post.patch
packages/httpbin/trunk/debian/patches/series
packages/httpbin/trunk/debian/rules
packages/httpbin/trunk/debian/source/
packages/httpbin/trunk/debian/source/format
packages/httpbin/trunk/debian/watch
Property changes on: packages/httpbin/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/httpbin/trunk/debian/README.source
===================================================================
--- packages/httpbin/trunk/debian/README.source (rev 0)
+++ packages/httpbin/trunk/debian/README.source 2016-03-17 06:17:47 UTC (rev 12946)
@@ -0,0 +1,12 @@
+Two files have been extracted from the upstream tarball due to licensing reasons:
+
+1) httpbin/templates/forms-post.html
+ source: http://www.w3.org/TR/html5/forms.html#writing-a-form%27s-user-interface
+ W3C Document License
+ http://www.w3.org/Consortium/Legal/2015/doc-license
+
+2) httpbin/templates/UTF-8-demo.txt
+ source: http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt
+ no licensing statement could be found
+
+Daniel Stender <debian at danielstender.com>
Added: packages/httpbin/trunk/debian/changelog
===================================================================
--- packages/httpbin/trunk/debian/changelog (rev 0)
+++ packages/httpbin/trunk/debian/changelog 2016-03-17 06:17:47 UTC (rev 12946)
@@ -0,0 +1,5 @@
+httpbin (0.4.0+dfsg-1) unstable; urgency=medium
+
+ * Initial release (Closes: #787113)
+
+ -- Daniel Stender <debian at danielstender.com> Mon, 02 Nov 2015 00:05:27 +0100
Added: packages/httpbin/trunk/debian/compat
===================================================================
--- packages/httpbin/trunk/debian/compat (rev 0)
+++ packages/httpbin/trunk/debian/compat 2016-03-17 06:17:47 UTC (rev 12946)
@@ -0,0 +1 @@
+9
Added: packages/httpbin/trunk/debian/control
===================================================================
--- packages/httpbin/trunk/debian/control (rev 0)
+++ packages/httpbin/trunk/debian/control 2016-03-17 06:17:47 UTC (rev 12946)
@@ -0,0 +1,40 @@
+Source: httpbin
+Section: web
+Priority: optional
+Maintainer: Daniel Stender <debian at danielstender.com>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all,
+ python-setuptools,
+ pandoc
+Standards-Version: 3.9.6
+Homepage: https://github.com/Runscope/httpbin
+X-Python-Version: >= 2.7
+
+Package: python-httpbin
+Architecture: all
+Depends:
+ python-decorator (>= 3.4.0),
+ python-flask,
+ python-gevent (>= 1.0.1),
+ python-greenlet (>= 0.4.2),
+ python-itsdangerous,
+ python-jinja2 (>= 2.7.2),
+ python-markupsafe (>= 0.23),
+ python-six (>= 1.6.1),
+ python-werkzeug (>= 0.9.4),
+ ${misc:Depends},
+ ${python:Depends}
+Recommends:
+ gunicorn (>= 19.2)
+Description: HTTP request and response service
+ httpbin is a test server for testing HTTP libraries and apps. It
+ features several endpoints to cover a multitude of HTTP scenarios.
+ httpbin ships as a Python library and could be run directly by
+ the Python interpreter, or as a WSGI app e.g. with Gunicorn. The
+ endpoint responses are JSON-encoded.
+ .
+ This package provides httpbin in the Python 2 module path.
+
+# no Python3 package due to missing python3-gevent
\ No newline at end of file
Added: packages/httpbin/trunk/debian/copyright
===================================================================
--- packages/httpbin/trunk/debian/copyright (rev 0)
+++ packages/httpbin/trunk/debian/copyright 2016-03-17 06:17:47 UTC (rev 12946)
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: httpbin
+Upstream-Contact: Runscope <httpbin at runscope.com>
+Source: https://pypi.python.org/pypi/httpbin
+Files-Excluded: httpbin.egg-info
+ httpbin/templates/forms-post.html
+ httpbin/templates/UTF-8-demo.txt
+
+Files: *
+Copyright: 2011-2015 Kenneth Reitz <_ at kennethreitz.com>
+License: Expat
+Comment: https://fedoraproject.org/wiki/Licensing:MIT?rd=Licensing/MIT#Old_Style_with_legal_disclaimer_2
+
+Files: debian/*
+Copyright: 2015 Daniel Stender <debian at danielstender.com>
+License: Expat
+
+License: Expat
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+Files: httpbin/templates/moby.html
+Copyright: not applicable
+License: public-domain
+ Intellectual property rights have expired
\ No newline at end of file
Added: packages/httpbin/trunk/debian/gbp.conf
===================================================================
--- packages/httpbin/trunk/debian/gbp.conf (rev 0)
+++ packages/httpbin/trunk/debian/gbp.conf 2016-03-17 06:17:47 UTC (rev 12946)
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
Added: packages/httpbin/trunk/debian/lintian-overrides
===================================================================
--- packages/httpbin/trunk/debian/lintian-overrides (rev 0)
+++ packages/httpbin/trunk/debian/lintian-overrides 2016-03-17 06:17:47 UTC (rev 12946)
@@ -0,0 +1,4 @@
+# the package is a Python module by code but a "web" application
+python-httpbin binary: wrong-section-according-to-package-name python-httpbin => python
+# permitted by Debian Policy 9.1.1.1
+python-httpbin binary: image-file-in-usr-lib *
\ No newline at end of file
Added: packages/httpbin/trunk/debian/patches/landing-page-privacy-breach.patch
===================================================================
--- packages/httpbin/trunk/debian/patches/landing-page-privacy-breach.patch (rev 0)
+++ packages/httpbin/trunk/debian/patches/landing-page-privacy-breach.patch 2016-03-17 06:17:47 UTC (rev 12946)
@@ -0,0 +1,23 @@
+Description: fix Lintian complaint on privacy-breach-generic
+ and don't include trackingscripts.html
+Author: Daniel Stender <debian at danielstender.com>
+Forwarded: not-needed
+
+--- a/httpbin/templates/index.html
++++ b/httpbin/templates/index.html
+@@ -50,15 +50,8 @@
+ </head>
+
+ <body id='manpage'>
+-<a href="http://github.com/Runscope/httpbin"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
+-
+-
+
+ {% include 'httpbin.1.html' %}
+
+-{% if tracking_enabled %}
+- {% include 'trackingscripts.html' %}
+-{% endif %}
+-
+ </body>
+ </html>
Added: packages/httpbin/trunk/debian/patches/restore-UTF-8-demo.patch
===================================================================
--- packages/httpbin/trunk/debian/patches/restore-UTF-8-demo.patch (rev 0)
+++ packages/httpbin/trunk/debian/patches/restore-UTF-8-demo.patch 2016-03-17 06:17:47 UTC (rev 12946)
@@ -0,0 +1,8 @@
+Description: restore at least a minimal UTF-8-demo.txt
+Author: Daniel Stender <debian at danielstender.com>
+Forwarded: https://github.com/Runscope/httpbin/issues/260/
+
+--- /dev/null
++++ b/httpbin/templates/UTF-8-demo.txt
+@@ -0,0 +1,1 @@
++Not much going on here. Please see README.source for the reason.
Added: packages/httpbin/trunk/debian/patches/restore-forms-post.patch
===================================================================
--- packages/httpbin/trunk/debian/patches/restore-forms-post.patch (rev 0)
+++ packages/httpbin/trunk/debian/patches/restore-forms-post.patch 2016-03-17 06:17:47 UTC (rev 12946)
@@ -0,0 +1,19 @@
+Description: restore at least a mininum forms-post.html
+Author: Daniel Stender <debian at danielstender.com>
+Forwarded: https://github.com/Runscope/httpbin/issues/260/
+
+--- /dev/null
++++ b/httpbin/templates/forms-post.html
+@@ -0,0 +1,12 @@
++<!DOCTYPE html>
++<html>
++ <head>
++ </head>
++ <body>
++ <form method="post" action="{{ url_for('view_post') }}">
++ <p><label>First name: <input type="text" name="firstname"></label></p>
++ <p><label>Last name: <input type="text" name="lastname"></label></p>
++ <input type="submit" value="submit">
++ </form>
++ </body>
++</html>
Added: packages/httpbin/trunk/debian/patches/series
===================================================================
--- packages/httpbin/trunk/debian/patches/series (rev 0)
+++ packages/httpbin/trunk/debian/patches/series 2016-03-17 06:17:47 UTC (rev 12946)
@@ -0,0 +1,3 @@
+restore-forms-post.patch
+restore-UTF-8-demo.patch
+landing-page-privacy-breach.patch
Added: packages/httpbin/trunk/debian/rules
===================================================================
--- packages/httpbin/trunk/debian/rules (rev 0)
+++ packages/httpbin/trunk/debian/rules 2016-03-17 06:17:47 UTC (rev 12946)
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+export PYBUILD_NAME=httpbin
+
+%:
+ dh $@ --with python2 --buildsystem=pybuild
+
+override_dh_installdocs:
+ pandoc -f rst -t plain -o .pybuild/README README.rst
+ dh_installdocs .pybuild/README
+
+override_dh_installchangelogs:
+ sed -n '/'Changelog'/,/'0.1.0'/p' .pybuild/README > .pybuild/CHANGELOG
+ dh_installchangelogs .pybuild/CHANGELOG
Property changes on: packages/httpbin/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/httpbin/trunk/debian/source/format
===================================================================
--- packages/httpbin/trunk/debian/source/format (rev 0)
+++ packages/httpbin/trunk/debian/source/format 2016-03-17 06:17:47 UTC (rev 12946)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: packages/httpbin/trunk/debian/watch
===================================================================
--- packages/httpbin/trunk/debian/watch (rev 0)
+++ packages/httpbin/trunk/debian/watch 2016-03-17 06:17:47 UTC (rev 12946)
@@ -0,0 +1,5 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/,\
+dversionmangle=s/\+dfsg\d*$//,\
+repacksuffix=+dfsg \
+https://pypi.debian.net/httpbin/httpbin-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
More information about the Python-apps-commits
mailing list