From ffc3dd6e9af2644e1f268547c338fdd958289436 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 8 Nov 2016 16:29:35 -0500 Subject: [PATCH] debian: add python-rgw package Signed-off-by: Sage Weil --- debian/control | 34 ++++++++++++++++++++++++++++++++++ debian/python-rgw.install | 2 ++ debian/python3-rgw.install | 2 ++ 3 files changed, 38 insertions(+) create mode 100644 debian/python-rgw.install create mode 100644 debian/python3-rgw.install diff --git a/debian/control b/debian/control index d41082d5b0e50..c961d8125b8c7 100644 --- a/debian/control +++ b/debian/control @@ -350,6 +350,7 @@ Depends: librbd1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}, python-rados (= ${binary:Version}), python-cephfs (= ${binary:Version}), python-rbd (= ${binary:Version}), + python-rgw (= ${binary:Version}), ${python:Depends}, python-requests Conflicts: ceph-client-tools @@ -651,6 +652,7 @@ Architecture: linux-any Section: python Depends: python-rados (= ${binary:Version}), python-rbd (= ${binary:Version}), + python-rgw (= ${binary:Version}), python-cephfs (= ${binary:Version}) Description: Meta-package for python libraries for the Ceph libraries Ceph is a massively scalable, open-source, distributed @@ -723,6 +725,38 @@ Description: Python 3 libraries for the Ceph librbd library This package contains Python 3 libraries for interacting with Ceph's RBD block device library. +Package: python-rgw +Architecture: linux-any +Section: python +Depends: librgw1 (>= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, + ${python:Depends} +Replaces: python-ceph (<< 0.92-1223) +Breaks: python-ceph (<< 0.92-1223) +Description: Python 2 libraries for the Ceph librgw library + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains Python 2 libraries for interacting with Ceph's + RGW library. + +Package: python3-rgw +Architecture: linux-any +Section: python +Depends: librgw1 (>= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, + ${python3:Depends} +Description: Python 3 libraries for the Ceph librgw library + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains Python 3 libraries for interacting with Ceph's + RGW library. + Package: python-cephfs Architecture: linux-any Section: python diff --git a/debian/python-rgw.install b/debian/python-rgw.install new file mode 100644 index 0000000000000..15e1f49215b09 --- /dev/null +++ b/debian/python-rgw.install @@ -0,0 +1,2 @@ +usr/lib/python2*/dist-packages/rgw.so +usr/lib/python2*/dist-packages/rgw-*.egg-info diff --git a/debian/python3-rgw.install b/debian/python3-rgw.install new file mode 100644 index 0000000000000..4131a2ce5dc52 --- /dev/null +++ b/debian/python3-rgw.install @@ -0,0 +1,2 @@ +usr/lib/python3*/dist-packages/rgw.cpython*.so +usr/lib/python3*/dist-packages/rgw-*.egg-info -- 2.39.5