All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] python-rpi-gpio: new package
@ 2016-02-23 23:08 Thomas Petazzoni
  0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2016-02-23 23:08 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=52b054fb3e14192ed94627a2b4eb2d96c557501e
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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                            |  1 +
 package/python-rpi-gpio/Config.in            |  7 +++++++
 package/python-rpi-gpio/python-rpi-gpio.hash |  3 +++
 package/python-rpi-gpio/python-rpi-gpio.mk   | 14 ++++++++++++++
 4 files changed, 25 insertions(+)

diff --git a/package/Config.in b/package/Config.in
index dc68184..2b18147 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
index 0000000..4f59ebd
--- /dev/null
+++ b/package/python-rpi-gpio/Config.in
@@ -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
index 0000000..8b498f1
--- /dev/null
+++ b/package/python-rpi-gpio/python-rpi-gpio.hash
@@ -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
index 0000000..e71fdea
--- /dev/null
+++ b/package/python-rpi-gpio/python-rpi-gpio.mk
@@ -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))

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-23 23:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-23 23:08 [Buildroot] [git commit] python-rpi-gpio: new package Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.