poky/meta/recipes-devtools/python/python3-pyparsing_3.0.7.bb
Kai Kang eab17ad3b7 python3-pyparsing: rdepends on python3-html
It fails to import python module 'pyparsing':

| root@qemux86-64:~# python3 -c 'import pyparsing'
| Traceback (most recent call last):
|   File "<string>", line 1, in <module>
|   File "/usr/lib64/python3.10/site-packages/pyparsing/__init__.py", line 141, in <module>
|     from .helpers import *
|   File "/usr/lib64/python3.10/site-packages/pyparsing/helpers.py", line 2, in <module>
|     import html.entities
| ModuleNotFoundError: No module named 'html'

(From OE-Core rev: bfc76d19f3d6e3a7b2d91c3fcd97501c8b29001e)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 13:39:12 +00:00

31 lines
997 B
BlitzBasic

SUMMARY = "Python parsing module"
DESCRIPTION = "The pyparsing module is an alternative approach to creating \
and executing simple grammars, vs. the traditional lex/yacc approach, or \
the use of regular expressions. The pyparsing module provides a library of \
classes that client code uses to construct the grammar directly in Python \
code."
HOMEPAGE = "https://github.com/pyparsing/pyparsing/"
BUGTRACKER = "https://github.com/pyparsing/pyparsing/issues"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=657a566233888513e1f07ba13e2f47f1"
SRC_URI[sha256sum] = "18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea"
UPSTREAM_CHECK_REGEX = "pyparsing-(?P<pver>.*)\.tar"
inherit pypi setuptools3
RDEPENDS:${PN} += " \
${PYTHON_PN}-datetime \
${PYTHON_PN}-debugger \
${PYTHON_PN}-html \
${PYTHON_PN}-json \
${PYTHON_PN}-netclient \
${PYTHON_PN}-pprint \
${PYTHON_PN}-stringold \
${PYTHON_PN}-threading \
"
BBCLASSEXTEND = "native nativesdk"