python-ironicclient: uprev to 3.1.0 for stx 5.0 93/8293/1
authorJackie Huang <jackie.huang@windriver.com>
Thu, 3 Jun 2021 03:30:45 +0000 (11:30 +0800)
committerJackie Huang <jackie.huang@windriver.com>
Mon, 16 May 2022 10:16:43 +0000 (18:16 +0800)
* change to use the source from git repo and uprev
* add dependency on python-oslo.config

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ic2563ebb085bdf98f3cf5c14c4dbc37cae934aaa

meta-starlingx/meta-stx-integ/recipes-devtools/python/python-ironicclient_2.7.0.bb [deleted file]
meta-starlingx/meta-stx-integ/recipes-devtools/python/python-ironicclient_git.bb [new file with mode: 0644]

diff --git a/meta-starlingx/meta-stx-integ/recipes-devtools/python/python-ironicclient_2.7.0.bb b/meta-starlingx/meta-stx-integ/recipes-devtools/python/python-ironicclient_2.7.0.bb
deleted file mode 100644 (file)
index e40a4ab..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-
-DESCRIPTION = "python-ironicclient"
-STABLE = "master"
-PROTOCOL = "https"
-BRANCH = "master"
-PV = "2.7.0"
-
-LICENSE = "Apache-2.0"
-
-LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
-
-SRC_URI = "https://tarballs.openstack.org/python-ironicclient/python-ironicclient-${PV}.tar.gz"
-SRC_URI[md5sum] = "6b13e133eb0c521a09c377f28fef139e"
-
-DEPENDS += " \
-       python \
-       python-pbr-native \
-       "
-
-inherit setuptools
-
-RDEPENDS_${PN}_append = " \
-       bash \
-       python-dogpile.cache \
-       "
diff --git a/meta-starlingx/meta-stx-integ/recipes-devtools/python/python-ironicclient_git.bb b/meta-starlingx/meta-stx-integ/recipes-devtools/python/python-ironicclient_git.bb
new file mode 100644 (file)
index 0000000..8fb480e
--- /dev/null
@@ -0,0 +1,28 @@
+
+DESCRIPTION = "python-ironicclient"
+SECTION = "devel/python"
+
+SRCREV = "04ef2d7b04caad162e299c52542b2cb581552ea3"
+SRCNAME = "python-ironicclient"
+PROTOCOL = "https"
+BRANCH = "stable/train"
+PV = "3.1.0+git${SRCPV}"
+S = "${WORKDIR}/git"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
+
+SRC_URI = "git://github.com/openstack/${SRCNAME}.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH}"
+
+DEPENDS += " \
+       python \
+       python-pbr-native \
+       "
+
+inherit setuptools
+
+RDEPENDS_${PN}_append = " \
+       bash \
+       python-dogpile.cache \
+       python-oslo.config \
+       "