mbox series

[meta-oe,v2,0/4] python3-gpiod: fetch sources from pypi

Message ID 20230414115147.136593-1-brgl@bgdev.pl
Headers show
Series python3-gpiod: fetch sources from pypi | expand

Message

Bartosz Golaszewski April 14, 2023, 11:51 a.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Khem,

There were two issues in the previous version. First, the gpiosim.h
header is not installed as it's for tests only so we need to manually
install it when ptests are enabled so that the python package can see
it in its sysroot. The second issue were the PTEST_FLAGS that were not
correctly expanded. I dropped them now as they are no longer needed when
using the python build front-end.

I added an additional patch which removed libgpiod-src.inc as it's no
longer required by python3-gpiod. Tested with gcc & clang and glibc & musl.

Bartosz Golaszewski (4):
  python3-gpiod: add missing run-time dependencies
  libgpiod: install the libgpiosim header
  python3-gpiod: fetch sources from pypi
  libgpiod: fold libgpiod-src.inc into libgpiod.inc

 .../recipes-support/libgpiod/libgpiod-src.inc |  1 -
 meta-oe/recipes-support/libgpiod/libgpiod.inc |  7 +--
 .../libgpiod/libgpiod_2.0.1.bb                |  6 +++
 .../python/python3-gpiod_2.0.1.bb             | 38 ++++++++++++++++
 .../python/python3-gpiod_2.0.bb               | 45 -------------------
 5 files changed, 48 insertions(+), 49 deletions(-)
 delete mode 100644 meta-oe/recipes-support/libgpiod/libgpiod-src.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-gpiod_2.0.1.bb
 delete mode 100644 meta-python/recipes-devtools/python/python3-gpiod_2.0.bb