[pkg-eucalyptus-maintainers] Bug#616802: euca2ools: deprecation of dh_pycentral, please use dh_python2
Colin Watson
cjwatson at ubuntu.com
Sat Jun 25 03:55:43 UTC 2011
tags 616802 patch
user ubuntu-devel at lists.ubuntu.com
usertags 616802 ubuntu-patch oneiric
thanks
On Mon, Mar 07, 2011 at 12:47:25AM +0000, Matthias Klose wrote:
> The package build-depends on python-central, which should be
> removed in time for the wheezy release. dh_python2 should be used instead.
> dh_python2 installs into the same locations as pycentral, but
> avoids the creation and removal of symlinks at package installation
> and removal time, making the upgrade process more robust and faster.
Here's a patch.
* Convert to dh_python2.
diff -u euca2ools-1.2/debian/control euca2ools-1.2/debian/control
--- euca2ools-1.2/debian/control
+++ euca2ools-1.2/debian/control
@@ -9,9 +9,9 @@
Kyo Lee <kyo.lee at eucalyptus.com>,
Dustin Kirkland <kirkland at ubuntu.com>
DM-Upload-Allowed: yes
-Build-Depends: cdbs, debhelper (>= 7), help2man, python-all, python-central, python-boto, python-m2crypto
+Build-Depends: cdbs (>= 0.4.90~), debhelper (>= 7), help2man, python-all (>= 2.6.6-3~), python-boto, python-m2crypto
Standards-Version: 3.8.4
-XS-Python-Version: >= 2.5
+X-Python-Version: >= 2.5
Homepage: http://open.eucalyptus.com/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-eucalyptus/euca2ools/trunk/
Vcs-Svn: svn://svn.debian.org/svn/pkg-eucalyptus/euca2ools/
@@ -19,7 +19,6 @@
Package: euca2ools
Architecture: all
Depends: ${python:Depends}, python-m2crypto (>= 0.19.1), python-boto (>= 1.8d), ${misc:Depends}
-XB-Python-Version: ${python:Versions}
Description: managing cloud instances for Eucalyptus
EUCALYPTUS is an open source service overlay that implements elastic
computing using existing resources. The goal of EUCALYPTUS is to allow
diff -u euca2ools-1.2/debian/rules euca2ools-1.2/debian/rules
--- euca2ools-1.2/debian/rules
+++ euca2ools-1.2/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-DEB_PYTHON_SYSTEM = pycentral
+DEB_PYTHON2_MODULE_PACKAGES := euca2ools
binary/euca2ools::
$(MAKE) man MANDIR=$(CURDIR)/debian/manpages-help2man
Thanks,
--
Colin Watson [cjwatson at ubuntu.com]
More information about the pkg-eucalyptus-maintainers
mailing list