X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-integ%2Frecipes-devtools%2Fpython%2Fpython-novaclient_git.bb;fp=meta-starlingx%2Fmeta-stx-integ%2Frecipes-devtools%2Fpython%2Fpython-novaclient_git.bb;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=039ba1d08542024efea5745d7979592e30996e10;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-integ/recipes-devtools/python/python-novaclient_git.bb b/meta-starlingx/meta-stx-integ/recipes-devtools/python/python-novaclient_git.bb deleted file mode 100644 index 039ba1d..0000000 --- a/meta-starlingx/meta-stx-integ/recipes-devtools/python/python-novaclient_git.bb +++ /dev/null @@ -1,63 +0,0 @@ - -DESCRIPTION = "Client library for OpenStack Compute API" -HOMEPAGE = "https://github.com/openstack/python-novaclient" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=7cdb54622cacc9bc9b2883091e6dd669" - -SRC_URI = "git://github.com/openstack/python-novaclient.git;branch=stable/pike" - -SRCREV = "cd396b8b61ed7496f4166a2237b27aa0a138f6e5" -SRCNAME = "python-novaclient" -PROTOCOL = "https" -BRANCH = "stable/train" -S = "${WORKDIR}/git" -PV = "15.1.0+git${SRCPV}" - -SRC_URI = "git://github.com/openstack/${SRCNAME}.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH}" - -inherit setuptools python-dir - -DEPENDS += " \ - python-pip \ - python-pbr-native \ - " - -# Satisfy setup.py 'setup_requires' -DEPENDS += " \ - python-pbr-native \ - " - -RDEPENDS_${PN} += " \ - python-pbr \ - python-keystoneauth1 \ - python-iso8601 \ - python-oslo.i18n \ - python-oslo.serialization \ - python-oslo.utils \ - python-prettytable \ - python-simplejson \ - python-six \ - python-babel \ - " - -PACKAGECONFIG ?= "bash-completion" -PACKAGECONFIG[bash-completion] = ",,bash-completion,bash-completion ${BPN}-bash-completion" - -do_install_append() { - install -d ${D}/${sysconfdir}/bash_completion.d - install -m 664 ${S}/tools/nova.bash_completion ${D}/${sysconfdir}/bash_completion.d - - mv ${D}/${bindir}/nova ${D}/${bindir}/nova-${PYTHON_BASEVERSION} - ln -s ./nova-${PYTHON_BASEVERSION} ${D}/${bindir}/nova-2 - ln -s ./nova-2 ${D}/${bindir}/nova - - if [ -e "${D}/${PYTHON_SITEPACKAGES_DIR}/novaclient/tests/v1_1/test_servers.py" ]; then - sed -e "s:%PYTHON_SITEPACKAGES_DIR%:${PYTHON_SITEPACKAGES_DIR}:g" \ - -i ${D}/${PYTHON_SITEPACKAGES_DIR}/novaclient/tests/v1_1/test_servers.py - fi - -} - -PACKAGES =+ "${BPN}-bash-completion" -FILES_${BPN}-bash-completion = "${sysconfdir}/bash_completion.d/*"