[oe] [meta-python][PATCH] python-cmd2: Add python3 version
Khem Raj
raj.khem at gmail.com
Mon Sep 9 06:34:57 UTC 2019
Yes, please do. or make this rdep optional
On Sun, Sep 8, 2019 at 11:18 PM Zheng, Ruoqin
<zhengrq.fnst at cn.fujitsu.com> wrote:
>
> Hi Khem
>
> Now python3-colorama is provided by meta-virtualization.
> Should I submit a new patch of python3-colorama to meta-oe?
>
> Best regards
>
> --------------------------------------------------
> Zheng Ruoqin
> Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
> ADDR.: No.6 Wenzhu Road, Software Avenue,
> Nanjing, 210012, China
> MAIL : zhengrq.fnst at cn.fujistu.com
>
>
> > -----Original Message-----
> > From: Khem Raj [mailto:raj.khem at gmail.com]
> > Sent: Wednesday, September 04, 2019 1:11 PM
> > To: Zheng, Ruoqin/郑 若钦 <zhengrq.fnst at cn.fujitsu.com>
> > Cc: openembeded-devel <openembedded-devel at lists.openembedded.org>
> > Subject: Re: [oe] [meta-python][PATCH] python-cmd2: Add python3 version
> >
> > 03:10:10 ERROR: Nothing RPROVIDES 'python3-colorama' (but
> > /mnt/jenkins/workspace/yocto-world-glibc/sources/meta-
> > openembedded/meta-python/recipes-devtools/python/python3-
> > cmd2_0.9.16.bb
> > RDEPENDS on or otherwise requires it)
> > 03:10:10 ERROR: Nothing RPROVIDES 'python3-cmd2-dev' (but
> > /mnt/jenkins/workspace/yocto-world-glibc/sources/meta-
> > openembedded/meta-python/recipes-devtools/python/python3-
> > cmd2_0.9.16.bb
> > RDEPENDS on or otherwise requires it)
> > 03:10:10 No eligible RPROVIDERs exist for 'python3-cmd2-dev'
> > 03:10:11 ERROR: Nothing RPROVIDES 'python3-cmd2' (but
> > /mnt/jenkins/workspace/yocto-world-glibc/sources/meta-
> > openembedded/meta-python/recipes-devtools/python/python3-
> > cmd2_0.9.16.bb
> > RDEPENDS on or otherwise requires it)
> > 03:10:11 No eligible RPROVIDERs exist for 'python3-cmd2'
> >
> > On Sun, Sep 1, 2019 at 10:23 PM Zheng Ruoqin <zhengrq.fnst at cn.fujitsu.com>
> > wrote:
> > >
> > > Providing a python3 version of python-cmd2.
> > >
> > > Signed-off-by: Zheng Ruoqin <zhengrq.fnst at cn.fujitsu.com>
> > > ---
> > > .../recipes-devtools/python/python-cmd2.inc | 13 +++++++++++++
> > > .../recipes-devtools/python/python-cmd2_0.9.16.bb | 15 ++-------------
> > > .../python/python3-cmd2_0.9.16.bb | 9 +++++++++
> > > 3 files changed, 24 insertions(+), 13 deletions(-) create mode
> > > 100644 meta-python/recipes-devtools/python/python-cmd2.inc
> > > create mode 100644
> > > meta-python/recipes-devtools/python/python3-cmd2_0.9.16.bb
> > >
> > > diff --git a/meta-python/recipes-devtools/python/python-cmd2.inc
> > > b/meta-python/recipes-devtools/python/python-cmd2.inc
> > > new file mode 100644
> > > index 000000000..1a0be778b
> > > --- /dev/null
> > > +++ b/meta-python/recipes-devtools/python/python-cmd2.inc
> > > @@ -0,0 +1,13 @@
> > > +SUMMARY = "Extra features for standard library's cmd module"
> > > +HOMEPAGE = "http://packages.python.org/cmd2/"
> > > +LICENSE = "MIT"
> > > +LIC_FILES_CHKSUM =
> > "file://LICENSE;md5=01aeabea7ae1529a8e4b674b7107d6bc"
> > > +
> > > +SRC_URI[md5sum] = "df35bb2dca8f5e1f6090e1f0aa02960a"
> > > +SRC_URI[sha256sum] =
> > "4b78379d53aff811d1deac720bbe71661769822a5fb2d830cd730656d180fb3d"
> > > +
> > > +inherit pypi
> > > +
> > > +DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
> > > +
> > > +BBCLASSEXTEND = "native nativesdk"
> > > diff --git a/meta-python/recipes-devtools/python/python-cmd2_0.9.16.bb
> > > b/meta-python/recipes-devtools/python/python-cmd2_0.9.16.bb
> > > index 94db37a2d..17b6ae285 100644
> > > --- a/meta-python/recipes-devtools/python/python-cmd2_0.9.16.bb
> > > +++ b/meta-python/recipes-devtools/python/python-cmd2_0.9.16.bb
> > > @@ -1,14 +1,5 @@
> > > -SUMMARY = "Extra features for standard library's cmd module"
> > > -HOMEPAGE = "http://packages.python.org/cmd2/"
> > > -LICENSE = "MIT"
> > > -LIC_FILES_CHKSUM =
> > "file://LICENSE;md5=01aeabea7ae1529a8e4b674b7107d6bc"
> > > -
> > > -SRC_URI[md5sum] = "df35bb2dca8f5e1f6090e1f0aa02960a"
> > > -SRC_URI[sha256sum] =
> > "4b78379d53aff811d1deac720bbe71661769822a5fb2d830cd730656d180fb3d"
> > > -
> > > -inherit pypi setuptools
> > > -
> > > -DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
> > > +inherit setuptools
> > > +require python-cmd2.inc
> > >
> > > RDEPENDS_${PN} += "\
> > > ${PYTHON_PN}-doctest \
> > > @@ -21,5 +12,3 @@ RDEPENDS_${PN} += "\
> > > ${PYTHON_PN}-threading \
> > > ${PYTHON_PN}-textutils \
> > > "
> > > -
> > > -BBCLASSEXTEND = "native nativesdk"
> > > diff --git
> > > a/meta-python/recipes-devtools/python/python3-cmd2_0.9.16.bb
> > > b/meta-python/recipes-devtools/python/python3-cmd2_0.9.16.bb
> > > new file mode 100644
> > > index 000000000..f5c5c7e1a
> > > --- /dev/null
> > > +++ b/meta-python/recipes-devtools/python/python3-cmd2_0.9.16.bb
> > > @@ -0,0 +1,9 @@
> > > +inherit setuptools3
> > > +require python-cmd2.inc
> > > +
> > > +RDEPENDS_${PN} += "\
> > > + ${PYTHON_PN}-pyperclip \
> > > + ${PYTHON_PN}-colorama \
> > > + ${PYTHON_PN}-attrs \
> > > + ${PYTHON_PN}-wcwidth \
> > > + "
> > > --
> > > 2.17.1
> > >
> > >
> > >
> > > --
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel at lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
>
>
>
More information about the Openembedded-devel
mailing list