summaryrefslogtreecommitdiff
path: root/packages/python
diff options
context:
space:
mode:
Diffstat (limited to 'packages/python')
-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
6 files changed, 23 insertions, 6 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"