[Python-modules-commits] r28922 - in packages/requests/trunk/debian (4 files)

barry at users.alioth.debian.org barry at users.alioth.debian.org
Thu May 15 21:08:02 UTC 2014


    Date: Thursday, May 15, 2014 @ 21:08:01
  Author: barry
Revision: 28922

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

Added:
  packages/requests/trunk/debian/python-requests-wheels.install
Modified:
  packages/requests/trunk/debian/changelog
  packages/requests/trunk/debian/control
  packages/requests/trunk/debian/rules

Modified: packages/requests/trunk/debian/changelog
===================================================================
--- packages/requests/trunk/debian/changelog	2014-05-15 20:59:06 UTC (rev 28921)
+++ packages/requests/trunk/debian/changelog	2014-05-15 21:08:01 UTC (rev 28922)
@@ -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 <barry at debian.org>  Tue, 06 May 2014 15:42:03 -0400
+
 requests (2.2.1-1) unstable; urgency=medium
 
   * New upstream release

Modified: packages/requests/trunk/debian/control
===================================================================
--- packages/requests/trunk/debian/control	2014-05-15 20:59:06 UTC (rev 28921)
+++ packages/requests/trunk/debian/control	2014-05-15 21:08:01 UTC (rev 28922)
@@ -3,15 +3,17 @@
 Uploaders: Daniele Tricoli <eriol at mornie.org>
 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 @@
 
 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 @@
 
 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 @@
    - 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.

Added: packages/requests/trunk/debian/python-requests-wheels.install
===================================================================
--- packages/requests/trunk/debian/python-requests-wheels.install	                        (rev 0)
+++ packages/requests/trunk/debian/python-requests-wheels.install	2014-05-15 21:08:01 UTC (rev 28922)
@@ -0,0 +1 @@
+usr/share/python-wheels

Modified: packages/requests/trunk/debian/rules
===================================================================
--- packages/requests/trunk/debian/rules	2014-05-15 20:59:06 UTC (rev 28921)
+++ packages/requests/trunk/debian/rules	2014-05-15 21:08:01 UTC (rev 28922)
@@ -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




More information about the Python-modules-commits mailing list