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/python3-oslo.db_git.bb | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python3-oslo.db_git.bb (limited to 'meta-openstack/recipes-devtools/python/python3-oslo.db_git.bb') 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