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]
This commit is contained in:
Petter Reinholdtsen 2017-07-16 11:19:44 +02:00
commit 8b860591c2
12 changed files with 221 additions and 0 deletions

79
debian/changelog vendored Normal file
View File

@ -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

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

56
debian/control vendored Normal file
View File

@ -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.

27
debian/copyright vendored Normal file
View File

@ -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'.

2
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,2 @@
[DEFAULT]
pristine-tar = True

View File

@ -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}

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
intersphinx-localmapping.diff

View File

@ -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

View File

@ -0,0 +1 @@
debian/html

24
debian/rules vendored Executable file
View File

@ -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

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

3
debian/watch vendored Normal file
View File

@ -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)))