Package names shouldn't contain capital letters.

Signed-off-by: Paul Barker <p...@paulbarker.me.uk>
---
 .../python/RPi-GPIO/don-t-install-setuptools.patch  | 16 ----------------
 recipes-devtools/python/RPi-GPIO_0.2.0.bb           | 21 ---------------------
 .../python/rpi-gpio/don-t-install-setuptools.patch  | 16 ++++++++++++++++
 recipes-devtools/python/rpi-gpio_0.2.0.bb           | 21 +++++++++++++++++++++
 4 files changed, 37 insertions(+), 37 deletions(-)
 delete mode 100644 
recipes-devtools/python/RPi-GPIO/don-t-install-setuptools.patch
 delete mode 100644 recipes-devtools/python/RPi-GPIO_0.2.0.bb
 create mode 100644 
recipes-devtools/python/rpi-gpio/don-t-install-setuptools.patch
 create mode 100644 recipes-devtools/python/rpi-gpio_0.2.0.bb

diff --git a/recipes-devtools/python/RPi-GPIO/don-t-install-setuptools.patch 
b/recipes-devtools/python/RPi-GPIO/don-t-install-setuptools.patch
deleted file mode 100644
index bc71443..0000000
--- a/recipes-devtools/python/RPi-GPIO/don-t-install-setuptools.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-We already have setuptools python module so we will use that and not the
-one provided in this package.
-
-Upstream-Status: Inappropriate [embedded specific]
-Signed-off-by: Andrei Gherzan <and...@gherzan.ro>
-
-Index: RPi.GPIO-0.2.0/setup.py
-===================================================================
---- RPi.GPIO-0.2.0.orig/setup.py       2012-05-24 13:17:31.000000000 +0300
-+++ RPi.GPIO-0.2.0/setup.py    2012-08-22 00:56:59.049001018 +0300
-@@ -1,6 +1,4 @@
- #!/usr/bin/env python
--import distribute_setup
--distribute_setup.use_setuptools()
- from setuptools import setup, find_packages
- import platform
diff --git a/recipes-devtools/python/RPi-GPIO_0.2.0.bb 
b/recipes-devtools/python/RPi-GPIO_0.2.0.bb
deleted file mode 100644
index 73122cd..0000000
--- a/recipes-devtools/python/RPi-GPIO_0.2.0.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=ee5754ae9d5f8061d6d4ccd9c9fe0061"
-
-SRCNAME = "RPi.GPIO"
-PR = "r0"
-
-SRC_URI = "\
-          
http://pypi.python.org/packages/source/R/RPi.GPIO/${SRCNAME}-${PV}.tar.gz \
-          file://don-t-install-setuptools.patch \
-          "
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-inherit setuptools
-
-COMPATIBLE_MACHINE = "raspberrypi"
-
-SRC_URI[md5sum] = "0fc4bfa6aabc856b0b75252a40ac75cc"
-SRC_URI[sha256sum] = 
"fcfd97dc9687dde76b13b9d12c122e71b13e2ba09a62913d7b8d9ddbb3e8cabf"
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 @@
+We already have setuptools python module so we will use that and not the
+one provided in this package.
+
+Upstream-Status: Inappropriate [embedded specific]
+Signed-off-by: Andrei Gherzan <and...@gherzan.ro>
+
+Index: RPi.GPIO-0.2.0/setup.py
+===================================================================
+--- RPi.GPIO-0.2.0.orig/setup.py       2012-05-24 13:17:31.000000000 +0300
++++ RPi.GPIO-0.2.0/setup.py    2012-08-22 00:56:59.049001018 +0300
+@@ -1,6 +1,4 @@
+ #!/usr/bin/env python
+-import distribute_setup
+-distribute_setup.use_setuptools()
+ from setuptools import setup, find_packages
+ 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 @@
+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=ee5754ae9d5f8061d6d4ccd9c9fe0061"
+
+SRCNAME = "RPi.GPIO"
+PR = "r0"
+
+SRC_URI = "\
+          
http://pypi.python.org/packages/source/R/RPi.GPIO/${SRCNAME}-${PV}.tar.gz \
+          file://don-t-install-setuptools.patch \
+          "
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+COMPATIBLE_MACHINE = "raspberrypi"
+
+SRC_URI[md5sum] = "0fc4bfa6aabc856b0b75252a40ac75cc"
+SRC_URI[sha256sum] = 
"fcfd97dc9687dde76b13b9d12c122e71b13e2ba09a62913d7b8d9ddbb3e8cabf"
-- 
1.8.2.2

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to