meta-starlingx/meta-stx-flock/stx-distributedcloud/distributedcloud-client-dcmanager_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

45 lines
1018 B
BlitzBasic

DESCRIPTION = " \
Client library for Distributed Cloud built on the Distributed Cloud API. \
It provides a command-line tool (dcmanager). \
Distributed Cloud provides configuration and management of distributed clouds \
"
HOMEPAGE = "https://opendev.org/starlingx"
SECTION = "network"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://distributedcloud-client/LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
PROTOCOL = "https"
BRANCH = "r/stx.5.0"
SRCNAME = "distcloud-client"
SRCREV = "ef5241d9330abc1663973ba80728f3c0bb8bff8e"
PV = "1.0.0+git${SRCPV}"
S = "${WORKDIR}/git"
SRC_URI = " \
git://opendev.org/starlingx/${SRCNAME}.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH} \
"
inherit distutils python-dir
export PBR_VERSION = "${PV}"
DEPENDS += " \
python-pbr-native \
"
do_configure() {
cd ${S}/distributedcloud-client
distutils_do_configure
}
do_compile() {
cd ${S}/distributedcloud-client
distutils_do_compile
}
do_install() {
cd ${S}/distributedcloud-client
distutils_do_install
}