From 72e4a4bedd7b6a16c0fca578ba92f7583df31bd2 Mon Sep 17 00:00:00 2001 From: zangrc Date: Tue, 29 Sep 2020 22:59:02 +0800 Subject: python3-oslo.messaging: change to python3 Because python2 is no longer maintained, bb file is changed to python3 version. Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../python/python-oslo.messaging_git.bb | 52 ---------------------- .../python/python3-oslo.messaging_git.bb | 51 +++++++++++++++++++++ 2 files changed, 51 insertions(+), 52 deletions(-) delete mode 100644 meta-openstack/recipes-devtools/python/python-oslo.messaging_git.bb create mode 100644 meta-openstack/recipes-devtools/python/python3-oslo.messaging_git.bb diff --git a/meta-openstack/recipes-devtools/python/python-oslo.messaging_git.bb b/meta-openstack/recipes-devtools/python/python-oslo.messaging_git.bb deleted file mode 100644 index 28404e3..0000000 --- a/meta-openstack/recipes-devtools/python/python-oslo.messaging_git.bb +++ /dev/null @@ -1,52 +0,0 @@ -DESCRIPTION = "Oslo Messaging API" -HOMEPAGE = "https://launchpad.net/oslo" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=c46f31914956e4579f9b488e71415ac8" - -SRCNAME = "oslo.messaging" -SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/pike" - -PV = "5.30.1+git${SRCPV}" -SRCREV = "a07d852b237d229a0f4dd55fd83379c0581e44e9" -S = "${WORKDIR}/git" - -inherit setuptools3 - -# DEPENDS_default: python-pip - -DEPENDS += " \ - python-pip \ - python-pbr \ - " - -# Satisfy setup.py 'setup_requires' -DEPENDS += " \ - python-pbr-native \ - " - -# RDEPENDS_default: -RDEPENDS_${PN} += " \ - bash \ - python-pbr \ - python-cachetools \ - python-futurist \ - python-oslo.log \ - python-oslo.utils \ - python-oslo.serialization \ - python-oslo.middleware \ - python-oslo.service \ - python-oslo.i18n \ - python-stevedore \ - python-debtcollector \ - python-monotonic \ - python-six \ - python-webob \ - python-pyyaml \ - python-amqp \ - python-kombu \ - python-pika \ - python-pika-pool \ - python-futures \ - python-tenacity \ - " diff --git a/meta-openstack/recipes-devtools/python/python3-oslo.messaging_git.bb b/meta-openstack/recipes-devtools/python/python3-oslo.messaging_git.bb new file mode 100644 index 0000000..9582c6b --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-oslo.messaging_git.bb @@ -0,0 +1,51 @@ +DESCRIPTION = "Oslo Messaging API" +HOMEPAGE = "https://launchpad.net/oslo" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c46f31914956e4579f9b488e71415ac8" + +SRCNAME = "oslo.messaging" +SRC_URI = "git://github.com/openstack/${SRCNAME}.git" + +PV = "12.5.0+git${SRCPV}" +SRCREV = "62e104bdb57714a0754f788795d1b4faf8ebb74d" +S = "${WORKDIR}/git" + +inherit setuptools3 + +# DEPENDS_default: python-pip + +DEPENDS += " \ + python3-pip \ + python3-pbr \ + " + +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python3-pbr-native \ + " + +# RDEPENDS_default: +RDEPENDS_${PN} += " \ + bash \ + python3-pbr \ + python3-cachetools \ + python3-futurist \ + python3-oslo.log \ + python3-oslo.utils \ + python3-oslo.serialization \ + python3-oslo.middleware \ + python3-oslo.service \ + python3-oslo.i18n \ + python3-stevedore \ + python3-debtcollector \ + python3-monotonic \ + python3-six \ + python3-webob \ + python3-pyyaml \ + python3-amqp \ + python3-kombu \ + python3-pika \ + python3-pika-pool \ + python3-tenacity \ + " -- cgit v1.2.3-54-g00ecf