On Tue, Jul 11, 2023 at 2:24 PM Trevor Gamblin <[email protected]> wrote: > > > On 2023-07-10 21:26, Bruce Ashfield wrote: > > On Mon, Jul 10, 2023 at 9:11 PM Trevor Gamblin <[email protected]> > > wrote: > >> This is required by python3-dtschema (already in oe-core) and > >> likely some other modules, so add the recipe. > > We are now on the 3rd (or 4th) iteration of attempts to add this. > > > > Rather than re-hashing the discussion, I suggest searching the mailing > > list for libfdt. > > > > The summary is: the pypi version is not up to date, and this python > > library should be built out of the dtc repository and provided that > > way. > > Thanks for the heads-up, I hadn't seen the others. I noticed that you > have python3-dtc in meta-virtualization and that seems to cover > python3-dtschema's needs. Will it be an issue for meta-virt if I move > that to oe-core?
That shouldn't be a problem. It is there to support lopper, which we use in Xen and some other SDK configurations. I can't recall if there were arch issues, or other gaps in the support, but that is something that should pop up quickly. As for the patch against libfdt in meta-virt, in theory it may not be required, but even if it is, I can bbappend it back in the layer. Bruce > > Trevor > > > > > Bruce > > > >> Signed-off-by: Trevor Gamblin <[email protected]> > >> --- > >> .../python/python3-pylibfdt_1.6.1.bb | 16 ++++++++++++++++ > >> 1 file changed, 16 insertions(+) > >> create mode 100644 meta/recipes-devtools/python/python3-pylibfdt_1.6.1.bb > >> > >> diff --git a/meta/recipes-devtools/python/python3-pylibfdt_1.6.1.bb > >> b/meta/recipes-devtools/python/python3-pylibfdt_1.6.1.bb > >> new file mode 100644 > >> index 0000000000..9dd01a1449 > >> --- /dev/null > >> +++ b/meta/recipes-devtools/python/python3-pylibfdt_1.6.1.bb > >> @@ -0,0 +1,16 @@ > >> +SUMMARY = "Python binding for libfdt" > >> +HOMEPAGE = "https://pypi.org/project/pylibfdt/" > >> +LICENSE = "BSD-2-Clause & GPL-2.0-or-later" > >> +LIC_FILES_CHKSUM = "file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ > >> + > >> file://BSD-2-Clause;md5=5d6306d1b08f8df623178dfd81880927" > >> + > >> +inherit pypi python_setuptools_build_meta > >> + > >> +PYPI_PACKAGE = "pylibfdt" > >> + > >> +SRC_URI[sha256sum] = > >> "90c667c5adf44c6ab2f13bdc566598897784c7b781bed91064e7373bd270b778" > >> + > >> +BBCLASSEXTEND = "native nativesdk" > >> + > >> +DEPENDS += "python3-setuptools-scm-native swig-native" > >> + > >> -- > >> 2.41.0 > >> > >> > >> > >> > > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#184152): https://lists.openembedded.org/g/openembedded-core/message/184152 Mute This Topic: https://lists.openembedded.org/mt/100070604/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
