[oe] [meta-python][PATCH v2] python-spidev: add recipe for version 3.2

Derek Straka derek at asterius.io
Fri Nov 4 13:46:20 UTC 2016


On Fri, Nov 4, 2016 at 6:16 AM, Ruben De Smet <ruben.de.smet at rubdos.be>
wrote:

> A python module for interfacing with SPI
>
> Signed-off-by: Ruben De Smet <ruben.de.smet at rubdos.be>
> ---
>  meta-python/recipes-devtools/python/python-spidev.inc   | 17
> +++++++++++++++++
>  .../recipes-devtools/python/python3-spidev_3.2.bb       |  6 ++++++
>  2 files changed, 23 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/python-spidev.inc
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-spidev_3.2.bb
>
> diff --git a/meta-python/recipes-devtools/python/python-spidev.inc
> b/meta-python/recipes-devtools/python/python-spidev.inc
> new file mode 100644
> index 0000000..1b93763
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-spidev.inc
> @@ -0,0 +1,17 @@
> +SUMMARY = "Python bindings for Linux SPI access through spidev"
> +DESCRIPTION = "This project contains a python module for interfacing with
> SPI\
> +devices from user space via the spidev linux kernel driver.\
> +This is a modified version of the code originally found\
> +[here](http://elk.informatik.fh-augsburg.de/da/da-49/trees/
> pyap7k/lang/py-spi)\
> +All code is GPLv2 licensed unless explicitly stated otherwise."
> +HOMEPAGE = "http://github.com/doceme/py-spidev"
> +SECTION = "devel/python"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=54bdb9022ebb75ab68399cdaab97da
> 60"
> +SRCNAME = "spidev"
> +
> +SRC_URI[md5sum] = "f601676f1bb48b9aa3b3897f95216365"
> +SRC_URI[sha256sum] = "09d2b5122f0dd79910713a11f9a002
> 0f71537224bf829916def4fffc0ea59456"
> +
> +
> +inherit pypi
> diff --git a/meta-python/recipes-devtools/python/python3-spidev_3.2.bb
> b/meta-python/recipes-devtools/python/python3-spidev_3.2.bb
> new file mode 100644
> index 0000000..59f1c4f
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-spidev_3.2.bb
> @@ -0,0 +1,6 @@
> +inherit setuptools3
> +require python-spidev.inc
> +
> +RDEPENDS_${PN} += "\
> +"
>
Any need to keep the empty '+='?

> +RDEPENDS_${PN}_class-native = ""
> --
> 2.10.2
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list