Patchwork [meta-oe,1/4] pyudev: Add intial version

login
register
mail settings
Submitter Michael Lippautz
Date July 2, 2011, 12:20 p.m.
Message ID <5fa6a25857cc7b16ab7fe2ca21ead58aa754f46d.1309608953.git.michael.lippautz@gmail.com>
Download mbox | patch
Permalink /patch/6889/
State Superseded
Headers show

Comments

Michael Lippautz - July 2, 2011, 12:20 p.m.
* glib, qt4 and side .py files are deployed. Their RDEPS are however currently
  not (yet) existing, hence no RSUGGESTS.

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
---
 .../recipes-devtools/python/python-pyudev_0.11.bb  |   22 ++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/python/python-pyudev_0.11.bb
Paul Menzel - July 2, 2011, 12:36 p.m.
Am Samstag, den 02.07.2011, 14:20 +0200 schrieb Michael Lippautz:

Please add the program version also to the commit summary.

	Add version 0.11 (initial recipe)

> * glib, qt4 and side .py files are deployed. Their RDEPS are however currently
>   not (yet) existing, hence no RSUGGESTS.
> 
> Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
> ---
>  .../recipes-devtools/python/python-pyudev_0.11.bb  |   22 ++++++++++++++++++++
>  1 files changed, 22 insertions(+), 0 deletions(-)
>  create mode 100644 meta-oe/recipes-devtools/python/python-pyudev_0.11.bb
> 
> diff --git a/meta-oe/recipes-devtools/python/python-pyudev_0.11.bb b/meta-oe/recipes-devtools/python/python-pyudev_0.11.bb
> new file mode 100644
> index 0000000..e14450f
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/python/python-pyudev_0.11.bb
> @@ -0,0 +1,22 @@
> +DESCRIPTION = "A libudev binding"
> +HOMEPAGE = "http://pypi.python.org/pypi/pyudev"
> +SECTION = "devel/python"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
> +PR = "r0"
> +
> +SRCNAME = "pyudev"
> +SRC_URI = "http://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
> +S = "${WORKDIR}/${SRCNAME}-${PV}"
> +
> +inherit setuptools
> +
> +RDEPENDS_${PN} = "\
> +  python-ctypes \
> +  python-subprocess \
> +  python-misc \
> +	libudev \

This looks like a white space error. Please use spaces consistently.

> +"
> +
> +SRC_URI[md5sum] = "dca4e69da387f9a6683ee4b5c27ca66a"
> +SRC_URI[sha256sum] = "0acfa500219f4bcf711f35c1b2041d035b4bf5f302eca5038572ee788d9e584a"

I do not know how it is handled in meta-oe, but usually the checksum
lines go right below the first `SRC_URI` entry. In those recipes where
there are at the bottom it was most likely due to the conversion script
used.


Thanks,

Paul

Patch

diff --git a/meta-oe/recipes-devtools/python/python-pyudev_0.11.bb b/meta-oe/recipes-devtools/python/python-pyudev_0.11.bb
new file mode 100644
index 0000000..e14450f
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-pyudev_0.11.bb
@@ -0,0 +1,22 @@ 
+DESCRIPTION = "A libudev binding"
+HOMEPAGE = "http://pypi.python.org/pypi/pyudev"
+SECTION = "devel/python"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
+PR = "r0"
+
+SRCNAME = "pyudev"
+SRC_URI = "http://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+RDEPENDS_${PN} = "\
+  python-ctypes \
+  python-subprocess \
+  python-misc \
+	libudev \
+"
+
+SRC_URI[md5sum] = "dca4e69da387f9a6683ee4b5c27ca66a"
+SRC_URI[sha256sum] = "0acfa500219f4bcf711f35c1b2041d035b4bf5f302eca5038572ee788d9e584a"