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 += " cgts-client"
18 inherit setuptools distutils python-dir
23 RDEPENDS_cgts-client += " \
26 python-neutronclient \
27 python-keystoneclient \
32 do_configure_append() {
33 cd ${S}/sysinv/cgts-client/cgts-client
34 distutils_do_configure
38 cd ${S}/sysinv/cgts-client/cgts-client
43 cd ${S}/sysinv/cgts-client/cgts-client
46 install -d -m 755 ${D}/${sysconfdir}/bash_completion.d
47 install -p -D -m 664 tools/system.bash_completion ${D}/${sysconfdir}/bash_completion.d/system.bash_completion
50 FILES_cgts-client = " \
52 ${sysconfdir}/bash_completion.d/ \
53 ${PYTHON_SITEPACKAGES_DIR}/sysinv/ \
54 ${PYTHON_SITEPACKAGES_DIR}/cgtsclient/ \
55 ${PYTHON_SITEPACKAGES_DIR}/cgtsclient-*.egg-info \
56 ${PYTHON_SITEPACKAGES_DIR}/sysinv-*.egg-info \