All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH 1/2] python3-wrapt: add native support
@ 2020-12-16  8:03 hongxu
  2020-12-16  8:03 ` [meta-oe][PATCH 2/2] flatbuffers: add python3 support hongxu
  2020-12-21 17:17 ` [oe] [meta-python][PATCH 1/2] python3-wrapt: add native support Trevor Gamblin
  0 siblings, 2 replies; 3+ messages in thread
From: hongxu @ 2020-12-16  8:03 UTC (permalink / raw)
  To: raj.khem; +Cc: openembedded-devel

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta-python/recipes-devtools/python/python3-wrapt_1.12.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python3-wrapt_1.12.1.bb b/meta-python/recipes-devtools/python/python3-wrapt_1.12.1.bb
index 49fde1003..bb9b95201 100644
--- a/meta-python/recipes-devtools/python/python3-wrapt_1.12.1.bb
+++ b/meta-python/recipes-devtools/python/python3-wrapt_1.12.1.bb
@@ -13,3 +13,5 @@ RDEPENDS_${PN}_class-target += "\
     ${PYTHON_PN}-stringold \
     ${PYTHON_PN}-threading \
 "
+
+BBCLASSEXTEND = "native"
-- 
2.18.2


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

* [meta-oe][PATCH 2/2] flatbuffers: add python3 support
  2020-12-16  8:03 [meta-python][PATCH 1/2] python3-wrapt: add native support hongxu
@ 2020-12-16  8:03 ` hongxu
  2020-12-21 17:17 ` [oe] [meta-python][PATCH 1/2] python3-wrapt: add native support Trevor Gamblin
  1 sibling, 0 replies; 3+ messages in thread
From: hongxu @ 2020-12-16  8:03 UTC (permalink / raw)
  To: raj.khem; +Cc: openembedded-devel

Add package flatbuffers-python3 to install python3 scripts

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../flatbuffers/flatbuffers_1.12.0.bb                | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/flatbuffers/flatbuffers_1.12.0.bb b/meta-oe/recipes-devtools/flatbuffers/flatbuffers_1.12.0.bb
index 1abfc8819..fb4be0f16 100644
--- a/meta-oe/recipes-devtools/flatbuffers/flatbuffers_1.12.0.bb
+++ b/meta-oe/recipes-devtools/flatbuffers/flatbuffers_1.12.0.bb
@@ -3,9 +3,12 @@ HOMEPAGE = "https://github.com/google/flatbuffers"
 SECTION = "console/tools"
 LICENSE = "Apache-2.0"
 
-PACKAGE_BEFORE_PN = "${PN}-compiler"
+inherit python3-dir
+
+PACKAGE_BEFORE_PN = "${PN}-compiler ${PN}-${PYTHON_PN}"
 
 RDEPENDS_${PN}-compiler = "${PN}"
+RDEPENDS_${PN}-${PYTHON_PN} = "${PN}"
 RDEPENDS_${PN}-dev += "${PN}-compiler"
 
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
@@ -28,6 +31,13 @@ inherit cmake
 
 S = "${WORKDIR}/git"
 
+do_install_append() {
+    install -d ${D}${PYTHON_SITEPACKAGES_DIR}
+    cp -rf ${S}/python/flatbuffers ${D}${PYTHON_SITEPACKAGES_DIR}
+}
+
 FILES_${PN}-compiler = "${bindir}"
 
+FILES_${PN}-${PYTHON_PN} = "${PYTHON_SITEPACKAGES_DIR}"
+
 BBCLASSEXTEND = "native nativesdk"
-- 
2.18.2


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

* Re: [oe] [meta-python][PATCH 1/2] python3-wrapt: add native support
  2020-12-16  8:03 [meta-python][PATCH 1/2] python3-wrapt: add native support hongxu
  2020-12-16  8:03 ` [meta-oe][PATCH 2/2] flatbuffers: add python3 support hongxu
@ 2020-12-21 17:17 ` Trevor Gamblin
  1 sibling, 0 replies; 3+ messages in thread
From: Trevor Gamblin @ 2020-12-21 17:17 UTC (permalink / raw)
  To: hongxu, raj.khem; +Cc: openembedded-devel

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


On 2020-12-16 3:03 a.m., hongxu wrote:
> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   meta-python/recipes-devtools/python/python3-wrapt_1.12.1.bb | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/meta-python/recipes-devtools/python/python3-wrapt_1.12.1.bb b/meta-python/recipes-devtools/python/python3-wrapt_1.12.1.bb
> index 49fde1003..bb9b95201 100644
> --- a/meta-python/recipes-devtools/python/python3-wrapt_1.12.1.bb
> +++ b/meta-python/recipes-devtools/python/python3-wrapt_1.12.1.bb
> @@ -13,3 +13,5 @@ RDEPENDS_${PN}_class-target += "\
>       ${PYTHON_PN}-stringold \
>       ${PYTHON_PN}-threading \
>   "
> +
> +BBCLASSEXTEND = "native"
>
> 
>

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

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

end of thread, other threads:[~2020-12-21 17:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16  8:03 [meta-python][PATCH 1/2] python3-wrapt: add native support hongxu
2020-12-16  8:03 ` [meta-oe][PATCH 2/2] flatbuffers: add python3 support hongxu
2020-12-21 17:17 ` [oe] [meta-python][PATCH 1/2] python3-wrapt: add native support 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.