openembedded-core.lists.openembedded.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] python3-pycparser: cleanup RDEPENDS
@ 2024-05-12  9:59 Guðni Már Gilbert
  2024-05-12 10:02 ` Guðni Már Gilbert
  0 siblings, 1 reply; 3+ messages in thread
From: Guðni Már Gilbert @ 2024-05-12  9:59 UTC (permalink / raw)
  To: openembedded-core; +Cc: Guðni Már Gilbert

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

- Drop python3-pprint, the source code no longer imports this module
- Drop python3-ply, ply package is bunled into pycparser, making the external python3-ply
dependency not useful. This seems to have been changed a long time ago in version 2.09 (2012.12.27)

Note about python3-netclient: It can be removed at a later date. There is one 'unused' import
for base64 in the ply source. Once that is cleaned up, python3-netclient can be removed.

Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
---
 meta/recipes-devtools/python/python3-pycparser_2.22.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-pycparser_2.22.bb b/meta/recipes-devtools/python/python3-pycparser_2.22.bb
index 9a5abc42bd..0be39ea383 100644
--- a/meta/recipes-devtools/python/python3-pycparser_2.22.bb
+++ b/meta/recipes-devtools/python/python3-pycparser_2.22.bb
@@ -11,9 +11,7 @@ BBCLASSEXTEND = "native nativesdk"
 
 RDEPENDS:${PN}:class-target += "\
     python3-netclient \
-    python3-ply \
-    python3-pprint \
-    "
+"
 
 RSUGGESTS:${PN}:class-target += "\
     cpp \
-- 
2.34.1

Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast, a leader in email security and cyber resilience. Mimecast integrates email defenses with brand protection, security awareness training, web security, compliance and other essential capabilities. Mimecast helps protect large and small organizations from malicious activity, human error and technology failure; and to lead the movement toward building a more resilient world. To find out more, visit our website.

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

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

* Re: [PATCH] python3-pycparser: cleanup RDEPENDS
  2024-05-12  9:59 [PATCH] python3-pycparser: cleanup RDEPENDS Guðni Már Gilbert
@ 2024-05-12 10:02 ` Guðni Már Gilbert
  2024-05-13 21:55   ` [OE-core] " Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Guðni Már Gilbert @ 2024-05-12 10:02 UTC (permalink / raw)
  To: openembedded-core

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

Please let me know if you have problems applying this patch (whitespace corruption for example). I tested it locally before pushing this and it worked fine on my end.

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

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

* Re: [OE-core] [PATCH] python3-pycparser: cleanup RDEPENDS
  2024-05-12 10:02 ` Guðni Már Gilbert
@ 2024-05-13 21:55   ` Richard Purdie
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2024-05-13 21:55 UTC (permalink / raw)
  To: gudnimar, openembedded-core

On Sun, 2024-05-12 at 03:02 -0700, Guðni Már Gilbert via
lists.openembedded.org wrote:
> Please let me know if you have problems applying this patch
> (whitespace corruption for example). I tested it locally before
> pushing this and it worked fine on my end.

It is definitely better thanks.

It did seem to have both html encoding and plain text and I had to
delete chunks of it to get it to apply but there was a plain version in
there.

lore had better luck extracting it:

https://lore.kernel.org/openembedded-core/19582.1715508168936601649@lists.openembedded.org/T/#t

The unusual bit there is the 

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

which is unusual.

So not quite right but more usable so progress, thanks!

Cheers,

Richard


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

end of thread, other threads:[~2024-05-13 21:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-12  9:59 [PATCH] python3-pycparser: cleanup RDEPENDS Guðni Már Gilbert
2024-05-12 10:02 ` Guðni Már Gilbert
2024-05-13 21:55   ` [OE-core] " Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).