[oe] [meta-python][PATCH 2/3] python3-pytest-helpers-namespace: add recipe

Khem Raj raj.khem at gmail.com
Tue Aug 28 15:17:52 UTC 2018


On Tue, Aug 28, 2018 at 1:53 AM Ioan-Adrian Ratiu <adrian.ratiu at ni.com>
wrote:

> On Mon, 27 Aug 2018, Khem Raj <raj.khem at gmail.com> wrote:
> > this patch seems to need python-pytest-helpers-namespace recipe
> > and it does not exist. have you tested these patches on master
>
> Yes, tested the series on master but I forgot to cherry-pick the commit
> adding the python2 recipe right before sending (perhaps I should
> cherry-pick a range next time instead of going through each commit
> manually).
>
> The commit adding the initial p2 python-pytest-helpers-namespace was done
> earlier and by someone else than the p3 recipe. Do you want me to squash
> them together instead of sending them separately?


As long as they are individually buildable
Multiple commits are fine

>
>
> > On Mon, Aug 27, 2018 at 5:32 AM Ioan-Adrian Ratiu <adrian.ratiu at ni.com>
> wrote:
> >>
> >> From: Alejandro del Castillo <alejandro.delcastillo at ni.com>
> >>
> >> Signed-off-by: Alejandro del Castillo <alejandro.delcastillo at ni.com>
> >> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu at ni.com>
> >> ---
> >>  .../python/python-pytest-helpers-namespace.inc        | 10 ++++++++++
> >>  .../python-pytest-helpers-namespace_2016.7.10.bb      | 11 ++---------
> >>  .../python3-pytest-helpers-namespace_2016.7.10.bb     |  7 +++++++
> >>  3 files changed, 19 insertions(+), 9 deletions(-)
> >>  create mode 100644
> meta-python/recipes-devtools/python/python-pytest-helpers-namespace.inc
> >>  create mode 100644 meta-python/recipes-devtools/python/
> python3-pytest-helpers-namespace_2016.7.10.bb
> >>
> >> diff --git
> a/meta-python/recipes-devtools/python/python-pytest-helpers-namespace.inc
> b/meta-python/recipes-devtools/python/python-pytest-helpers-namespace.inc
> >> new file mode 100644
> >> index 000000000..a69867d91
> >> --- /dev/null
> >> +++
> b/meta-python/recipes-devtools/python/python-pytest-helpers-namespace.inc
> >> @@ -0,0 +1,10 @@
> >> +DESCRIPTION = "This plugin does not provide any helpers to pytest, it
> does, however, provide a helpers namespace in pytest which enables you to
> register helper functions in your conftest.py to be used within your tests
> without having to import them."
> >> +HOMEPAGE = "
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_saltstack_pytest-2Dhelpers-2Dnamespace&d=DwIBaQ&c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&r=fzwh7IUt7VYYiD6094geII0kSDP3DkEnN0B8zB62AxE&m=W74ODSSr60HRrFxzES0jR9ErEDIY0z3NTj08MFJVXQw&s=WFg4fgnvlpFzm8uQU1eEL1mn2d55j6iZhsog43LOoPA&e=
> "
> >> +SECTION = "devel/python"
> >> +LICENSE = "Apache-2.0"
> >> +LIC_FILES_CHKSUM =
> "file://PKG-INFO;md5=71fac4dfeee99c39c51f617e9486237c"
> >> +
> >> +SRC_URI[md5sum] = "80fe3e515f640b1459709b539f6b857e"
> >> +SRC_URI[sha256sum] =
> "d8bdb017c0f7271699c08850b6b12e1ce9e52913cbd4461b5febd21082a29113"
> >> +
> >> +inherit pypi
> >> diff --git a/meta-python/recipes-devtools/python/
> python-pytest-helpers-namespace_2016.7.10.bb
> b/meta-python/recipes-devtools/python/
> python-pytest-helpers-namespace_2016.7.10.bb
> >> index afca48702..2b6ee8550 100644
> >> --- a/meta-python/recipes-devtools/python/
> python-pytest-helpers-namespace_2016.7.10.bb
> >> +++ b/meta-python/recipes-devtools/python/
> python-pytest-helpers-namespace_2016.7.10.bb
> >> @@ -1,13 +1,6 @@
> >> -DESCRIPTION = "This plugin does not provide any helpers to pytest, it
> does, however, provide a helpers namespace in pytest which enables you to
> register helper functions in your conftest.py to be used within your tests
> without having to import them."
> >> -HOMEPAGE = "
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_saltstack_pytest-2Dhelpers-2Dnamespace&d=DwIBaQ&c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&r=fzwh7IUt7VYYiD6094geII0kSDP3DkEnN0B8zB62AxE&m=W74ODSSr60HRrFxzES0jR9ErEDIY0z3NTj08MFJVXQw&s=WFg4fgnvlpFzm8uQU1eEL1mn2d55j6iZhsog43LOoPA&e=
> "
> >> -SECTION = "devel/python"
> >> -LICENSE = "Apache-2.0"
> >> -LIC_FILES_CHKSUM =
> "file://PKG-INFO;md5=71fac4dfeee99c39c51f617e9486237c"
> >> +require python-pytest-helpers-namespace.inc
> >>
> >> -SRC_URI[md5sum] = "80fe3e515f640b1459709b539f6b857e"
> >> -SRC_URI[sha256sum] =
> "d8bdb017c0f7271699c08850b6b12e1ce9e52913cbd4461b5febd21082a29113"
> >> -
> >> -inherit pypi setuptools
> >> +inherit setuptools
> >>
> >>  RDEPENDS_${PN} += " \
> >>      python-pytest \
> >> diff --git a/meta-python/recipes-devtools/python/
> python3-pytest-helpers-namespace_2016.7.10.bb
> b/meta-python/recipes-devtools/python/
> python3-pytest-helpers-namespace_2016.7.10.bb
> >> new file mode 100644
> >> index 000000000..f03f5d415
> >> --- /dev/null
> >> +++ b/meta-python/recipes-devtools/python/
> python3-pytest-helpers-namespace_2016.7.10.bb
> >> @@ -0,0 +1,7 @@
> >> +require python-pytest-helpers-namespace.inc
> >> +
> >> +inherit setuptools3
> >> +
> >> +RDEPENDS_${PN} += " \
> >> +    python3-pytest \
> >> +    "
> >> --
> >> 2.18.0
> >>
> >> --
> >> _______________________________________________
> >> Openembedded-devel mailing list
> >> Openembedded-devel at lists.openembedded.org
> >>
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openembedded.org_mailman_listinfo_openembedded-2Ddevel&d=DwIBaQ&c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&r=fzwh7IUt7VYYiD6094geII0kSDP3DkEnN0B8zB62AxE&m=W74ODSSr60HRrFxzES0jR9ErEDIY0z3NTj08MFJVXQw&s=mx9ylPEFC1TJQvgUNe0p5wvCczXDM7g8SVJAM3rDwxM&e=
>



More information about the Openembedded-devel mailing list