Skip to content

Commit

Permalink
debian: Add packages for Python 3 bindings
Browse files Browse the repository at this point in the history
Signed-off-by: Oleh Prypin <[email protected]>
  • Loading branch information
oprypin committed Aug 11, 2016
1 parent a134708 commit d91d89b
Show file tree
Hide file tree
Showing 8 changed files with 74 additions and 14 deletions.
65 changes: 58 additions & 7 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Build-Depends: btrfs-tools,
cpio,
cryptsetup-bin | cryptsetup,
cython,
cython3,
debhelper (>= 9),
dh-python,
dh-systemd,
Expand Down Expand Up @@ -57,6 +58,8 @@ Build-Depends: btrfs-tools,
python-nose,
python-setuptools,
python-sphinx,
python3-all-dev,
python3-setuptools,
virtualenv | python-virtualenv,
sdparm | hdparm,
uuid-runtime,
Expand Down Expand Up @@ -624,20 +627,32 @@ Description: Meta-package for python libraries for the Ceph libraries
storage system that runs on commodity hardware and delivers object,
block and file system storage.
.
This package is a metapackage for all python bindings.
This package is a metapackage for all Python 2 bindings.

Package: python-rados
Architecture: linux-any
Section: python
Depends: librados2 (= ${binary:Version}), ${misc:Depends}, ${python:Depends}
Replaces: python-ceph (<< 0.92-1223)
Breaks: python-ceph (<< 0.92-1223)
Description: Python libraries for the Ceph librados library
Description: Python 2 libraries for the Ceph librados 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 libraries for interacting with Ceph's
This package contains Python 2 libraries for interacting with Ceph's
RADOS object storage.

Package: python3-rados
Architecture: linux-any
Section: python
Depends: librados2 (= ${binary:Version}), ${misc:Depends}, ${python3:Depends}
Description: Python 3 libraries for the Ceph librados 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
RADOS object storage.

Package: python-rbd
Expand All @@ -646,12 +661,24 @@ Section: python
Depends: librbd1 (>= ${binary:Version}), ${misc:Depends}, ${python:Depends}
Replaces: python-ceph (<< 0.92-1223)
Breaks: python-ceph (<< 0.92-1223)
Description: Python libraries for the Ceph librbd library
Description: Python 2 libraries for the Ceph librbd 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
RBD block device library.

Package: python3-rbd
Architecture: linux-any
Section: python
Depends: librbd1 (>= ${binary:Version}), ${misc:Depends}, ${python3:Depends}
Description: Python 3 libraries for the Ceph librbd 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 libraries for interacting with Ceph's
This package contains Python 3 libraries for interacting with Ceph's
RBD block device library.

Package: python-cephfs
Expand All @@ -660,14 +687,38 @@ Section: python
Depends: libcephfs1 (= ${binary:Version}), ${misc:Depends}, ${python:Depends}
Replaces: python-ceph (<< 0.92-1223)
Breaks: python-ceph (<< 0.92-1223)
Description: Python libraries for the Ceph libcephfs library
Description: Python 2 libraries for the Ceph libcephfs 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 libraries for interacting with Ceph's
This package contains Python 2 libraries for interacting with Ceph's
CephFS file system client library.

Package: python3-cephfs
Architecture: linux-any
Section: python
Depends: libcephfs1 (= ${binary:Version}), ${misc:Depends}, ${python3:Depends}
Description: Python 3 libraries for the Ceph libcephfs 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
CephFS file system client library.

Package: python3-ceph-argparse
Architecture: linux-any
Section: python
Depends: ${misc:Depends}, ${python3:Depends}
Description: Python 3 utility libraries for Ceph CLI
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 types and routines for Python 3 used by the
Ceph CLI as well as the RESTful interface.

Package: libcephfs-java
Section: java
Architecture: all
Expand Down
6 changes: 3 additions & 3 deletions debian/python-cephfs.install
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
usr/lib/python*/dist-packages/ceph_volume_client.py*
usr/lib/python*/dist-packages/cephfs.so
usr/lib/python*/dist-packages/cephfs-*.egg-info
usr/lib/python2*/dist-packages/ceph_volume_client.py*
usr/lib/python2*/dist-packages/cephfs.so
usr/lib/python2*/dist-packages/cephfs-*.egg-info
4 changes: 2 additions & 2 deletions debian/python-rados.install
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
usr/lib/python*/dist-packages/rados.so
usr/lib/python*/dist-packages/rados-*.egg-info
usr/lib/python2*/dist-packages/rados.so
usr/lib/python2*/dist-packages/rados-*.egg-info
4 changes: 2 additions & 2 deletions debian/python-rbd.install
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
usr/lib/python*/dist-packages/rbd.so
usr/lib/python*/dist-packages/rbd-*.egg-info
usr/lib/python2*/dist-packages/rbd.so
usr/lib/python2*/dist-packages/rbd-*.egg-info
2 changes: 2 additions & 0 deletions debian/python3-ceph-argparse.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/lib/python3*/dist-packages/ceph_argparse.py
usr/lib/python3*/dist-packages/ceph_daemon.py
3 changes: 3 additions & 0 deletions debian/python3-cephfs.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
usr/lib/python3*/dist-packages/ceph_volume_client.py
usr/lib/python3*/dist-packages/cephfs.cpython*.so
usr/lib/python3*/dist-packages/cephfs-*.egg-info
2 changes: 2 additions & 0 deletions debian/python3-rados.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/lib/python3*/dist-packages/rados.cpython*.so
usr/lib/python3*/dist-packages/rados-*.egg-info
2 changes: 2 additions & 0 deletions debian/python3-rbd.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/lib/python3*/dist-packages/rbd.cpython*.so
usr/lib/python3*/dist-packages/rbd-*.egg-info

0 comments on commit d91d89b

Please sign in to comment.