[Python-modules-commits] r29665 - in packages/libcloud/trunk/debian (changelog control rules)

asb at users.alioth.debian.org asb at users.alioth.debian.org
Mon Jul 7 01:26:48 UTC 2014


    Date: Monday, July 7, 2014 @ 01:26:47
  Author: asb
Revision: 29665

Build Python3 package (Closes: #745962). Thanks to
Daniel Lintott for the initial patch!

Modified:
  packages/libcloud/trunk/debian/changelog
  packages/libcloud/trunk/debian/control
  packages/libcloud/trunk/debian/rules

Modified: packages/libcloud/trunk/debian/changelog
===================================================================
--- packages/libcloud/trunk/debian/changelog	2014-07-07 00:41:00 UTC (rev 29664)
+++ packages/libcloud/trunk/debian/changelog	2014-07-07 01:26:47 UTC (rev 29665)
@@ -1,6 +1,8 @@
 libcloud (0.15.1-1) UNRELEASED; urgency=medium
 
   * New upstream release.
+  * Build Python3 package (Closes: #745962). Thanks to
+    Daniel Lintott for the initial patch!
 
  -- Andrew Starr-Bochicchio <a.starr.b at gmail.com>  Sun, 06 Jul 2014 20:12:15 -0400
 

Modified: packages/libcloud/trunk/debian/control
===================================================================
--- packages/libcloud/trunk/debian/control	2014-07-07 00:41:00 UTC (rev 29664)
+++ packages/libcloud/trunk/debian/control	2014-07-07 01:26:47 UTC (rev 29665)
@@ -12,9 +12,15 @@
                python-setuptools,
                python-mock (>= 0.8.0),
                python-epydoc,
-               python-pydoctor
+               python-pydoctor,
+               python3-all,
+               python3-crypto (>= 2.6),
+               python3-simplejson,
+               python3-setuptools,
+               python3-mock (>= 0.8.0)
 Standards-Version: 3.9.5
 X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.0
 Homepage: https://libcloud.apache.org/
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/libcloud/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/libcloud/trunk/
@@ -50,3 +56,36 @@
  libcloud was originally created by the folks over at Cloudkick, but has
  since grown into an independent free software project licensed under
  the Apache License (2.0).
+
+Package: python3-libcloud
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends},
+         python3-crypto (>= 2.6),
+         python3-simplejson
+Description: unified Python interface into the cloud
+ libcloud is a pure Python client library for interacting with many of the
+ popular cloud server providers using a unified API. It was created to make it
+ easy for developers to build products that work between any of the services
+ that it supports.
+ .
+  * Avoid vendor lock-in
+  * Use the same API to talk to many different providers
+  * More than 30 supported providers total
+  * Four main APIs: Compute, Storage, Load Balancers, DNS
+  * Supports Python 2.5, Python 2.6, Python 2.7, PyPy and Python 3
+ .
+ Resource you can manage with Libcloud are divided in the following categories:
+ .
+  * Cloud Servers and Block Storage - services such as Amazon EC2 and
+    Rackspace Cloud Servers (libcloud.compute.*)
+  * Cloud Object Storage and CDN - services such as Amazon S3 and
+    Rackspace CloudFiles (libcloud.storage.*)
+  * Load Balancers as a Service, LBaaS (libcloud.loadbalancer.*)
+  * DNS as a Service, DNSaaS (libcloud.dns.*)
+ .
+ libcloud was originally created by the folks over at Cloudkick, but has
+ since grown into an independent free software project licensed under
+ the Apache License (2.0).
+ .
+ This is the Python 3 version of the package.

Modified: packages/libcloud/trunk/debian/rules
===================================================================
--- packages/libcloud/trunk/debian/rules	2014-07-07 00:41:00 UTC (rev 29664)
+++ packages/libcloud/trunk/debian/rules	2014-07-07 01:26:47 UTC (rev 29665)
@@ -1,17 +1,17 @@
 #!/usr/bin/make -f
 
+export PYBUILD_NAME=libcloud
+
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test:
-	dh_auto_test
 	ln -s secrets.py-dist libcloud/test/secrets.py
 	for pyversion in $(shell pyversions -vr); do python$$pyversion setup.py test; done
-	touch $@
+	for py3version in $(shell py3versions -vr); do python$$py3version setup.py test; done
 
 override_dh_clean:
 	dh_clean
-	rm -f test/secrets.py
 	rm -f libcloud/test/secrets.py
 endif




More information about the Python-modules-commits mailing list