2 ## Copyright (C) 2019 Wind River Systems, Inc.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 PACKAGES += " python-cephclient"
18 RDEPENDS_ceph-manager += " \
25 DESCRIPTION_python-cephclient = " \
26 A client library in Python for Ceph Mgr RESTful plugin providing REST API \
27 access to the cluster over an SSL-secured connection. Python API is compatible \
28 with the old Python Ceph client at \
29 https://github.com/dmsimard/python-cephclient that no longer works in Ceph \
30 mimic because Ceph REST API component was removed. \
33 do_configure_append() {
34 cd ${S}/ceph/python-cephclient/python-cephclient
36 rm -rf python_cephclient.egg-info
37 rm -f requirements.txt
38 distutils_do_configure
41 cd ${S}/ceph/python-cephclient/python-cephclient
46 cd ${S}/ceph/python-cephclient/python-cephclient
50 FILES_python-cephclient = " \
51 ${PYTHON_SITEPACKAGES_DIR}/cephclient \
52 ${PYTHON_SITEPACKAGES_DIR}/python_cephclient-13.2.2.0-py2.7.egg-info \
54 # /usr/share/licenses/python-cephclient-13.2.2.0
55 # /usr/share/licenses/python-cephclient-13.2.2.0/LICENSE