diff mbox series

python3-pycparser: cleanup RDEPENDS

Message ID 20240512095958.4050-1-gudnimar@noxmedical.com
State Accepted, archived
Commit 03de1f0b8fa810fc9fe8d66db1614ff1b3f9be0f
Headers show
Series python3-pycparser: cleanup RDEPENDS | expand

Commit Message

Guðni Már Gilbert May 12, 2024, 9:59 a.m. UTC
- 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(-)

Comments

Guðni Már Gilbert May 12, 2024, 10:02 a.m. UTC | #1
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.
Richard Purdie May 13, 2024, 9:55 p.m. UTC | #2
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
diff mbox series

Patch

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 \