summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-01-13 15:47:53 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-01-13 15:47:53 +0000
commite389db6955bdb477cae726fc97ca1c6d2f53fab0 (patch)
tree490855aa600fbc265f22de5084114c645c337581
parent2a9b0c8e76f591c44f4e3d3c16ee8501b5b02cfa (diff)
python-efl cvs ship examples, add python-efl-examples as meta package
-rw-r--r--packages/python/python-ecore_cvs.bb3
-rw-r--r--packages/python/python-edje_cvs.bb2
-rw-r--r--packages/python/python-efl-examples.bb7
-rw-r--r--packages/python/python-efl.inc12
-rw-r--r--packages/python/python-emotion_cvs.bb2
-rw-r--r--packages/python/python-epsilon_cvs.bb3
-rw-r--r--packages/tasks/task-python-everything.bb3
7 files changed, 25 insertions, 7 deletions
diff --git a/packages/python/python-ecore_cvs.bb b/packages/python/python-ecore_cvs.bb
index 80bda20987..0ec598f5a0 100644
--- a/packages/python/python-ecore_cvs.bb
+++ b/packages/python/python-ecore_cvs.bb
@@ -1,7 +1,6 @@
require python-efl.inc
DEPENDS += "ecore"
-
-PR = "r3"
+PR = "r5"
do_stage() {
distutils_stage_all
diff --git a/packages/python/python-edje_cvs.bb b/packages/python/python-edje_cvs.bb
index 6fc444a6e6..1ca047ecef 100644
--- a/packages/python/python-edje_cvs.bb
+++ b/packages/python/python-edje_cvs.bb
@@ -1,5 +1,5 @@
require python-efl.inc
DEPENDS += "edje python-evas"
-PR = "r2"
+PR = "r4"
diff --git a/packages/python/python-efl-examples.bb b/packages/python/python-efl-examples.bb
new file mode 100644
index 0000000000..5648033f13
--- /dev/null
+++ b/packages/python/python-efl-examples.bb
@@ -0,0 +1,7 @@
+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"
+
+ALLOW_EMPTY = "1"
diff --git a/packages/python/python-efl.inc b/packages/python/python-efl.inc
index fce05fe50f..e54cfff574 100644
--- a/packages/python/python-efl.inc
+++ b/packages/python/python-efl.inc
@@ -13,5 +13,17 @@ inherit setuptools
SRC_URI = "${E_CVS};module=e17/proto/python-efl/${PN}"
S = "${WORKDIR}/${PN}"
+do_install_append() {
+ if [ -e examples ]; then
+ install -d ${D}${datadir}/${PN}/
+ cp -a examples ${D}${datadir}/${PN}/
+ find ${D}${datadir}/${PN}/examples -name "CVS" | xargs rm -rf
+ find ${D}${datadir}/${PN}/examples -name ".cvsignore" | xargs rm -f
+ fi
+}
+
FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/*.egg/*/*/.debug"
+PACKAGES += "${PN}-examples"
+FILES_${PN}-examples = "${datadir}/${PN}/examples"
+
diff --git a/packages/python/python-emotion_cvs.bb b/packages/python/python-emotion_cvs.bb
index df0e561da8..0d0ce22f54 100644
--- a/packages/python/python-emotion_cvs.bb
+++ b/packages/python/python-emotion_cvs.bb
@@ -1,4 +1,4 @@
require python-efl.inc
DEPENDS += "emotion python-evas"
-PR = "r2"
+PR = "r3"
diff --git a/packages/python/python-epsilon_cvs.bb b/packages/python/python-epsilon_cvs.bb
index 5b46ea5417..1e77886691 100644
--- a/packages/python/python-epsilon_cvs.bb
+++ b/packages/python/python-epsilon_cvs.bb
@@ -1,4 +1,3 @@
require python-efl.inc
DEPENDS += "epsilon python-ecore"
-
-PR = "r1"
+PR = "r3"
diff --git a/packages/tasks/task-python-everything.bb b/packages/tasks/task-python-everything.bb
index ab33153057..61daa7e089 100644
--- a/packages/tasks/task-python-everything.bb
+++ b/packages/tasks/task-python-everything.bb
@@ -1,7 +1,7 @@
DESCRIPTION= "Everything Python"
HOMEPAGE = "http://www.vanille.de/projects/python.spy"
LICENSE = "MIT"
-PR = "ml23"
+PR = "ml24"
RDEPENDS = "\
python-ao \
@@ -11,6 +11,7 @@ RDEPENDS = "\
python-dialog \
python-pydirectfb \
python-efl \
+ python-efl-examples \
python-pycurl \
python-fam \
python-fnorb \