aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Bellamy <dunk@denkimushi.com>2022-09-24 07:14:17 +0000
committeralice <alice@ayaya.dev>2022-09-24 15:41:38 +0000
commit12a7f14b8e70e1e822a3a498dc3f644a9f39f2f1 (patch)
tree97b2a32f2840268a7211460153650486364b5167
parente4dccb8ac26ac253bf6b23ed4bc3bf9e2bb08190 (diff)
downloadaports-12a7f14b8e70e1e822a3a498dc3f644a9f39f2f1.tar.gz
aports-12a7f14b8e70e1e822a3a498dc3f644a9f39f2f1.tar.bz2
aports-12a7f14b8e70e1e822a3a498dc3f644a9f39f2f1.tar.xz
community/ceph: add py3-ceph-common sub package with core ceph module
* make py3-ceph-common depend on missing python deps * fix missing deps for ceph-volume part of: #14205
-rw-r--r--community/ceph/APKBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/community/ceph/APKBUILD b/community/ceph/APKBUILD
index 9d1a60113c..2cc038820f 100644
--- a/community/ceph/APKBUILD
+++ b/community/ceph/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=ceph
pkgver=16.2.10
-pkgrel=4
+pkgrel=5
pkgdesc="Ceph is a distributed object store and file system"
pkgusers="ceph"
pkggroups="ceph"
@@ -24,7 +24,7 @@ _base_deps="
"
_osd_daemon_deps="fuse snappy lz4-libs"
_osd_tools_deps="lz4-libs"
-_ceph_volume_deps="lvm2"
+_ceph_volume_deps="ceph-common lvm2 py3-ceph-common"
_ceph_test_deps="
xmlstarlet
py3-coverage
@@ -168,6 +168,7 @@ subpackages="
libradosstriper
py3-rbd:_py3_rbd
py3-cephfs:_py3_cephfs
+ py3-ceph-common:_py3_ceph_common
"
# secfixes:
@@ -352,7 +353,7 @@ base() {
common() {
pkgdesc="Common utilities to mount and interact with a ceph storage cluster."
- depends="py3-rados py3-rbd py3-cephfs py3-prettytable"
+ depends="eudev py3-rados py3-rbd py3-cephfs py3-prettytable"
amove usr/bin/ceph \
usr/bin/ceph-authtool \
@@ -493,7 +494,7 @@ librados() {
_py3_rados() {
pkgdesc="Python libraries for the RADOS object store"
- depends=
+ depends=py3-ceph-common
amove "$(_py3_sitelib)"/rados*
}
@@ -533,6 +534,13 @@ _py3_cephfs() {
amove "$(_py3_sitelib)"/cephfs* "$(_py3_sitelib)"/ceph_volume_client.py
}
+_py3_ceph_common() {
+ pkgdesc="Python dependencies for Ceph distributed file system"
+ depends="py3-setuptools py3-yaml"
+
+ amove "$(_py3_sitelib)"/ceph-*.egg-info "$(_py3_sitelib)"/ceph
+}
+
utils() {
pkgdesc="Ceph utils and recovery tools"
depends="ceph-common=$pkgver-r$pkgrel"