diff options
Diffstat (limited to 'recipes-devtools')
-rw-r--r-- | recipes-devtools/python/RPi-GPIO/don-t-install-setuptools.patch | 16 | ||||
-rw-r--r-- | recipes-devtools/python/RPi-GPIO_0.2.0.bb | 21 |
2 files changed, 37 insertions, 0 deletions
diff --git a/recipes-devtools/python/RPi-GPIO/don-t-install-setuptools.patch b/recipes-devtools/python/RPi-GPIO/don-t-install-setuptools.patch new file mode 100644 index 0000000..bc71443 --- /dev/null +++ b/recipes-devtools/python/RPi-GPIO/don-t-install-setuptools.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | We already have setuptools python module so we will use that and not the | ||
2 | one provided in this package. | ||
3 | |||
4 | Upstream-Status: Inappropriate [embedded specific] | ||
5 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | ||
6 | |||
7 | Index: RPi.GPIO-0.2.0/setup.py | ||
8 | =================================================================== | ||
9 | --- RPi.GPIO-0.2.0.orig/setup.py 2012-05-24 13:17:31.000000000 +0300 | ||
10 | +++ RPi.GPIO-0.2.0/setup.py 2012-08-22 00:56:59.049001018 +0300 | ||
11 | @@ -1,6 +1,4 @@ | ||
12 | #!/usr/bin/env python | ||
13 | -import distribute_setup | ||
14 | -distribute_setup.use_setuptools() | ||
15 | from setuptools import setup, find_packages | ||
16 | import platform | ||
diff --git a/recipes-devtools/python/RPi-GPIO_0.2.0.bb b/recipes-devtools/python/RPi-GPIO_0.2.0.bb new file mode 100644 index 0000000..73122cd --- /dev/null +++ b/recipes-devtools/python/RPi-GPIO_0.2.0.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | DESCRIPTION = "A module to control Raspberry Pi GPIO channels" | ||
2 | HOMEPAGE = "http://code.google.com/p/raspberry-gpio-python/" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=ee5754ae9d5f8061d6d4ccd9c9fe0061" | ||
6 | |||
7 | SRCNAME = "RPi.GPIO" | ||
8 | PR = "r0" | ||
9 | |||
10 | SRC_URI = "\ | ||
11 | http://pypi.python.org/packages/source/R/RPi.GPIO/${SRCNAME}-${PV}.tar.gz \ | ||
12 | file://don-t-install-setuptools.patch \ | ||
13 | " | ||
14 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
15 | |||
16 | inherit setuptools | ||
17 | |||
18 | COMPATIBLE_MACHINE = "raspberrypi" | ||
19 | |||
20 | SRC_URI[md5sum] = "0fc4bfa6aabc856b0b75252a40ac75cc" | ||
21 | SRC_URI[sha256sum] = "fcfd97dc9687dde76b13b9d12c122e71b13e2ba09a62913d7b8d9ddbb3e8cabf" | ||