summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-gpiod_2.0.1.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-gpiod: update to v2.1.3Bartosz Golaszewski2023-11-091-37/+0
| | | | | | | | | | | | | | | | | | | | | | | | The python bindings for libgpiod have undergone several significant changes that make them easier to use for users of pip. The libgpiod sources are now vendored with the python3-gpiod as the biggest complaint by far was the fact that if the system doesn't provide the correct version of libgpiod, the python bindings won't build. This is however irrelevant for the meta-python recipe as we use the provided switch to keep linking against the libgpiod provided by meta-openembedded. We have changed the way the tests are built, they are now generated by a separate build script and no longer by setup.py. The package now correctly build with the preferred pep517 method so change the inherited classes. We have also gained control over the gpiod module on pypi (which previously hosted a pure python GPIO library) so the location of the sources has changed. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-python: Remove unused AUTHOR variableMichael Opdenacker2023-08-051-1/+0
| | | | | | | | | No longer used in generating packages Also creates a possible confusion with the recipe maintainer name. Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-gpiod: fetch sources from pypiBartosz Golaszewski2023-04-141-0/+38
Python bindings to libgpiod are now available on pypi. The source package is a limited subset of the original repository. As such the ptest package now requires the libgpiod-ptest to be available at run-time (for libgpiosim.so against which the test C extension is linked). The problem with installing the C extensions for tests is now fixed so drop the do_install:append(). We no longer have to pass any additional CFLAGS to setup.py either. We update the version of the recipe but the changes only apply to building and packaging, there are no functional changes to the code. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>