From b00888a0a6bd5e7ea3c648dd12d1836196e66a6f Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Sat, 4 Apr 2020 13:12:36 -0400 Subject: python-spidev: consolidate inc and bb files into a single bb file Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python-spidev.inc | 17 ----------------- .../recipes-devtools/python/python3-spidev_3.2.bb | 18 ++++++++++++++++-- 2 files changed, 16 insertions(+), 19 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-spidev.inc (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python-spidev.inc b/meta-python/recipes-devtools/python/python-spidev.inc deleted file mode 100644 index 1b93763d5..000000000 --- a/meta-python/recipes-devtools/python/python-spidev.inc +++ /dev/null @@ -1,17 +0,0 @@ -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=54bdb9022ebb75ab68399cdaab97da60" -SRCNAME = "spidev" - -SRC_URI[md5sum] = "f601676f1bb48b9aa3b3897f95216365" -SRC_URI[sha256sum] = "09d2b5122f0dd79910713a11f9a0020f71537224bf829916def4fffc0ea59456" - - -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 index 610611e43..65679594d 100644 --- a/meta-python/recipes-devtools/python/python3-spidev_3.2.bb +++ b/meta-python/recipes-devtools/python/python3-spidev_3.2.bb @@ -1,2 +1,16 @@ -inherit setuptools3 -require python-spidev.inc +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=54bdb9022ebb75ab68399cdaab97da60" +SRCNAME = "spidev" + +SRC_URI[md5sum] = "f601676f1bb48b9aa3b3897f95216365" +SRC_URI[sha256sum] = "09d2b5122f0dd79910713a11f9a0020f71537224bf829916def4fffc0ea59456" + +inherit pypi setuptools3 -- cgit v1.2.3-54-g00ecf