python-rpi-gpio: new package
authorIan Haylock <haylocki@yahoo.co.uk>
Sat, 9 Jan 2016 09:24:56 +0000 (09:24 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 23 Feb 2016 23:08:49 +0000 (00:08 +0100)
Signed-off-by: Ian Haylock <haylocki@yahoo.co.uk>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-rpi-gpio/Config.in [new file with mode: 0755]
package/python-rpi-gpio/python-rpi-gpio.hash [new file with mode: 0755]
package/python-rpi-gpio/python-rpi-gpio.mk [new file with mode: 0755]

index dc6818436c9c6dfd2c4616f4abe91e22f5dee507..2b181479b8b2e07e9ab2319a42dbbea4aa493b15 100644 (file)
@@ -717,6 +717,7 @@ menu "External python modules"
        source "package/python-pyyaml/Config.in"
        source "package/python-pyzmq/Config.in"
        source "package/python-requests/Config.in"
+       source "package/python-rpi-gpio/Config.in"
        source "package/python-rtslib-fb/Config.in"
        source "package/python-serial/Config.in"
        source "package/python-service-identity/Config.in"
diff --git a/package/python-rpi-gpio/Config.in b/package/python-rpi-gpio/Config.in
new file mode 100755 (executable)
index 0000000..4f59ebd
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_RPI_GPIO
+       bool "python-rpi-gpio"
+       depends on BR2_arm
+       help
+         A Python module to control the GPIO on a Raspberry Pi.
+
+         http://sourceforge.net/p/raspberry-gpio-python
diff --git a/package/python-rpi-gpio/python-rpi-gpio.hash b/package/python-rpi-gpio/python-rpi-gpio.hash
new file mode 100755 (executable)
index 0000000..8b498f1
--- /dev/null
@@ -0,0 +1,3 @@
+# md5sum from http://sourceforge.net/projects/raspberry-gpio-python/files/, sha256 calculated locally
+md5    254d0443a436eb241367c487274e7197        RPi.GPIO-0.6.1.tar.gz
+sha256 54e5fb06d9ea1a1389a497fb5a06dfa950c86303b0f4ba89b68c55999d1df064        RPi.GPIO-0.6.1.tar.gz
diff --git a/package/python-rpi-gpio/python-rpi-gpio.mk b/package/python-rpi-gpio/python-rpi-gpio.mk
new file mode 100755 (executable)
index 0000000..e71fdea
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-rpi-gpio
+#
+################################################################################
+
+PYTHON_RPI_GPIO_VERSION = 0.6.1
+PYTHON_RPI_GPIO_SOURCE = RPi.GPIO-$(PYTHON_RPI_GPIO_VERSION).tar.gz
+PYTHON_RPI_GPIO_SITE = http://sourceforge.net/projects/raspberry-gpio-python/files
+PYTHON_RPI_GPIO_LICENSE = MIT
+PYTHON_RPI_GPIO_LICENSE_FILES = LICENSE.txt
+PYTHON_RPI_GPIO_SETUP_TYPE = distutils
+
+$(eval $(python-package))