From 6b1bf3b05c24be6cf5fde5f238a6edce38c53389 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 15 May 2014 21:08:01 +0000 Subject: * debian/control - Add python-requests-wheels binary package. - Build-Depends on python3-wheel, python-setuptools, and python3-setuptools. - wrap-and-sort. * debian/rules: - Simplify by using PYBUILD_NAME. - Build the universal wheels. --- debian/changelog | 13 ++++++ debian/control | 83 +++++++++++++++++++++++------------ debian/python-requests-wheels.install | 1 + debian/rules | 10 +++-- 4 files changed, 76 insertions(+), 31 deletions(-) create mode 100644 debian/python-requests-wheels.install diff --git a/debian/changelog b/debian/changelog index af156b4..89a6f9c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,16 @@ +requests (2.2.1-2) UNRELEASED; urgency=medium + + * debian/control + - Add python-requests-wheels binary package. + - Build-Depends on python3-wheel, python-setuptools, + and python3-setuptools. + - wrap-and-sort. + * debian/rules: + - Simplify by using PYBUILD_NAME. + - Build the universal wheels. + + -- Barry Warsaw Tue, 06 May 2014 15:42:03 -0400 + requests (2.2.1-1) unstable; urgency=medium * New upstream release diff --git a/debian/control b/debian/control index c6b855f..c01f6f0 100644 --- a/debian/control +++ b/debian/control @@ -3,15 +3,17 @@ Maintainer: Debian Python Modules Team Section: python Priority: optional -Build-Depends: - debhelper (>= 9), - dh-python, - python-all (>= 2.6.6-3), - python-chardet, - python-urllib3 (>= 1.7.1), - python3-all, - python3-chardet, - python3-urllib3 (>= 1.7.1) +Build-Depends: debhelper (>= 9), + dh-python, + python-all (>= 2.6.6-3), + python-chardet, + python-setuptools, + python-urllib3 (>= 1.7.1), + python3-all, + python3-chardet, + python3-setuptools, + python3-urllib3 (>= 1.7.1), + python3-wheel Standards-Version: 3.9.5 X-Python-Version: >= 2.7 X-Python3-Version: >= 3.0 @@ -21,17 +23,16 @@ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/requests/t Package: python-requests Architecture: all -Depends: - ${misc:Depends}, - ${python:Depends}, - ca-certificates, - python-chardet, - python-urllib3 (>= 1.7.1), +Depends: ca-certificates, + python-chardet, + python-urllib3 (>= 1.7.1), + ${misc:Depends}, + ${python:Depends} Description: elegant and simple HTTP library for Python, built for human beings Requests allow you to send HTTP/1.1 requests. You can add headers, form data, - multipart files, and parameters with simple Python dictionaries, and access the - response data in the same way. It's powered by httplib and urllib3, but it does - all the hard work and crazy hacks for you. + multipart files, and parameters with simple Python dictionaries, and access + the response data in the same way. It's powered by httplib and urllib3, but + it does all the hard work and crazy hacks for you. . Features . @@ -48,17 +49,16 @@ Description: elegant and simple HTTP library for Python, built for human beings Package: python3-requests Architecture: all -Depends: - ${misc:Depends}, - ${python3:Depends}, - ca-certificates, - python3-chardet, - python3-urllib3 (>= 1.5) -Description: elegant and simple HTTP library for Python3, built for human beings +Depends: ca-certificates, + python3-chardet, + python3-urllib3 (>= 1.5), + ${misc:Depends}, + ${python3:Depends} +Description: elegant and simple HTTP library for Python, built for human beings Requests allow you to send HTTP/1.1 requests. You can add headers, form data, - multipart files, and parameters with simple Python dictionaries, and access the - response data in the same way. It's powered by httplib and urllib3, but it does - all the hard work and crazy hacks for you. + multipart files, and parameters with simple Python dictionaries, and access + the response data in the same way. It's powered by httplib and urllib3, but + it does all the hard work and crazy hacks for you. . Features . @@ -74,3 +74,30 @@ Description: elegant and simple HTTP library for Python3, built for human beings - Connection Timeouts . This package contains the Python 3 version of the library. + +Package: python-requests-wheels +Architecture: all +Depends: ca-certificates, + python-urllib3-wheels, + ${misc:Depends}, + ${python3:Depends} +Description: elegant and simple HTTP library for Python, built for human beings + Requests allow you to send HTTP/1.1 requests. You can add headers, form data, + multipart files, and parameters with simple Python dictionaries, and access + the response data in the same way. It's powered by httplib and urllib3, but + it does all the hard work and crazy hacks for you. + . + Features + . + - International Domains and URLs + - Keep-Alive & Connection Pooling + - Sessions with Cookie Persistence + - Browser-style SSL Verification + - Basic/Digest Authentication + - Elegant Key/Value Cookies + - Automatic Decompression + - Unicode Response Bodies + - Multipart File Uploads + - Connection Timeouts + . + This package provides the universal wheels. diff --git a/debian/python-requests-wheels.install b/debian/python-requests-wheels.install new file mode 100644 index 0000000..fd3f06f --- /dev/null +++ b/debian/python-requests-wheels.install @@ -0,0 +1 @@ +usr/share/python-wheels diff --git a/debian/rules b/debian/rules index 6198313..c9d82a1 100755 --- a/debian/rules +++ b/debian/rules @@ -1,11 +1,15 @@ #!/usr/bin/make -f -export PYBUILD_DESTDIR_python2=debian/python-requests/ -export PYBUILD_DESTDIR_python3=debian/python3-requests/ - +export PYBUILD_NAME=requests %: dh $@ --with python2,python3 --buildsystem=pybuild override_dh_installchangelogs: dh_installchangelogs HISTORY.rst + +override_dh_auto_install: + dh_auto_install + python3 setup.py bdist_wheel \ + --universal \ + -d $(CURDIR)/debian/tmp/usr/share/python-wheels -- cgit v1.2.3 From d92ade1570676e9c90bce9c8505090bdbbf28c42 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 15 May 2014 21:09:50 +0000 Subject: release --- debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 89a6f9c..b0e43ef 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -requests (2.2.1-2) UNRELEASED; urgency=medium +requests (2.2.1-2) unstable; urgency=medium * debian/control - Add python-requests-wheels binary package. @@ -9,7 +9,7 @@ requests (2.2.1-2) UNRELEASED; urgency=medium - Simplify by using PYBUILD_NAME. - Build the universal wheels. - -- Barry Warsaw Tue, 06 May 2014 15:42:03 -0400 + -- Barry Warsaw Thu, 15 May 2014 17:09:30 -0400 requests (2.2.1-1) unstable; urgency=medium -- cgit v1.2.3 From a148c3be96a6c02ca465e870e4f11c33bf904516 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 15 May 2014 21:12:44 +0000 Subject: Team upload. --- debian/changelog | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/changelog b/debian/changelog index b0e43ef..a3edc8c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,6 @@ requests (2.2.1-2) unstable; urgency=medium + * Team upload. * debian/control - Add python-requests-wheels binary package. - Build-Depends on python3-wheel, python-setuptools, -- cgit v1.2.3 From 2f252eb2a032b702c493247f0f764aa54d372d09 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 20 May 2014 23:49:40 +0000 Subject: -wheels -> -whl --- debian/control | 2 +- debian/python-requests-wheels.install | 1 - debian/python-requests-whl.install | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 debian/python-requests-wheels.install create mode 100644 debian/python-requests-whl.install diff --git a/debian/control b/debian/control index c01f6f0..d3b705b 100644 --- a/debian/control +++ b/debian/control @@ -75,7 +75,7 @@ Description: elegant and simple HTTP library for Python, built for human beings . This package contains the Python 3 version of the library. -Package: python-requests-wheels +Package: python-requests-whl Architecture: all Depends: ca-certificates, python-urllib3-wheels, diff --git a/debian/python-requests-wheels.install b/debian/python-requests-wheels.install deleted file mode 100644 index fd3f06f..0000000 --- a/debian/python-requests-wheels.install +++ /dev/null @@ -1 +0,0 @@ -usr/share/python-wheels diff --git a/debian/python-requests-whl.install b/debian/python-requests-whl.install new file mode 100644 index 0000000..fd3f06f --- /dev/null +++ b/debian/python-requests-whl.install @@ -0,0 +1 @@ +usr/share/python-wheels -- cgit v1.2.3 From b745ccd8fd4ded63716e98308a0c119727d05dc4 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 20 May 2014 23:51:09 +0000 Subject: fix typo --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index a3edc8c..7b1d209 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,7 +2,7 @@ requests (2.2.1-2) unstable; urgency=medium * Team upload. * debian/control - - Add python-requests-wheels binary package. + - Add python-requests-whl binary package. - Build-Depends on python3-wheel, python-setuptools, and python3-setuptools. - wrap-and-sort. -- cgit v1.2.3 -- cgit v1.2.3