Files
meta-starlingx/meta-stx-integ/recipes-devtools/python/python-glanceclient_git.bb
Jackie Huang e2fefea34d recipes-devtools: fix the do_install failure for pkgs
Set PBR_VERSION to disable all version calculation logic
of pbr the supplied version will be considered absolute.

Closes-bug: 2013029

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ia038c1c7f10170413051e5b3addd337d3559f3ff
2023-03-28 21:44:00 -07:00

49 lines
1.2 KiB
BlitzBasic

DESCRIPTION = "Client library for Glance built on the OpenStack Images API."
HOMEPAGE = "https://opendev.org/openstack/python-glanceclient"
SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
SRCREV = "40c19aa44361e13ac997d325d357d3e4748fa063"
SRCNAME = "python-glanceclient"
BRANCH = "stable/train"
PROTOCOL = "https"
PV = "2.17.0+git${SRCPV}"
S = "${WORKDIR}/git"
SRC_URI = "git://github.com/openstack/${SRCNAME}.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH}"
inherit setuptools monitor rmargparse
DEPENDS += " \
python-pip \
python-pbr-native\
"
# Satisfy setup.py 'setup_requires'
DEPENDS += " \
python-pbr-native \
"
RDEPENDS_${PN} += " \
bash \
python-pbr \
python-prettytable \
python-keystoneauth1 \
python-warlock \
python-six \
python-oslo.utils \
python-oslo.i18n \
python-wrapt \
python-pyopenssl \
"
do_install_append() {
install -d -m 755 ${D}/${sysconfdir}/bash_completion.d
install -p -D -m 664 tools/glance.bash_completion ${D}/${sysconfdir}/bash_completion.d/glance
}
export PBR_VERSION = "${PV}"