Add X-Python-Version >=2.6 to debian control file.
PATCH 1/1 Add X-Python-Version >=2.6 to debian control file.
python-ceph complains when installed to debian squeeze about the 'with' statement. Apparently installation tries to install the python-ceph package for python 2.5, which does not support the 'with' statement natively.
Signed-off-by Filippos Giannakos <[email protected]>
--- debian/control | 1 + 1 file changed, 1 insertion(+)
debian/control +1 -0
@@ -8,6 +8,7 @@ Maintainer: Laszlo Boszormenyi (GCS) <[email protected]> Uploaders: Sage Weil <[email protected]> Build-Depends: debhelper (>= 6.0.7~), autotools-dev, autoconf, automake, libfuse-dev, libboost-dev (>= 1.34), libboost-thread-dev, libedit-dev, libnss3-dev, libtool, libexpat1-dev, libfcgi-dev, libatomic-ops-dev, libgoogle-perftools-dev [i386 amd64], pkg-config, libcurl4-gnutls-dev, libkeyutils-dev, uuid-dev, libaio-dev, python (>= 2.6.6-3~), libxml2-dev, javahelper, default-jdk, junit4, libboost-program-options-dev Standards-Version: 3.9.3 +X-Python-Version: >=2.6 Package: ceph Architecture: linux-any
Signature · 1 line
1.7.10.4
Quoted 5 lines · Filippos Giannakos
python-ceph complains when installed to debian squeeze about the 'with' statement. Apparently installation tries to install the python-ceph package for python 2.5, which does not support the 'with' statement natively.
Signed-off-by Filippos Giannakos <[email protected]>
Looks good to me. I added it to the wip-py26 branch along with the same thing for the ceph package, since ceph-disk-* use python 2.6 features too. I'll merge it once it builds.
Thanks!
Josh
Quoted 17 lines
--- debian/control | 1 + 1 file changed, 1 insertion(+)debian/control +1
-0@@ -8,6 +8,7 @@ Maintainer: Laszlo Boszormenyi (GCS) <[email protected]> Uploaders: Sage Weil <[email protected]> Build-Depends: debhelper (>= 6.0.7~), autotools-dev, autoconf, automake, libfuse-dev, libboost-dev (>= 1.34), libboost-thread-dev, libedit-dev, libnss3-dev, libtool, libexpat1-dev, libfcgi-dev, libatomic-ops-dev, libgoogle-perftools-dev [i386 amd64], pkg-config, libcurl4-gnutls-dev, libkeyutils-dev, uuid-dev, libaio-dev, python (>= 2.6.6-3~), libxml2-dev, javahelper, default-jdk, junit4, libboost-program-options-dev Standards-Version: 3.9.3 +X-Python-Version: >=2.6 Package: ceph Architecture: linux-any