From 67cad053a2404ae0ed40a9918fd1fb564e9c1fa1 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Sun, 16 Jul 2017 11:19:44 +0200 Subject: [PATCH] Import python-requests-toolbelt_0.8.0-1.debian.tar.xz [dgit import tarball python-requests-toolbelt 0.8.0-1 python-requests-toolbelt_0.8.0-1.debian.tar.xz] --- changelog | 79 +++++++++++++++++++++++++++ compat | 1 + control | 56 +++++++++++++++++++ copyright | 27 +++++++++ gbp.conf | 2 + patches/intersphinx-localmapping.diff | 18 ++++++ patches/series | 1 + python-requests-toolbelt-doc.doc-base | 8 +++ python-requests-toolbelt-doc.docs | 1 + rules | 24 ++++++++ source/format | 1 + watch | 3 + 12 files changed, 221 insertions(+) create mode 100644 changelog create mode 100644 compat create mode 100644 control create mode 100644 copyright create mode 100644 gbp.conf create mode 100644 patches/intersphinx-localmapping.diff create mode 100644 patches/series create mode 100644 python-requests-toolbelt-doc.doc-base create mode 100644 python-requests-toolbelt-doc.docs create mode 100755 rules create mode 100644 source/format create mode 100644 watch diff --git a/changelog b/changelog new file mode 100644 index 0000000..54b30f4 --- /dev/null +++ b/changelog @@ -0,0 +1,79 @@ +python-requests-toolbelt (0.8.0-1) unstable; urgency=medium + + * New upstream version 0.8.0. + * Changed Standards-Version from 3.9.8 to 4.0.0. + + -- Petter Reinholdtsen Sun, 16 Jul 2017 09:19:44 +0000 + +python-requests-toolbelt (0.7.0-1) unstable; urgency=medium + + * New upstream version 0.7.0. + * Added intersphinx-localmapping.diff to make sure build do not try + to use the Internet during build (See #830186). + + -- Petter Reinholdtsen Sat, 27 Aug 2016 08:49:23 +0200 + +python-requests-toolbelt (0.6.2-1) unstable; urgency=medium + + * New upstream version 0.6.2. + * Add autopkgtest-pkg-python testsuite to d/control to get basic testing. + + -- Petter Reinholdtsen Tue, 12 Jul 2016 11:18:56 +0200 + +python-requests-toolbelt (0.6.0-3) unstable; urgency=medium + + * Updated Standards-Version from 3.9.7 to 3.9.8. + * Added python-sphinx-rtd-theme as build dependency. (Closes: #829192) + + -- Petter Reinholdtsen Wed, 06 Jul 2016 09:21:50 +0200 + +python-requests-toolbelt (0.6.0-2) unstable; urgency=medium + + [ Ross Gammon ] + * Add myself to uploaders. + + [ Petter Reinholdtsen ] + * Change Standards-Version from 3.9.6 to 3.9.7. + + -- Petter Reinholdtsen Mon, 08 Feb 2016 22:22:24 +0000 + +python-requests-toolbelt (0.6.0-1) unstable; urgency=medium + + * Remove forgotten and redundant override_dh_auto_build. + * Add gbp.conf file enforcing the need for pristine-tar with git-buildpackage. + * Imported Upstream version 0.6.0 + + -- Petter Reinholdtsen Mon, 08 Feb 2016 13:35:37 +0000 + +python-requests-toolbelt (0.5.1-4) unstable; urgency=medium + + * Changed doc building rules to use LC_ALL=C and dh_sphinxdoc. + + -- Petter Reinholdtsen Sat, 16 Jan 2016 06:42:14 +0000 + +python-requests-toolbelt (0.5.1-3) unstable; urgency=medium + + * Add missing build dependency on python-requests/python3-requests. + (Closes: #810644) + + -- Petter Reinholdtsen Sun, 10 Jan 2016 21:37:43 +0000 + +python-requests-toolbelt (0.5.1-2) unstable; urgency=low + + [ Federico Ceratto ] + * Rename license. + * Build Python3 and docs, install HISTORY.rst. + * Install doc files. + + [ Petter Reinholdtsen ] + * Make sure backup file included in distribution by mistake do not end + up in binary packages. + * Make sure clean target remove generated html documentation. + + -- Petter Reinholdtsen Fri, 08 Jan 2016 00:08:51 +0100 + +python-requests-toolbelt (0.5.1-1) unstable; urgency=low + + * Initial release (Closes: #809969). + + -- Petter Reinholdtsen Tue, 05 Jan 2016 21:15:53 +0000 diff --git a/compat b/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +9 diff --git a/control b/control new file mode 100644 index 0000000..bd63674 --- /dev/null +++ b/control @@ -0,0 +1,56 @@ +Source: python-requests-toolbelt +Section: python +Priority: optional +Maintainer: Petter Reinholdtsen +Uploaders: Ross Gammon +Build-Depends: debhelper (>= 9~) +Build-Depends-Indep: + dh-python, + python-all (>= 2.6.6-3), + python-setuptools (>= 0.6b3), + python-requests, + python-sphinx, + python-sphinx-rtd-theme, + python-doc, + python3-all, + python3-requests, + python3-setuptools, +Standards-Version: 4.0.0 +X-Python-Version: >= 2.7 +X-Python3-Version: >= 3.4 +Testsuite: autopkgtest-pkg-python +Homepage: https://pypi.python.org/pypi/requests-toolbelt +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/python-requests-toolbelt.git +Vcs-Git: git://anonscm.debian.org/collab-maint/python-requests-toolbelt.git + +Package: python-requests-toolbelt +Architecture: all +XB-Python-Version: ${python:Versions} +Depends: ${misc:Depends}, ${python:Depends} +Description: Utility belt for advanced users of python-requests + Collection of utilities for python-requests + It provides transport adapters: FingerprintAdapter, SSLAdapter, + SourceAddressAdapter, SocketOptionsAdapter, TCPKeepAliveAdapter + and authenticators: AuthHandler, GuessAuth, HTTPProxyDigestAuth + Also a cookiejar, streaming helpers and more. + +Package: python3-requests-toolbelt +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Description: Utility belt for advanced users of python3-requests + Collection of utilities for python3-requests + It provides transport adapters: FingerprintAdapter, SSLAdapter, + SourceAddressAdapter, SocketOptionsAdapter, TCPKeepAliveAdapter + and authenticators: AuthHandler, GuessAuth, HTTPProxyDigestAuth + Also a cookiejar, streaming helpers and more. + +Package: python-requests-toolbelt-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, ${python:Depends}, ${sphinxdoc:Depends} +Description: Utility belt for python3-requests (documentation) + Collection of utilities for python3-requests: documentation + It provides transport adapters: FingerprintAdapter, SSLAdapter, + SourceAddressAdapter, SocketOptionsAdapter, TCPKeepAliveAdapter + and authenticators: AuthHandler, GuessAuth, HTTPProxyDigestAuth + Also a cookiejar, streaming helpers and more. diff --git a/copyright b/copyright new file mode 100644 index 0000000..c2a5d68 --- /dev/null +++ b/copyright @@ -0,0 +1,27 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: requests-toolbelt +Source: https://pypi.python.org/pypi/requests-toolbelt/ + +Files: * +Copyright: 2014-2015 Ian Cordasco, Cory Benfield +License: Apache-2.0 + +Files: debian/* +Copyright: 2016 Petter Reinholdtsen +License: Apache-2.0 + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this software except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the full text of the Apache License, Version 2.0 can be + found in the file `/usr/share/common-licenses/Apache-2.0'. diff --git a/gbp.conf b/gbp.conf new file mode 100644 index 0000000..cec628c --- /dev/null +++ b/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True diff --git a/patches/intersphinx-localmapping.diff b/patches/intersphinx-localmapping.diff new file mode 100644 index 0000000..1f82738 --- /dev/null +++ b/patches/intersphinx-localmapping.diff @@ -0,0 +1,18 @@ +Description: Do not require Internet access during building. + intersphinx want to fetch some mapping data, and was set up to use + the Internet to find it. Use a local file from python-doc instead to + avoid violating Debian policy 4.9. +Author: Petter Reinholdtsen +Bug-Debian: https://bugs.debian.org/830186 +Forwarded: no +Reviewed-By: Petter Reinholdtsen +Last-Update: 2016-08-27 + +--- python-requests-toolbelt-0.7.0.orig/docs/conf.py ++++ python-requests-toolbelt-0.7.0/docs/conf.py +@@ -268,4 +268,4 @@ texinfo_documents = [ + + + # Example configuration for intersphinx: refer to the Python standard library. +-intersphinx_mapping = {'http://docs.python.org/': None} ++intersphinx_mapping = {'/usr/share/doc/python-doc/html': None} diff --git a/patches/series b/patches/series new file mode 100644 index 0000000..aafd0a2 --- /dev/null +++ b/patches/series @@ -0,0 +1 @@ +intersphinx-localmapping.diff diff --git a/python-requests-toolbelt-doc.doc-base b/python-requests-toolbelt-doc.doc-base new file mode 100644 index 0000000..4b69a7b --- /dev/null +++ b/python-requests-toolbelt-doc.doc-base @@ -0,0 +1,8 @@ +Document: python-requests-toolbelt +Title: Utility belt for advanced users of python-requests +Author: Ian Cordasco, Cory Benfield +Section: Programming/Python + +Format: HTML +Index: /usr/share/doc/python-requests-toolbelt-doc/html/index.html +Files: /usr/share/doc/python-requests-toolbelt-doc/html diff --git a/python-requests-toolbelt-doc.docs b/python-requests-toolbelt-doc.docs new file mode 100644 index 0000000..82dbdaf --- /dev/null +++ b/python-requests-toolbelt-doc.docs @@ -0,0 +1 @@ +debian/html diff --git a/rules b/rules new file mode 100755 index 0000000..45061a5 --- /dev/null +++ b/rules @@ -0,0 +1,24 @@ +#!/usr/bin/make -f + +export DH_VERBOSE=1 +export PYBUILD_NAME=requests-toolbelt + +# Requires betamax #808880 +export PYBUILD_DISABLE=test + +%: + dh $@ --with python2,python3 --buildsystem=pybuild + +override_dh_installdocs: + LC_ALL=C PYTHONPATH=. http_proxy='http://127.0.0.1:9/' sphinx-build -N -bhtml docs debian/html + dh_installdocs + dh_sphinxdoc + +override_dh_auto_clean: + $(RM) -r debian/html + dh_auto_clean + +override_dh_installchangelogs: + dh_installchangelogs HISTORY.rst + # Remove backup file included in distribution by mistake + $(RM) debian/*/usr/lib/*/dist-packages/requests_toolbelt/multipart/.encoder.py.swp diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/watch b/watch new file mode 100644 index 0000000..8baa11b --- /dev/null +++ b/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +https://pypi.debian.net/requests-toolbelt/requests-toolbelt-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))