From 0da30c358b3fc469e3c2700e1f67a7cf009bd2df Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Fri, 10 Jun 2011 15:51:33 -0700 Subject: [PATCH] debian: Properly package the python bindings. Build-depend on python-support. Add binary package python-ceph, making it contain all the ceph python packages, regardless of their name; the modules are too small to deserve their own debs. Make python-ceph depend only on librados2 for now. librgw is not packaged yet. Dropping unnecessary build-dep on python-dev, that's only needed for compiling C extensions, and we're using ctypes. Signed-off-by: Tommi Virtanen --- debian/.gitignore | 1 + debian/control | 12 +++++++++++- debian/python-ceph.install | 1 + debian/rules | 1 + 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 debian/python-ceph.install diff --git a/debian/.gitignore b/debian/.gitignore index 4f1e9975b63df..ac93cb0c1e69e 100644 --- a/debian/.gitignore +++ b/debian/.gitignore @@ -21,4 +21,5 @@ /librbd1 /radosgw-dbg /radosgw +/python-ceph /tmp diff --git a/debian/control b/debian/control index fd6ce041bb205..3a28b5e3438aa 100644 --- a/debian/control +++ b/debian/control @@ -6,7 +6,7 @@ Vcs-Git: git://ceph.newdream.net/git/ceph.git Vcs-Browser: http://ceph.newdream.net/git/?p=ceph.git;a=summary Maintainer: Laszlo Boszormenyi (GCS) Uploaders: Sage Weil -Build-Depends: debhelper (>= 6.0.7~), autotools-dev, autoconf, automake, libfuse-dev, libboost-dev (>= 1.34), libedit-dev, libcrypto++-dev, libtool, libexpat1-dev, libfcgi-dev, libatomic-ops-dev, libgoogle-perftools-dev [i386 amd64], pkg-config, libgtkmm-2.4-dev, python, python-dev, libcurl4-gnutls-dev, libkeyutils-dev +Build-Depends: debhelper (>= 6.0.7~), autotools-dev, autoconf, automake, libfuse-dev, libboost-dev (>= 1.34), libedit-dev, libcrypto++-dev, libtool, libexpat1-dev, libfcgi-dev, libatomic-ops-dev, libgoogle-perftools-dev [i386 amd64], pkg-config, libgtkmm-2.4-dev, python, python-support (>= 0.90), libcurl4-gnutls-dev, libkeyutils-dev Standards-Version: 3.9.1 Package: ceph @@ -257,3 +257,13 @@ Description: synchronize data between cloud object storage providers or a local obsync is a tool to synchronize objects between cloud object storage providers, such as Amazon S3 (or compatible services), a Ceph RADOS cluster, or a local directory. + +Package: python-ceph +Architecture: linux-any +Depends: ${python:Depends}, librados2 +Description: Python libraries for the Ceph distributed filesystem + Ceph is a distributed storage and network file system designed to provide + excellent performance, reliability, and scalability. + . + This package contains Python libraries for interacting with Ceph's + RADOS object storage. diff --git a/debian/python-ceph.install b/debian/python-ceph.install new file mode 100644 index 0000000000000..607c0659ca9a5 --- /dev/null +++ b/debian/python-ceph.install @@ -0,0 +1 @@ +usr/lib/python* diff --git a/debian/rules b/debian/rules index 00f9860916be1..6eccd367662f3 100755 --- a/debian/rules +++ b/debian/rules @@ -113,6 +113,7 @@ binary-arch: build install dh_compress dh_fixperms dh_makeshlibs -n # we do the postinst/postrm scripts manually + dh_pysupport dh_installdeb dh_shlibdeps dh_gencontrol -- 2.39.5