Patchwork [1/4] python-wifi: add recipe for version 0.5.0

login
register
mail settings
Submitter Andreas Oberritter
Date Jan. 6, 2011, 12:48 p.m.
Message ID <1294318110-23521-1-git-send-email-obi@opendreambox.org>
Download mbox | patch
Permalink /patch/184/
State Accepted
Commit 87b86f347ebf9c80be055e5f74aa59b24bb1ff4d
Headers show

Comments

Andreas Oberritter - Jan. 6, 2011, 12:48 p.m.
* package previously unpackaged files into -doc and -examples

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
CC: Martin Jansa <Martin.Jansa@gmail.com>
---
 recipes/python/python-wifi_0.5.0.bb |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 recipes/python/python-wifi_0.5.0.bb
Michael 'Mickey' Lauer - Jan. 6, 2011, 1:06 p.m.
Acked-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de>
Frans Meulenbroeks - Jan. 6, 2011, 2:19 p.m.
2011/1/6 Andreas Oberritter <obi@opendreambox.org>:
> * package previously unpackaged files into -doc and -examples
>
> Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
> CC: Martin Jansa <Martin.Jansa@gmail.com>


Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
> ---
>  recipes/python/python-wifi_0.5.0.bb |   25 +++++++++++++++++++++++++
>  1 files changed, 25 insertions(+), 0 deletions(-)
>  create mode 100644 recipes/python/python-wifi_0.5.0.bb
>
> diff --git a/recipes/python/python-wifi_0.5.0.bb b/recipes/python/python-wifi_0.5.0.bb
> new file mode 100644
> index 0000000..faa3b43
> --- /dev/null
> +++ b/recipes/python/python-wifi_0.5.0.bb
> @@ -0,0 +1,25 @@
> +DESCRIPTION = "Provides access to Linux Wireless Extensions"
> +HOMEPAGE = "http://pythonwifi.wikispot.org/"
> +SECTION = "devel/python"
> +LICENSE = "LGPLv2+"
> +LICENSE_${PN}-examples = "GPLv2+"
> +RDEPENDS_${PN} = "python-ctypes python-datetime"
> +
> +SRC_URI = "http://download.berlios.de/pythonwifi/${P}.tar.bz2"
> +SRC_URI[md5sum] = "8fe7fd0a4edce1f9bedaff4acb7fd500"
> +SRC_URI[sha256sum] = "3e3f645d37ab20450f60c785cec5f21b330f28a6c46c7c1b0898305dd7a34b26"
> +
> +inherit setuptools
> +
> +do_install_append() {
> +        install -d ${D}${docdir}/${PN}
> +        mv ${D}${datadir}/README ${D}${docdir}/${PN}
> +        mv ${D}${datadir}/INSTALL ${D}${docdir}/${PN}
> +        mv ${D}${datadir}/docs/* ${D}${docdir}/${PN}
> +        install -d ${D}${sbindir}
> +        mv ${D}${datadir}/examples/* ${D}${sbindir}
> +}
> +
> +PACKAGES =+ "${PN}-examples"
> +
> +FILES_${PN}-examples = "${sbindir}"
> --
> 1.7.2.3
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
Martin Jansa - Jan. 6, 2011, 2:30 p.m.
On Thu, Jan 6, 2011 at 1:48 PM, Andreas Oberritter <obi@opendreambox.org> wrote:
> * package previously unpackaged files into -doc and -examples
>
> Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
> CC: Martin Jansa <Martin.Jansa@gmail.com>

Ackey-by: Martin Jansa <Martin.Jansa@gmail.com>

> ---
>  recipes/python/python-wifi_0.5.0.bb |   25 +++++++++++++++++++++++++
>  1 files changed, 25 insertions(+), 0 deletions(-)
>  create mode 100644 recipes/python/python-wifi_0.5.0.bb
>
> diff --git a/recipes/python/python-wifi_0.5.0.bb b/recipes/python/python-wifi_0.5.0.bb
> new file mode 100644
> index 0000000..faa3b43
> --- /dev/null
> +++ b/recipes/python/python-wifi_0.5.0.bb
> @@ -0,0 +1,25 @@
> +DESCRIPTION = "Provides access to Linux Wireless Extensions"
> +HOMEPAGE = "http://pythonwifi.wikispot.org/"
> +SECTION = "devel/python"
> +LICENSE = "LGPLv2+"
> +LICENSE_${PN}-examples = "GPLv2+"
> +RDEPENDS_${PN} = "python-ctypes python-datetime"
> +
> +SRC_URI = "http://download.berlios.de/pythonwifi/${P}.tar.bz2"
> +SRC_URI[md5sum] = "8fe7fd0a4edce1f9bedaff4acb7fd500"
> +SRC_URI[sha256sum] = "3e3f645d37ab20450f60c785cec5f21b330f28a6c46c7c1b0898305dd7a34b26"
> +
> +inherit setuptools
> +
> +do_install_append() {
> +        install -d ${D}${docdir}/${PN}
> +        mv ${D}${datadir}/README ${D}${docdir}/${PN}
> +        mv ${D}${datadir}/INSTALL ${D}${docdir}/${PN}
> +        mv ${D}${datadir}/docs/* ${D}${docdir}/${PN}
> +        install -d ${D}${sbindir}
> +        mv ${D}${datadir}/examples/* ${D}${sbindir}
> +}
> +
> +PACKAGES =+ "${PN}-examples"
> +
> +FILES_${PN}-examples = "${sbindir}"
> --
> 1.7.2.3
>
>

Patch

diff --git a/recipes/python/python-wifi_0.5.0.bb b/recipes/python/python-wifi_0.5.0.bb
new file mode 100644
index 0000000..faa3b43
--- /dev/null
+++ b/recipes/python/python-wifi_0.5.0.bb
@@ -0,0 +1,25 @@ 
+DESCRIPTION = "Provides access to Linux Wireless Extensions"
+HOMEPAGE = "http://pythonwifi.wikispot.org/"
+SECTION = "devel/python"
+LICENSE = "LGPLv2+"
+LICENSE_${PN}-examples = "GPLv2+"
+RDEPENDS_${PN} = "python-ctypes python-datetime"
+
+SRC_URI = "http://download.berlios.de/pythonwifi/${P}.tar.bz2"
+SRC_URI[md5sum] = "8fe7fd0a4edce1f9bedaff4acb7fd500"
+SRC_URI[sha256sum] = "3e3f645d37ab20450f60c785cec5f21b330f28a6c46c7c1b0898305dd7a34b26"
+
+inherit setuptools
+
+do_install_append() {
+        install -d ${D}${docdir}/${PN}
+        mv ${D}${datadir}/README ${D}${docdir}/${PN}
+        mv ${D}${datadir}/INSTALL ${D}${docdir}/${PN}
+        mv ${D}${datadir}/docs/* ${D}${docdir}/${PN}
+        install -d ${D}${sbindir}
+        mv ${D}${datadir}/examples/* ${D}${sbindir}
+}
+
+PACKAGES =+ "${PN}-examples"
+
+FILES_${PN}-examples = "${sbindir}"