From 778bc7866782bda1a7731f866fb298dc5b94d501 Mon Sep 17 00:00:00 2001 From: zangrc Date: Tue, 29 Sep 2020 22:58:34 +0800 Subject: python3-oslo.db: 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 --- .../recipes-devtools/python/python-oslo.db_git.bb | 38 ---------------------- .../recipes-devtools/python/python3-oslo.db_git.bb | 38 ++++++++++++++++++++++ 2 files changed, 38 insertions(+), 38 deletions(-) delete mode 100644 meta-openstack/recipes-devtools/python/python-oslo.db_git.bb create mode 100644 meta-openstack/recipes-devtools/python/python3-oslo.db_git.bb (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-oslo.db_git.bb b/meta-openstack/recipes-devtools/python/python-oslo.db_git.bb deleted file mode 100644 index a330ed4..0000000 --- a/meta-openstack/recipes-devtools/python/python-oslo.db_git.bb +++ /dev/null @@ -1,38 +0,0 @@ -DESCRIPTION = "oslo.db library" -HOMEPAGE = "http://launchpad.net/oslo" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" - -PV = "4.25.0+git${SRCPV}" -SRCREV = "71607d59ec5c02d7beb5109c500aa9b6a0d9ee2c" - -SRCNAME = "oslo.db" -SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/pike" - -S = "${WORKDIR}/git" - -inherit setuptools3 - -DEPENDS += " \ - python-pip \ - python-pbr \ - " - -# Satisfy setup.py 'setup_requires' -DEPENDS += " \ - python-pbr-native \ - " - -RDEPENDS_${PN} += " \ - python-six \ - python-alembic \ - python-oslo.config \ - python-oslo.i18n \ - python-oslo.utils \ - python-sqlalchemy \ - python-sqlalchemy-migrate \ - python-stevedore \ - python-pbr \ - python-debtcollector \ - " diff --git a/meta-openstack/recipes-devtools/python/python3-oslo.db_git.bb b/meta-openstack/recipes-devtools/python/python3-oslo.db_git.bb new file mode 100644 index 0000000..3a78391 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-oslo.db_git.bb @@ -0,0 +1,38 @@ +DESCRIPTION = "oslo.db library" +HOMEPAGE = "http://launchpad.net/oslo" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" + +PV = "8.4.0+git${SRCPV}" +SRCREV = "e42c73343f640eaacb0a76d204eb55c85de4f5d5" + +SRCNAME = "oslo.db" +SRC_URI = "git://github.com/openstack/${SRCNAME}.git" + +S = "${WORKDIR}/git" + +inherit setuptools3 + +DEPENDS += " \ + python3-pip \ + python3-pbr \ + " + +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python3-pbr-native \ + " + +RDEPENDS_${PN} += " \ + python3-six \ + python3-alembic \ + python3-oslo.config \ + python3-oslo.i18n \ + python3-oslo.utils \ + python3-sqlalchemy \ + python3-sqlalchemy-migrate \ + python3-stevedore \ + python3-pbr \ + python3-debtcollector \ + " -- cgit v1.2.3-54-g00ecf