As well integrate with meta-oe bbclass pypi. Signed-off-by: Andrei Gherzan <and...@gherzan.com> --- recipes-devtools/python/rpi-gpio_0.6.2.bb | 21 --------------------- recipes-devtools/python/rpi-gpio_0.6.3.bb | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 21 deletions(-) delete mode 100644 recipes-devtools/python/rpi-gpio_0.6.2.bb create mode 100644 recipes-devtools/python/rpi-gpio_0.6.3.bb
diff --git a/recipes-devtools/python/rpi-gpio_0.6.2.bb b/recipes-devtools/python/rpi-gpio_0.6.2.bb deleted file mode 100644 index 9c72168..0000000 --- a/recipes-devtools/python/rpi-gpio_0.6.2.bb +++ /dev/null @@ -1,21 +0,0 @@ -DESCRIPTION = "A module to control Raspberry Pi GPIO channels" -HOMEPAGE = "http://code.google.com/p/raspberry-gpio-python/" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=9b95630a648966b142f1a0dcea001cb7" - -SRCNAME = "RPi.GPIO" - -SRC_URI = "\ - http://pypi.python.org/packages/source/R/RPi.GPIO/${SRCNAME}-${PV}.tar.gz \ - file://0001-Remove-nested-functions.patch \ - " -SRC_URI[md5sum] = "9db86fd5f3bae872de9dbb068ee0b096" -SRC_URI[sha256sum] = "82acff0ef6bbe3cdf6f4dbdd73d96add5294bb94baf7f51c1d901861af3c2392" - -S = "${WORKDIR}/${SRCNAME}-${PV}" - -inherit distutils - -COMPATIBLE_MACHINE = "^rpi$" - diff --git a/recipes-devtools/python/rpi-gpio_0.6.3.bb b/recipes-devtools/python/rpi-gpio_0.6.3.bb new file mode 100644 index 0000000..d0ff00a --- /dev/null +++ b/recipes-devtools/python/rpi-gpio_0.6.3.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "A module to control Raspberry Pi GPIO channels" +HOMEPAGE = "http://code.google.com/p/raspberry-gpio-python/" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=9b95630a648966b142f1a0dcea001cb7" + +PYPI_PACKAGE = "RPi.GPIO" +inherit pypi distutils + +SRC_URI += "file://0001-Remove-nested-functions.patch" +SRC_URI[md5sum] = "e4abe1cfb5eacebe53078032256eb837" +SRC_URI[sha256sum] = "a5fc0eb5e401963b6c0a03650da6b42c4005f02d962b81241d96c98d0a578516" + +COMPATIBLE_MACHINE = "^rpi$" -- 2.7.4 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto