summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-efl/recipes-devtools/python/python-efl.inc41
1 files changed, 39 insertions, 2 deletions
diff --git a/meta-efl/recipes-devtools/python/python-efl.inc b/meta-efl/recipes-devtools/python/python-efl.inc
index c608bac7c..cca356262 100644
--- a/meta-efl/recipes-devtools/python/python-efl.inc
+++ b/meta-efl/recipes-devtools/python/python-efl.inc
@@ -12,7 +12,6 @@ DEPENDS = "python-cython-native python-pyrex-native python-numeric eina"
12RDEPENDS_${PN} += "python-lang" 12RDEPENDS_${PN} += "python-lang"
13 13
14PROVIDES = "python-ecore python-eldbus python-edje python-elementary python-emotion python-evas" 14PROVIDES = "python-ecore python-eldbus python-edje python-elementary python-emotion python-evas"
15RPROVIDES_${PN} += "python-ecore python-eldbus python-edje python-elementary python-emotion python-evas"
16 15
17# necessary to let the call for python-config succeed 16# necessary to let the call for python-config succeed
18export BUILD_SYS 17export BUILD_SYS
@@ -27,7 +26,45 @@ SRC_URI = "\
27" 26"
28S = "${WORKDIR}/${SRCNAME}-${SRCVER}" 27S = "${WORKDIR}/${SRCNAME}-${SRCVER}"
29 28
29do_install_append() {
30 # drop all .pyo, pyc files
31 find ${D}${libdir}/${PYTHON_DIR}/site-packages -name \*.pyo -o -name \*.pyc | xargs rm -f
32}
33
34PACKAGES += "python-ecore python-eldbus python-edje python-elementary python-emotion python-evas ${PN}-examples"
35
36FILES_${PN} = " \
37 ${libdir}/${PYTHON_DIR}/site-packages/python_efl*egg-info \
38 ${libdir}/${PYTHON_DIR}/site-packages/efl/eo.so \
39 ${libdir}/${PYTHON_DIR}/site-packages/efl/utils \
40 ${libdir}/${PYTHON_DIR}/site-packages/efl/__init__.py \
41"
30FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/*.egg/*/*/.debug" 42FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/*.egg/*/*/.debug"
43FILES_${PN}-dev += "${libdir}/${PYTHON_DIR}/site-packages/*/*.la"
31 44
32PACKAGES += "${PN}-examples"
33FILES_${PN}-examples = "${datadir}/${PN}/examples" 45FILES_${PN}-examples = "${datadir}/${PN}/examples"
46
47FILES_python-ecore = " \
48 ${libdir}/${PYTHON_DIR}/site-packages/ecore/ \
49 ${libdir}/${PYTHON_DIR}/site-packages/efl/ecore.so \
50"
51FILES_python-eldbus = " \
52 ${libdir}/${PYTHON_DIR}/site-packages/e_dbus/ \
53 ${libdir}/${PYTHON_DIR}/site-packages/efl/dbus_mainloop.so \
54"
55FILES_python-edje = " \
56 ${libdir}/${PYTHON_DIR}/site-packages/edje/ \
57 ${libdir}/${PYTHON_DIR}/site-packages/efl/edje*so \
58"
59FILES_python-elementary = " \
60 ${libdir}/${PYTHON_DIR}/site-packages/elementary/ \
61 ${libdir}/${PYTHON_DIR}/site-packages/efl/elementary/ \
62"
63FILES_python-emotion = " \
64 ${libdir}/${PYTHON_DIR}/site-packages/emotion/ \
65 ${libdir}/${PYTHON_DIR}/site-packages/efl/emotion.so \
66"
67FILES_python-evas = " \
68 ${libdir}/${PYTHON_DIR}/site-packages/evas/ \
69 ${libdir}/${PYTHON_DIR}/site-packages/efl/evas.so \
70"