On 17 Mar 2023, at 07:25, Zoltan Boszormenyi via lists.openembedded.org
<[email protected]> wrote:
> +# This is a dummy package needed by python3-meson-python
I’m not sure I’d call this a dummy package.
> +DEPENDS = "python3-scikit-build-native"
If you’re not building native code with cmake then you don’t need this, just
switch skbuild to setuptools.
> +SRC_URI += " \
> + file://CMakeLists.txt \
> + file://patchelf.patch \
> +"
> +
> +addtask do_patchbuild after do_patch before do_configure
> +
> +do_patchbuild () {
> + rm -f ${S}/CMakeLists.txt
> + cp ${WORKDIR}/CMakeLists.txt ${S}/
> +}
Use subdir=${S} to put the CMakeLists.txt in the right place instead of doing
this.
However, this recipe doesn’t build patchelf and doesn’t have any python code.
So what’s the point of it?
If there are packages which depend on this, either patch out that dependency
(as we can just DEPEND on patchelf-native) or write the few lines of
pyproject.toml to ship an empty package directly.
Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#101613):
https://lists.openembedded.org/g/openembedded-devel/message/101613
Mute This Topic: https://lists.openembedded.org/mt/97668227/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-