merged Bruce
On Mon, Aug 12, 2019 at 4:55 AM Zheng Ruoqin <[email protected]> wrote: > Providing a python3 version of python-oslo.utils. > > Signed-off-by: Zheng Ruoqin <[email protected]> > --- > .../python/python-oslo.utils.inc | 41 +++++++++++++++++++ > .../python/python-oslo.utils_git.bb | 41 +------------------ > .../python/python3-oslo.utils_git.bb | 2 + > 3 files changed, 44 insertions(+), 40 deletions(-) > create mode 100644 > meta-openstack/recipes-devtools/python/python-oslo.utils.inc > create mode 100644 meta-openstack/recipes-devtools/python/ > python3-oslo.utils_git.bb > > diff --git a/meta-openstack/recipes-devtools/python/python-oslo.utils.inc > b/meta-openstack/recipes-devtools/python/python-oslo.utils.inc > new file mode 100644 > index 0000000..04aa24a > --- /dev/null > +++ b/meta-openstack/recipes-devtools/python/python-oslo.utils.inc > @@ -0,0 +1,41 @@ > +DESCRIPTION = "Oslo utils" > +HOMEPAGE = "https://launchpad.net/oslo" > +SECTION = "devel/python" > +LICENSE = "Apache-2.0" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" > + > +SRCNAME = "oslo.utils" > +SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/pike > <http://github.com/openstack/$%7BSRCNAME%7D.git;branch=stable/pike>" > + > +PV = "3.28.0+git${SRCPV}" > +SRCREV = "8b3965b9bbe1e31a4939f2f69c5239d6d5c7f72c" > +S = "${WORKDIR}/git" > + > +inherit setuptools > + > +# DEPENDS_default: python-pip > + > +DEPENDS += " \ > + ${PYTHON_PN}-pip \ > + ${PYTHON_PN}-pbr \ > + " > + > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + ${PYTHON_PN}-pbr-native \ > + " > + > +# RDEPENDS_default: > +RDEPENDS_${PN} += " \ > + ${PYTHON_PN}-pbr \ > + ${PYTHON_PN}-six \ > + ${PYTHON_PN}-iso8601 \ > + ${PYTHON_PN}-oslo.i18n \ > + ${PYTHON_PN}-monotonic \ > + ${PYTHON_PN}-pytz \ > + ${PYTHON_PN}-netaddr \ > + ${PYTHON_PN}-netifaces \ > + ${PYTHON_PN}-debtcollector \ > + ${PYTHON_PN}-funcsigs \ > + ${PYTHON_PN}-pyparsing \ > + " > diff --git a/meta-openstack/recipes-devtools/python/ > python-oslo.utils_git.bb b/meta-openstack/recipes-devtools/python/ > python-oslo.utils_git.bb > index e73bf53..fea3c85 100644 > --- a/meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb > +++ b/meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb > @@ -1,41 +1,2 @@ > -DESCRIPTION = "Oslo utils" > -HOMEPAGE = "https://launchpad.net/oslo" > -SECTION = "devel/python" > -LICENSE = "Apache-2.0" > -LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" > - > -SRCNAME = "oslo.utils" > -SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/pike > <http://github.com/openstack/$%7BSRCNAME%7D.git;branch=stable/pike>" > - > -PV = "3.28.0+git${SRCPV}" > -SRCREV = "8b3965b9bbe1e31a4939f2f69c5239d6d5c7f72c" > -S = "${WORKDIR}/git" > - > inherit setuptools > - > -# DEPENDS_default: python-pip > - > -DEPENDS += " \ > - python-pip \ > - python-pbr \ > - " > - > -# Satisfy setup.py 'setup_requires' > -DEPENDS += " \ > - python-pbr-native \ > - " > - > -# RDEPENDS_default: > -RDEPENDS_${PN} += " \ > - python-pbr \ > - python-six \ > - python-iso8601 \ > - python-oslo.i18n \ > - python-monotonic \ > - python-pytz \ > - python-netaddr \ > - python-netifaces \ > - python-debtcollector \ > - python-funcsigs \ > - python-pyparsing \ > - " > +require python-oslo.utils.inc > diff --git a/meta-openstack/recipes-devtools/python/ > python3-oslo.utils_git.bb b/meta-openstack/recipes-devtools/python/ > python3-oslo.utils_git.bb > new file mode 100644 > index 0000000..3b4636a > --- /dev/null > +++ b/meta-openstack/recipes-devtools/python/python3-oslo.utils_git.bb > @@ -0,0 +1,2 @@ > +inherit setuptools3 > +require python-oslo.utils.inc > -- > 2.17.1 > > > > -- > _______________________________________________ > meta-virtualization mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/meta-virtualization > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
-- _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
