From ab4f7ee8fff64fe00fc0b0be32f2faee5440b0e0 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Sun, 13 Jan 2008 23:28:42 +0000 Subject: python-efl cvs generate .edj files and ship 'em --- packages/python/python-edje_cvs.bb | 3 +-- packages/python/python-efl-examples.bb | 7 +++++-- packages/python/python-efl.inc | 8 ++++++++ packages/python/python-emotion_cvs.bb | 3 +-- packages/python/python-epsilon_cvs.bb | 2 +- packages/python/python-evas_cvs.bb | 3 +-- 6 files changed, 17 insertions(+), 9 deletions(-) (limited to 'packages') diff --git a/packages/python/python-edje_cvs.bb b/packages/python/python-edje_cvs.bb index 1ca047ecef..1205e7ec84 100644 --- a/packages/python/python-edje_cvs.bb +++ b/packages/python/python-edje_cvs.bb @@ -1,5 +1,4 @@ require python-efl.inc DEPENDS += "edje python-evas" - -PR = "r4" +PR = "r5" diff --git a/packages/python/python-efl-examples.bb b/packages/python/python-efl-examples.bb index 5648033f13..0a4e32097f 100644 --- a/packages/python/python-efl-examples.bb +++ b/packages/python/python-efl-examples.bb @@ -1,7 +1,10 @@ DESCRIPTION = "Python Examples for the Enlightenment Foundation Libraries" LICENSE = "MIT" SECTION = "devel/python" -RDEPENDS = "python-efl python-ecore-examples python-emotion-examples python-edje-examples python-epsilon-examples" -PR = "ml1" +RDEPENDS = "\ + python-efl python-ecore-examples python-emotion-examples python-edje-examples python-epsilon-examples \ + python-math python-textutils \ +" +PR = "ml2" ALLOW_EMPTY = "1" diff --git a/packages/python/python-efl.inc b/packages/python/python-efl.inc index e54cfff574..e6cc62df5e 100644 --- a/packages/python/python-efl.inc +++ b/packages/python/python-efl.inc @@ -15,6 +15,14 @@ S = "${WORKDIR}/${PN}" do_install_append() { if [ -e examples ]; then + for i in `find examples -name "*.edc"`; do + pushd `dirname $i` + echo "Generating .edj file for $i..." + edje_cc `basename $i` + echo "Removing sources in this directory..." + rm -f *.edc *.png *.ttf *.jpeg + popd + done install -d ${D}${datadir}/${PN}/ cp -a examples ${D}${datadir}/${PN}/ find ${D}${datadir}/${PN}/examples -name "CVS" | xargs rm -rf diff --git a/packages/python/python-emotion_cvs.bb b/packages/python/python-emotion_cvs.bb index 0d0ce22f54..d3f5109d86 100644 --- a/packages/python/python-emotion_cvs.bb +++ b/packages/python/python-emotion_cvs.bb @@ -1,4 +1,3 @@ require python-efl.inc DEPENDS += "emotion python-evas" - -PR = "r3" +PR = "r4" diff --git a/packages/python/python-epsilon_cvs.bb b/packages/python/python-epsilon_cvs.bb index 1e77886691..204dd95610 100644 --- a/packages/python/python-epsilon_cvs.bb +++ b/packages/python/python-epsilon_cvs.bb @@ -1,3 +1,3 @@ require python-efl.inc DEPENDS += "epsilon python-ecore" -PR = "r3" +PR = "r4" diff --git a/packages/python/python-evas_cvs.bb b/packages/python/python-evas_cvs.bb index a24b50a850..e0de4569bd 100644 --- a/packages/python/python-evas_cvs.bb +++ b/packages/python/python-evas_cvs.bb @@ -1,7 +1,6 @@ require python-efl.inc DEPENDS += "evas" - -PR = "r3" +PR = "r4" do_stage() { distutils_stage_all -- cgit v1.2.3