All of lore.kernel.org
 help / color / mirror / Atom feed
* [oe] [meta-python][PATCH] python3-pybind11: extend to nativesdk and consolidate inc with bb
@ 2020-09-30 14:27 Andrey Zhizhikin
  2020-09-30 15:58 ` Khem Raj
  2020-09-30 17:31 ` [oe] [meta-python][PATCH v2] python3-pybind11: extend to native and nativesdk Andrey Zhizhikin
  0 siblings, 2 replies; 5+ messages in thread
From: Andrey Zhizhikin @ 2020-09-30 14:27 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Andrey Zhizhikin

Extend this recipe with native and nativesdk classes to be able to
provide a package in SDK.

Consolidate inc and bb files into one single recipe.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
---
 .../recipes-devtools/python/python-pybind11.inc       |  7 -------
 .../recipes-devtools/python/python3-pybind11_2.4.3.bb | 11 ++++++++++-
 2 files changed, 10 insertions(+), 8 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-pybind11.inc

diff --git a/meta-python/recipes-devtools/python/python-pybind11.inc b/meta-python/recipes-devtools/python/python-pybind11.inc
deleted file mode 100644
index d1d53e125..000000000
--- a/meta-python/recipes-devtools/python/python-pybind11.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-SUMMARY = "Seamless operability between C++11 and Python"
-HOMEPAGE = "https://github.com/wjakob/pybind11"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=beb87117af69fd10fbf9fb14c22a2e62"
-
-SRC_URI[md5sum] = "23fdca8191b16ce3e7f38fb9e4252b2d"
-SRC_URI[sha256sum] = "72e6def53fb491f7f4e92692029d2e7bb5a0783314f20d80222735ff10a75758"
diff --git a/meta-python/recipes-devtools/python/python3-pybind11_2.4.3.bb b/meta-python/recipes-devtools/python/python3-pybind11_2.4.3.bb
index 355e28460..2c456aaad 100644
--- a/meta-python/recipes-devtools/python/python3-pybind11_2.4.3.bb
+++ b/meta-python/recipes-devtools/python/python3-pybind11_2.4.3.bb
@@ -1,2 +1,11 @@
+SUMMARY = "Seamless operability between C++11 and Python"
+HOMEPAGE = "https://github.com/wjakob/pybind11"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=beb87117af69fd10fbf9fb14c22a2e62"
+
 inherit pypi setuptools3
-require python-pybind11.inc
+
+SRC_URI[md5sum] = "23fdca8191b16ce3e7f38fb9e4252b2d"
+SRC_URI[sha256sum] = "72e6def53fb491f7f4e92692029d2e7bb5a0783314f20d80222735ff10a75758"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [oe] [meta-python][PATCH] python3-pybind11: extend to nativesdk and consolidate inc with bb
  2020-09-30 14:27 [oe] [meta-python][PATCH] python3-pybind11: extend to nativesdk and consolidate inc with bb Andrey Zhizhikin
@ 2020-09-30 15:58 ` Khem Raj
  2020-09-30 16:05   ` Andrey Zhizhikin
  2020-09-30 17:31 ` [oe] [meta-python][PATCH v2] python3-pybind11: extend to native and nativesdk Andrey Zhizhikin
  1 sibling, 1 reply; 5+ messages in thread
From: Khem Raj @ 2020-09-30 15:58 UTC (permalink / raw)
  To: Andrey Zhizhikin; +Cc: openembeded-devel, Andrey Zhizhikin

its already done in master
https://git.openembedded.org/meta-openembedded/commit/?id=c855e5be160d24c80303a30b99b34e45c6af1038

On Wed, Sep 30, 2020 at 7:27 AM Andrey Zhizhikin <andrey.z@gmail.com> wrote:
>
> Extend this recipe with native and nativesdk classes to be able to
> provide a package in SDK.
>
> Consolidate inc and bb files into one single recipe.
>
> Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
> ---
>  .../recipes-devtools/python/python-pybind11.inc       |  7 -------
>  .../recipes-devtools/python/python3-pybind11_2.4.3.bb | 11 ++++++++++-
>  2 files changed, 10 insertions(+), 8 deletions(-)
>  delete mode 100644 meta-python/recipes-devtools/python/python-pybind11.inc
>
> diff --git a/meta-python/recipes-devtools/python/python-pybind11.inc b/meta-python/recipes-devtools/python/python-pybind11.inc
> deleted file mode 100644
> index d1d53e125..000000000
> --- a/meta-python/recipes-devtools/python/python-pybind11.inc
> +++ /dev/null
> @@ -1,7 +0,0 @@
> -SUMMARY = "Seamless operability between C++11 and Python"
> -HOMEPAGE = "https://github.com/wjakob/pybind11"
> -LICENSE = "BSD-2-Clause"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=beb87117af69fd10fbf9fb14c22a2e62"
> -
> -SRC_URI[md5sum] = "23fdca8191b16ce3e7f38fb9e4252b2d"
> -SRC_URI[sha256sum] = "72e6def53fb491f7f4e92692029d2e7bb5a0783314f20d80222735ff10a75758"
> diff --git a/meta-python/recipes-devtools/python/python3-pybind11_2.4.3.bb b/meta-python/recipes-devtools/python/python3-pybind11_2.4.3.bb
> index 355e28460..2c456aaad 100644
> --- a/meta-python/recipes-devtools/python/python3-pybind11_2.4.3.bb
> +++ b/meta-python/recipes-devtools/python/python3-pybind11_2.4.3.bb
> @@ -1,2 +1,11 @@
> +SUMMARY = "Seamless operability between C++11 and Python"
> +HOMEPAGE = "https://github.com/wjakob/pybind11"
> +LICENSE = "BSD-2-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=beb87117af69fd10fbf9fb14c22a2e62"
> +
>  inherit pypi setuptools3
> -require python-pybind11.inc
> +
> +SRC_URI[md5sum] = "23fdca8191b16ce3e7f38fb9e4252b2d"
> +SRC_URI[sha256sum] = "72e6def53fb491f7f4e92692029d2e7bb5a0783314f20d80222735ff10a75758"
> +
> +BBCLASSEXTEND = "native nativesdk"
> --
> 2.17.1
>
>
> 
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [oe] [meta-python][PATCH] python3-pybind11: extend to nativesdk and consolidate inc with bb
  2020-09-30 15:58 ` Khem Raj
@ 2020-09-30 16:05   ` Andrey Zhizhikin
  0 siblings, 0 replies; 5+ messages in thread
From: Andrey Zhizhikin @ 2020-09-30 16:05 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel, Andrey Zhizhikin

On Wed, Sep 30, 2020 at 5:59 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> its already done in master
> https://git.openembedded.org/meta-openembedded/commit/?id=c855e5be160d24c80303a30b99b34e45c6af1038

Ah OK, thanks for pointing this out! I was looking at dunfell then,
that is why I saw that there is still an .inc file for this recipe.

I would re-submit the v2 with BBCLASSEXTEND change only.

>
> On Wed, Sep 30, 2020 at 7:27 AM Andrey Zhizhikin <andrey.z@gmail.com> wrote:
> >
> > Extend this recipe with native and nativesdk classes to be able to
> > provide a package in SDK.
> >
> > Consolidate inc and bb files into one single recipe.
> >
> > Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
> > ---
> >  .../recipes-devtools/python/python-pybind11.inc       |  7 -------
> >  .../recipes-devtools/python/python3-pybind11_2.4.3.bb | 11 ++++++++++-
> >  2 files changed, 10 insertions(+), 8 deletions(-)
> >  delete mode 100644 meta-python/recipes-devtools/python/python-pybind11.inc
> >
> > diff --git a/meta-python/recipes-devtools/python/python-pybind11.inc b/meta-python/recipes-devtools/python/python-pybind11.inc
> > deleted file mode 100644
> > index d1d53e125..000000000
> > --- a/meta-python/recipes-devtools/python/python-pybind11.inc
> > +++ /dev/null
> > @@ -1,7 +0,0 @@
> > -SUMMARY = "Seamless operability between C++11 and Python"
> > -HOMEPAGE = "https://github.com/wjakob/pybind11"
> > -LICENSE = "BSD-2-Clause"
> > -LIC_FILES_CHKSUM = "file://LICENSE;md5=beb87117af69fd10fbf9fb14c22a2e62"
> > -
> > -SRC_URI[md5sum] = "23fdca8191b16ce3e7f38fb9e4252b2d"
> > -SRC_URI[sha256sum] = "72e6def53fb491f7f4e92692029d2e7bb5a0783314f20d80222735ff10a75758"
> > diff --git a/meta-python/recipes-devtools/python/python3-pybind11_2.4.3.bb b/meta-python/recipes-devtools/python/python3-pybind11_2.4.3.bb
> > index 355e28460..2c456aaad 100644
> > --- a/meta-python/recipes-devtools/python/python3-pybind11_2.4.3.bb
> > +++ b/meta-python/recipes-devtools/python/python3-pybind11_2.4.3.bb
> > @@ -1,2 +1,11 @@
> > +SUMMARY = "Seamless operability between C++11 and Python"
> > +HOMEPAGE = "https://github.com/wjakob/pybind11"
> > +LICENSE = "BSD-2-Clause"
> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=beb87117af69fd10fbf9fb14c22a2e62"
> > +
> >  inherit pypi setuptools3
> > -require python-pybind11.inc
> > +
> > +SRC_URI[md5sum] = "23fdca8191b16ce3e7f38fb9e4252b2d"
> > +SRC_URI[sha256sum] = "72e6def53fb491f7f4e92692029d2e7bb5a0783314f20d80222735ff10a75758"
> > +
> > +BBCLASSEXTEND = "native nativesdk"
> > --
> > 2.17.1
> >
> >
> > 
> >



-- 
Regards,
Andrey.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [oe] [meta-python][PATCH v2] python3-pybind11: extend to native and nativesdk
  2020-09-30 14:27 [oe] [meta-python][PATCH] python3-pybind11: extend to nativesdk and consolidate inc with bb Andrey Zhizhikin
  2020-09-30 15:58 ` Khem Raj
@ 2020-09-30 17:31 ` Andrey Zhizhikin
  2020-10-07 13:44   ` Trevor Gamblin
  1 sibling, 1 reply; 5+ messages in thread
From: Andrey Zhizhikin @ 2020-09-30 17:31 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Andrey Zhizhikin

Extend this recipe with native and nativesdk classes to be able to
provide a package in SDK and run on the build system.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
---
 meta-python/recipes-devtools/python/python3-pybind11_2.5.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python3-pybind11_2.5.0.bb b/meta-python/recipes-devtools/python/python3-pybind11_2.5.0.bb
index 9674ec093..5d57590a1 100644
--- a/meta-python/recipes-devtools/python/python3-pybind11_2.5.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pybind11_2.5.0.bb
@@ -32,3 +32,5 @@ do_install() {
 	distutils3_do_install
 	cmake_do_install
 }
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [oe] [meta-python][PATCH v2] python3-pybind11: extend to native and nativesdk
  2020-09-30 17:31 ` [oe] [meta-python][PATCH v2] python3-pybind11: extend to native and nativesdk Andrey Zhizhikin
@ 2020-10-07 13:44   ` Trevor Gamblin
  0 siblings, 0 replies; 5+ messages in thread
From: Trevor Gamblin @ 2020-10-07 13:44 UTC (permalink / raw)
  To: Andrey Zhizhikin, openembedded-devel; +Cc: Andrey Zhizhikin

[-- Attachment #1: Type: text/plain, Size: 899 bytes --]


On 9/30/20 1:31 PM, Andrey Zhizhikin wrote:
> Extend this recipe with native and nativesdk classes to be able to
> provide a package in SDK and run on the build system.
>
> Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   meta-python/recipes-devtools/python/python3-pybind11_2.5.0.bb | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/meta-python/recipes-devtools/python/python3-pybind11_2.5.0.bb b/meta-python/recipes-devtools/python/python3-pybind11_2.5.0.bb
> index 9674ec093..5d57590a1 100644
> --- a/meta-python/recipes-devtools/python/python3-pybind11_2.5.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-pybind11_2.5.0.bb
> @@ -32,3 +32,5 @@ do_install() {
>   	distutils3_do_install
>   	cmake_do_install
>   }
> +
> +BBCLASSEXTEND = "native nativesdk"
>
> 
>

[-- Attachment #2: Type: text/html, Size: 1715 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-10-07 13:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-30 14:27 [oe] [meta-python][PATCH] python3-pybind11: extend to nativesdk and consolidate inc with bb Andrey Zhizhikin
2020-09-30 15:58 ` Khem Raj
2020-09-30 16:05   ` Andrey Zhizhikin
2020-09-30 17:31 ` [oe] [meta-python][PATCH v2] python3-pybind11: extend to native and nativesdk Andrey Zhizhikin
2020-10-07 13:44   ` Trevor Gamblin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.