diff options
author | Michael Lauer <mickey@vanille-media.de> | 2008-01-13 15:47:53 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2008-01-13 15:47:53 +0000 |
commit | e389db6955bdb477cae726fc97ca1c6d2f53fab0 (patch) | |
tree | 490855aa600fbc265f22de5084114c645c337581 /packages/python | |
parent | 2a9b0c8e76f591c44f4e3d3c16ee8501b5b02cfa (diff) |
python-efl cvs ship examples, add python-efl-examples as meta package
Diffstat (limited to 'packages/python')
-rw-r--r-- | packages/python/python-ecore_cvs.bb | 3 | ||||
-rw-r--r-- | packages/python/python-edje_cvs.bb | 2 | ||||
-rw-r--r-- | packages/python/python-efl-examples.bb | 7 | ||||
-rw-r--r-- | packages/python/python-efl.inc | 12 | ||||
-rw-r--r-- | packages/python/python-emotion_cvs.bb | 2 | ||||
-rw-r--r-- | packages/python/python-epsilon_cvs.bb | 3 |
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" |