All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2] libgpiod: packageqa problem => static python lib to ${PN}-staticdev
@ 2021-02-22  8:37 Christian B. Sørensen
  2021-02-22 17:23 ` [oe] " Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Christian B. Sørensen @ 2021-02-22  8:37 UTC (permalink / raw)
  To: openembedded-devel; +Cc: chbs, Christian Bräuner Sørensen

Problem:
QA Issue: non -staticdev package contains static .a library

Reason:
Both /usr/lib/python3.8/site-packages/gpiod.a and
/usr/lib/python3.8/site-packages/gpiod.so are in ${PN}-python.

Signed-off-by: Christian Bräuner Sørensen <yocto@bsorensen.net>
---
 meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb
index aec50e7e6..96ed3f18f 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb
@@ -28,6 +28,7 @@ FILES_${PN}-tools = "${bindir}/*"
 FILES_libgpiodcxx = "${libdir}/libgpiodcxx.so.*"
 
 PACKAGES =+ "${PN}-python"
-FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
+FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*.so"
+FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a"
 RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}"
 RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}"
-- 
2.25.1


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

* Re: [oe] [meta-oe][PATCH v2] libgpiod: packageqa problem => static python lib to ${PN}-staticdev
  2021-02-22  8:37 [meta-oe][PATCH v2] libgpiod: packageqa problem => static python lib to ${PN}-staticdev Christian B. Sørensen
@ 2021-02-22 17:23 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2021-02-22 17:23 UTC (permalink / raw)
  To: Christian B. Sørensen, openembedded-devel; +Cc: chbs

It does not apply on current master, please rebase and send again.

On 2/22/21 12:37 AM, Christian B. Sørensen wrote:
> Problem:
> QA Issue: non -staticdev package contains static .a library
> 
> Reason:
> Both /usr/lib/python3.8/site-packages/gpiod.a and
> /usr/lib/python3.8/site-packages/gpiod.so are in ${PN}-python.
> 
> Signed-off-by: Christian Bräuner Sørensen <yocto@bsorensen.net>
> ---
>   meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb
> index aec50e7e6..96ed3f18f 100644
> --- a/meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb
> +++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb
> @@ -28,6 +28,7 @@ FILES_${PN}-tools = "${bindir}/*"
>   FILES_libgpiodcxx = "${libdir}/libgpiodcxx.so.*"
>   
>   PACKAGES =+ "${PN}-python"
> -FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
> +FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*.so"
> +FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a"
>   RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}"
>   RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}"
> 
> 
> 
> 
> 

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

end of thread, other threads:[~2021-02-22 17:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-22  8:37 [meta-oe][PATCH v2] libgpiod: packageqa problem => static python lib to ${PN}-staticdev Christian B. Sørensen
2021-02-22 17:23 ` [oe] " Khem Raj

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.