[oe-commits] Martin Jansa : freesmartphone: create python-helpers.inc, with shared variables and SRCREV
git version control
git at git.openembedded.org
Sat May 1 19:51:07 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: f52cfb976ae1929b1956b9e45e060a5a5108cb08
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f52cfb976ae1929b1956b9e45e060a5a5108cb08
Author: Martin Jansa <Martin.Jansa at gmail.com>
Date: Sat May 1 15:08:28 2010 +0200
freesmartphone: create python-helpers.inc, with shared variables and SRCREV
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
conf/distro/include/sane-srcrevs.inc | 1 -
recipes/freesmartphone/mdbus_git.bb | 9 +++------
recipes/freesmartphone/mickeyterm_git.bb | 9 +++------
recipes/freesmartphone/multicat_git.bb | 9 +++------
recipes/freesmartphone/pycd_git.bb | 7 +++----
recipes/freesmartphone/python-helpers.inc | 8 ++++++++
recipes/python/python-pyrtc_git.bb | 5 ++---
7 files changed, 22 insertions(+), 26 deletions(-)
diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc
index bff5b21..5fb5542 100644
--- a/conf/distro/include/sane-srcrevs.inc
+++ b/conf/distro/include/sane-srcrevs.inc
@@ -4,4 +4,3 @@
OPKG_SRCREV ?= "527"
EFL_SRCREV ?= "48486"
FSO_CORNUCOPIA_SRCREV ?= "d2189d3f54331fb79a1ca31d6fafe2e8eb2afe46"
-FSO_PYTHONHELPERS_SRCREV ?= "63b1dff1bc8ac22efabcee8a90e957c3b2423317"
diff --git a/recipes/freesmartphone/mdbus_git.bb b/recipes/freesmartphone/mdbus_git.bb
index f90fd7e..14a676e 100644
--- a/recipes/freesmartphone/mdbus_git.bb
+++ b/recipes/freesmartphone/mdbus_git.bb
@@ -1,16 +1,13 @@
DESCRIPTION = "Mickey's DBus introspection and calling Program"
AUTHOR = "Michael 'Mickey' Lauer <mlauer at vanille-media.de>"
-HOMEPAGE = "http://www.freesmartphone.org"
SECTION = "console/network"
-LICENSE = "GPLv2"
+
+require python-helpers.inc
+
SRCREV = "${FSO_PYTHONHELPERS_SRCREV}"
PV = "0.9.2+gitr${SRCPV}"
-PE = "1"
PR = "r2"
-SRC_URI = "${FREESMARTPHONE_GIT}/python-helpers.git;protocol=git;branch=master"
-S = "${WORKDIR}/git"
-
do_install() {
install -d ${D}${bindir}
install -m 0755 mickeydbus/mdbus ${D}${bindir}
diff --git a/recipes/freesmartphone/mickeyterm_git.bb b/recipes/freesmartphone/mickeyterm_git.bb
index 2073021..41b5636 100644
--- a/recipes/freesmartphone/mickeyterm_git.bb
+++ b/recipes/freesmartphone/mickeyterm_git.bb
@@ -1,16 +1,13 @@
DESCRIPTION = "Mickey's Terminal Program"
AUTHOR = "Michael 'Mickey' Lauer <mlauer at vanille-media.de>"
-HOMEPAGE = "http://www.freesmartphone.org"
SECTION = "console/network"
-LICENSE = "GPLv2"
+
+require python-helpers.inc
+
SRCREV = "${FSO_PYTHONHELPERS_SRCREV}"
PV = "2.9.1+gitr${SRCPV}"
-PE = "1"
PR = "r3"
-SRC_URI = "${FREESMARTPHONE_GIT}/python-helpers.git;protocol=git;branch=master"
-S = "${WORKDIR}/git"
-
do_install() {
install -d ${D}${bindir}
install -m 0755 mickeyterm/mickeyterm ${D}${bindir}
diff --git a/recipes/freesmartphone/multicat_git.bb b/recipes/freesmartphone/multicat_git.bb
index a47f605..77d6115 100644
--- a/recipes/freesmartphone/multicat_git.bb
+++ b/recipes/freesmartphone/multicat_git.bb
@@ -1,16 +1,13 @@
DESCRIPTION = "Multiple cat utility"
AUTHOR = "Michael 'Mickey' Lauer <mlauer at vanille-media.de>"
-HOMEPAGE = "http://www.freesmartphone.org"
SECTION = "console"
-LICENSE = "GPLv2"
+
+require python-helpers.inc
+
SRCREV = "${FSO_PYTHONHELPERS_SRCREV}"
PV = "0.0.0+gitr${SRCPV}"
-PE = "1"
PR = "r1"
-SRC_URI = "${FREESMARTPHONE_GIT}/python-helpers.git;protocol=git;branch=master"
-S = "${WORKDIR}/git"
-
do_install() {
install -d ${D}${bindir}
install -m 0755 multicat/multicat ${D}${bindir}
diff --git a/recipes/freesmartphone/pycd_git.bb b/recipes/freesmartphone/pycd_git.bb
index 92b0bb9..eebc11c 100644
--- a/recipes/freesmartphone/pycd_git.bb
+++ b/recipes/freesmartphone/pycd_git.bb
@@ -1,14 +1,13 @@
DESCRIPTION = "Python Clone Factory"
AUTHOR = "Jan Luebbe <jluebbe at debian.org>"
-HOMEPAGE = "http://www.freesmartphone.org"
SECTION = "console/network"
-LICENSE = "GPLv2"
+
+require python-helpers.inc
+
SRCREV = "${FSO_PYTHONHELPERS_SRCREV}"
PV = "0.1+gitr${SRCPV}"
-PE = "1"
PR = "r0"
-SRC_URI = "${FREESMARTPHONE_GIT}/python-helpers.git;protocol=git;branch=master"
S = "${WORKDIR}/git/${PN}"
RDEPENDS_${PN} = "\
diff --git a/recipes/freesmartphone/python-helpers.inc b/recipes/freesmartphone/python-helpers.inc
new file mode 100644
index 0000000..4397627
--- /dev/null
+++ b/recipes/freesmartphone/python-helpers.inc
@@ -0,0 +1,8 @@
+HOMEPAGE = "http://www.freesmartphone.org"
+SECTION = "console/network"
+LICENSE = "GPLv2"
+PE = "1"
+
+FSO_PYTHONHELPERS_SRCREV ?= "63b1dff1bc8ac22efabcee8a90e957c3b2423317"
+SRC_URI = "${FREESMARTPHONE_GIT}/python-helpers.git;protocol=git;branch=master"
+S = "${WORKDIR}/git"
diff --git a/recipes/python/python-pyrtc_git.bb b/recipes/python/python-pyrtc_git.bb
index 789f0e2..bd8452f 100644
--- a/recipes/python/python-pyrtc_git.bb
+++ b/recipes/python/python-pyrtc_git.bb
@@ -1,17 +1,16 @@
+require ../freesmartphone/python-helpers.inc
+
DESCRIPTION = "PyRTC is a python extension module that supports talking to the \
RTC (Real Time Clock) found in most PCs and SOCs"
SECTION = "devel/python"
-HOMEPAGE = "http://www.freesmartphone.org"
AUTHOR = "Michael 'Mickey' Lauer <mlauer at vanille-media.de>"
LICENSE = "GPLv2"
SRCNAME = "pyrtc"
DEPENDS = "python-cython-native"
SRCREV = "${FSO_PYTHONHELPERS_SRCREV}"
PV = "1.0.0+gitr${SRCPV}"
-PE = "1"
PR = "ml1"
-SRC_URI = "git://git.freesmartphone.org/python-helpers.git;protocol=git;branch=master"
S = "${WORKDIR}/git/${SRCNAME}"
inherit distutils
More information about the Openembedded-commits
mailing list