summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@debian.org>2017-07-16 09:19:44 (GMT)
committerPetter Reinholdtsen <pere@debian.org>2017-07-16 09:19:44 (GMT)
commit8b860591c21e93b357639550bb88e689ccbb2c05 (patch)
treeb11d458c8ac22ea65278c85f6a346bdc12dbf793
parent64e31395286a5f149e626cd863ed6089b3a31c68 (diff)
parent67cad053a2404ae0ed40a9918fd1fb564e9c1fa1 (diff)
downloadpython-requests-toolbelt-8b860591c21e93b357639550bb88e689ccbb2c05.zip
python-requests-toolbelt-8b860591c21e93b357639550bb88e689ccbb2c05.tar.gz
python-requests-toolbelt-8b860591c21e93b357639550bb88e689ccbb2c05.tar.bz2
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. [dgit import unpatched python-requests-toolbelt 0.8.0-1]
-rw-r--r--debian/changelog79
-rw-r--r--debian/compat1
-rw-r--r--debian/control56
-rw-r--r--debian/copyright27
-rw-r--r--debian/gbp.conf2
-rw-r--r--debian/patches/intersphinx-localmapping.diff18
-rw-r--r--debian/patches/series1
-rw-r--r--debian/python-requests-toolbelt-doc.doc-base8
-rw-r--r--debian/python-requests-toolbelt-doc.docs1
-rwxr-xr-xdebian/rules24
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
12 files changed, 221 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..54b30f4
--- /dev/null
+++ b/debian/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 <pere@debian.org> 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 <pere@debian.org> 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 <pere@debian.org> 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 <pere@debian.org> 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 <pere@debian.org> 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 <pere@debian.org> 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 <pere@debian.org> 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 <pere@debian.org> 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 <pere@debian.org> Fri, 08 Jan 2016 00:08:51 +0100
+
+python-requests-toolbelt (0.5.1-1) unstable; urgency=low
+
+ * Initial release (Closes: #809969).
+
+ -- Petter Reinholdtsen <pere@debian.org> Tue, 05 Jan 2016 21:15:53 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..bd63674
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,56 @@
+Source: python-requests-toolbelt
+Section: python
+Priority: optional
+Maintainer: Petter Reinholdtsen <pere@debian.org>
+Uploaders: Ross Gammon <rossgammon@mail.dk>
+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/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c2a5d68
--- /dev/null
+++ b/debian/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 <pere@hungry.com>
+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/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..cec628c
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
diff --git a/debian/patches/intersphinx-localmapping.diff b/debian/patches/intersphinx-localmapping.diff
new file mode 100644
index 0000000..1f82738
--- /dev/null
+++ b/debian/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 <pere@debian.org>
+Bug-Debian: https://bugs.debian.org/830186
+Forwarded: no
+Reviewed-By: Petter Reinholdtsen <pere@debian.org>
+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/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..aafd0a2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+intersphinx-localmapping.diff
diff --git a/debian/python-requests-toolbelt-doc.doc-base b/debian/python-requests-toolbelt-doc.doc-base
new file mode 100644
index 0000000..4b69a7b
--- /dev/null
+++ b/debian/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/debian/python-requests-toolbelt-doc.docs b/debian/python-requests-toolbelt-doc.docs
new file mode 100644
index 0000000..82dbdaf
--- /dev/null
+++ b/debian/python-requests-toolbelt-doc.docs
@@ -0,0 +1 @@
+debian/html
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..45061a5
--- /dev/null
+++ b/debian/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/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..8baa11b
--- /dev/null
+++ b/debian/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)))