Skip to contentSkip to conversation

Libiio Python Bindings

DISCUSSION Martin Siegumfeldt 2 participants 2 messages Oct 28, 2019

lore
Share & tools
lore
#0 lore raw

Hi,

I noticed that since http://lists.openembedded.org/pipermail/openembedded-devel/2019-October/202502.html was merged, libiio started depending on 'python3-core', even without any dependencies defined towards libiio-python3.

We use

RDEPENDS_${PN} += "libiio"

for describing the (native library) dependency (i.e. without bindings), and

RDEPENDS_${PN} += "libiio-${PYTHON_PN}"

for a dependency including the bindings - isn't this valid?

I assume, that a pure native library dependency (i.e. without python bindings) should not introduce any python core functionality?

Thanks,
Martin Siegumfeldt

#1 lore raw
Quoted 11 lines · Martin Siegumfeldt

Hi,

I noticed that since
http://lists.openembedded.org/pipermail/openembedded-devel/2019-October/202502.html
was merged, libiio started depending on 'python3-core', even without any dependencies defined towards libiio-python3.

We use

RDEPENDS_${PN} += "libiio"

Quoted 8 lines

for describing the (native library) dependency (i.e. without bindings), and

RDEPENDS_${PN} += "libiio-${PYTHON_PN}"

for a dependency including the bindings - isn't this valid?

I assume, that a pure native library dependency (i.e. without python bindings) should not introduce any python core functionality?

I am happy to take a patch to make it a packageconfig and keep it off by default

Quoted 10 lines

Thanks,
Martin Siegumfeldt
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel