[Python-modules-commits] r13669 - in packages/python-httplib2/trunk/debian (3 files)

dktrkranz at users.alioth.debian.org dktrkranz at users.alioth.debian.org
Sun Jun 27 08:57:52 UTC 2010


    Date: Sunday, June 27, 2010 @ 08:57:50
  Author: dktrkranz
Revision: 13669

Add python3-httplib2 package

Modified:
  packages/python-httplib2/trunk/debian/changelog
  packages/python-httplib2/trunk/debian/control
  packages/python-httplib2/trunk/debian/rules

Modified: packages/python-httplib2/trunk/debian/changelog
===================================================================
--- packages/python-httplib2/trunk/debian/changelog	2010-06-27 06:57:59 UTC (rev 13668)
+++ packages/python-httplib2/trunk/debian/changelog	2010-06-27 08:57:50 UTC (rev 13669)
@@ -3,11 +3,14 @@
   * Switch to format 3.0 (quilt).
   * Switch to dh_python2.
   * debian/control:
+    - Add python3-httplib2 package.
     - Bump Standards-Version to 3.8.4, no changes required.
+  * debian/rules:
+    - Install files for python3-httplib2 package.
   * debian/watch: 
     - Use googlecode.debian.net provider.
 
- -- Luca Falavigna <dktrkranz at debian.org>  Sun, 27 Jun 2010 03:32:50 +0200
+ -- Luca Falavigna <dktrkranz at debian.org>  Sun, 27 Jun 2010 10:57:19 +0200
 
 python-httplib2 (0.6.0-1) unstable; urgency=low
 

Modified: packages/python-httplib2/trunk/debian/control
===================================================================
--- packages/python-httplib2/trunk/debian/control	2010-06-27 06:57:59 UTC (rev 13668)
+++ packages/python-httplib2/trunk/debian/control	2010-06-27 08:57:50 UTC (rev 13669)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Luca Falavigna <dktrkranz at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7.2.18), python (>= 2.6.5-2)
+Build-Depends: debhelper (>= 7.2.18), python-all (>= 2.6.5-2), python3-all (>= 3.1.2-2)
 Standards-Version: 3.8.4
 XS-Python-Version: >= 2.4
 Homepage: http://code.google.com/p/httplib2/
@@ -13,7 +13,7 @@
 Package: python-httplib2
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}
-Description: comprehensive HTTP client library written in Python
+Description: comprehensive HTTP client library written for Python
  httplib2.py supports many features left out of other HTTP libraries.
   * HTTP and HTTPS
   * Keep-Alive
@@ -24,6 +24,22 @@
   * Compression
   * Lost update support
   * Unit Tested
+ .
+ This package provides module for python2 series.
 
-
-
+Package: python3-httplib2
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: comprehensive HTTP client library written for Python3
+ httplib2.py supports many features left out of other HTTP libraries.
+  * HTTP and HTTPS
+  * Keep-Alive
+  * Authentication
+  * Caching
+  * All Methods
+  * Redirects
+  * Compression
+  * Lost update support
+  * Unit Tested
+ .
+ This package provides module for python3 series.

Modified: packages/python-httplib2/trunk/debian/rules
===================================================================
--- packages/python-httplib2/trunk/debian/rules	2010-06-27 06:57:59 UTC (rev 13668)
+++ packages/python-httplib2/trunk/debian/rules	2010-06-27 08:57:50 UTC (rev 13669)
@@ -3,3 +3,16 @@
 %:
 	dh $@ --with python2
 
+override_dh_auto_install:
+	for pyvers in $(shell pyversions -vr); do \
+		python$$pyvers setup.py install --install-layout=deb \
+			--root $(CURDIR)/debian/python-httplib2; \
+	done
+	for pyvers in $(shell py3versions -sv); do \
+		python$$pyvers setup.py install --install-layout=deb \
+			--root $(CURDIR)/debian/python3-httplib2; \
+	done
+
+override_dh_python2:
+	dh_python2 -ppython-httplib2
+	dh_python3 -ppython3-httplib2




More information about the Python-modules-commits mailing list