]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
debian: Properly package the python bindings.
authorTommi Virtanen <tommi.virtanen@dreamhost.com>
Fri, 10 Jun 2011 22:51:33 +0000 (15:51 -0700)
committerTommi Virtanen <tommi.virtanen@dreamhost.com>
Fri, 10 Jun 2011 23:15:34 +0000 (16:15 -0700)
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 <tommi.virtanen@dreamhost.com>
debian/.gitignore
debian/control
debian/python-ceph.install [new file with mode: 0644]
debian/rules

index 4f1e9975b63dff1bc9a8ff9509e6a786124ef7e8..ac93cb0c1e69ef01137247ebdd7e1a1b7eba579f 100644 (file)
@@ -21,4 +21,5 @@
 /librbd1
 /radosgw-dbg
 /radosgw
+/python-ceph
 /tmp
index fd6ce041bb2055af6fe53c8f00f15827a8de7e86..3a28b5e3438aae946bf73b2c6e2e086ee75f3bf2 100644 (file)
@@ -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) <gcs@debian.hu>
 Uploaders: Sage Weil <sage@newdream.net>
-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 (file)
index 0000000..607c065
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/python*
index 00f9860916be1ffe719a70feaa297456cc40f299..6eccd367662f3710047bcfe7cd9499bc8391be3d 100755 (executable)
@@ -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