All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH] python3-m2crypto: add the missing rdepends
@ 2020-06-12  3:46 Yu, Mingli
  2020-06-12 14:40 ` [oe] " Trevor Gamblin
  0 siblings, 1 reply; 2+ messages in thread
From: Yu, Mingli @ 2020-06-12  3:46 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

Add the missing rdepends to fix the error such as below:
 # python3
 [snip]
 >>> import M2Crypto
 ModuleNotFoundError: No module named 'decimal'

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 .../recipes-devtools/python/python-m2crypto.inc    | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-m2crypto.inc b/meta-python/recipes-devtools/python/python-m2crypto.inc
index 881fdf1cc..81c81645a 100644
--- a/meta-python/recipes-devtools/python/python-m2crypto.inc
+++ b/meta-python/recipes-devtools/python/python-m2crypto.inc
@@ -17,10 +17,16 @@ PYPI_PACKAGE = "M2Crypto"
 inherit pypi siteinfo
 
 DEPENDS += "openssl swig-native"
-RDEPENDS_${PN} += "${PYTHON_PN}-typing \
-                   ${PYTHON_PN}-distutils \
-                   ${PYTHON_PN}-smtpd \
-                   ${PYTHON_PN}-xmlrpc \
+RDEPENDS_${PN} += "\
+  ${PYTHON_PN}-datetime \
+  ${PYTHON_PN}-distutils \
+  ${PYTHON_PN}-logging \
+  ${PYTHON_PN}-netclient \
+  ${PYTHON_PN}-netserver \
+  ${PYTHON_PN}-numbers \
+  ${PYTHON_PN}-smtpd \
+  ${PYTHON_PN}-typing \
+  ${PYTHON_PN}-xmlrpc \
 "
 
 DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR} -I${STAGING_INCDIR}"
-- 
2.24.1


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

* Re: [oe] [meta-python][PATCH] python3-m2crypto: add the missing rdepends
  2020-06-12  3:46 [meta-python][PATCH] python3-m2crypto: add the missing rdepends Yu, Mingli
@ 2020-06-12 14:40 ` Trevor Gamblin
  0 siblings, 0 replies; 2+ messages in thread
From: Trevor Gamblin @ 2020-06-12 14:40 UTC (permalink / raw)
  To: Yu, Mingli, openembedded-devel

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


On 6/11/20 11:46 PM, Yu, Mingli wrote:
> From: Mingli Yu <mingli.yu@windriver.com>
>
> Add the missing rdepends to fix the error such as below:
>   # python3
>   [snip]
>   >>> import M2Crypto
>   ModuleNotFoundError: No module named 'decimal'
>
> Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   .../recipes-devtools/python/python-m2crypto.inc    | 14 ++++++++++----
>   1 file changed, 10 insertions(+), 4 deletions(-)
>
> diff --git a/meta-python/recipes-devtools/python/python-m2crypto.inc b/meta-python/recipes-devtools/python/python-m2crypto.inc
> index 881fdf1cc..81c81645a 100644
> --- a/meta-python/recipes-devtools/python/python-m2crypto.inc
> +++ b/meta-python/recipes-devtools/python/python-m2crypto.inc
> @@ -17,10 +17,16 @@ PYPI_PACKAGE = "M2Crypto"
>   inherit pypi siteinfo
>   
>   DEPENDS += "openssl swig-native"
> -RDEPENDS_${PN} += "${PYTHON_PN}-typing \
> -                   ${PYTHON_PN}-distutils \
> -                   ${PYTHON_PN}-smtpd \
> -                   ${PYTHON_PN}-xmlrpc \
> +RDEPENDS_${PN} += "\
> +  ${PYTHON_PN}-datetime \
> +  ${PYTHON_PN}-distutils \
> +  ${PYTHON_PN}-logging \
> +  ${PYTHON_PN}-netclient \
> +  ${PYTHON_PN}-netserver \
> +  ${PYTHON_PN}-numbers \
> +  ${PYTHON_PN}-smtpd \
> +  ${PYTHON_PN}-typing \
> +  ${PYTHON_PN}-xmlrpc \
>   "
>   
>   DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR} -I${STAGING_INCDIR}"
>
> 

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

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

end of thread, other threads:[~2020-06-12 14:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-12  3:46 [meta-python][PATCH] python3-m2crypto: add the missing rdepends Yu, Mingli
2020-06-12 14:40 ` [oe] " 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.