diff options
-rw-r--r-- | meta-efl/recipes-devtools/python/python-efl.inc | 41 |
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" | |||
12 | RDEPENDS_${PN} += "python-lang" | 12 | RDEPENDS_${PN} += "python-lang" |
13 | 13 | ||
14 | PROVIDES = "python-ecore python-eldbus python-edje python-elementary python-emotion python-evas" | 14 | PROVIDES = "python-ecore python-eldbus python-edje python-elementary python-emotion python-evas" |
15 | RPROVIDES_${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 |
18 | export BUILD_SYS | 17 | export BUILD_SYS |
@@ -27,7 +26,45 @@ SRC_URI = "\ | |||
27 | " | 26 | " |
28 | S = "${WORKDIR}/${SRCNAME}-${SRCVER}" | 27 | S = "${WORKDIR}/${SRCNAME}-${SRCVER}" |
29 | 28 | ||
29 | do_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 | |||
34 | PACKAGES += "python-ecore python-eldbus python-edje python-elementary python-emotion python-evas ${PN}-examples" | ||
35 | |||
36 | FILES_${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 | " | ||
30 | FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/*.egg/*/*/.debug" | 42 | FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/*.egg/*/*/.debug" |
43 | FILES_${PN}-dev += "${libdir}/${PYTHON_DIR}/site-packages/*/*.la" | ||
31 | 44 | ||
32 | PACKAGES += "${PN}-examples" | ||
33 | FILES_${PN}-examples = "${datadir}/${PN}/examples" | 45 | FILES_${PN}-examples = "${datadir}/${PN}/examples" |
46 | |||
47 | FILES_python-ecore = " \ | ||
48 | ${libdir}/${PYTHON_DIR}/site-packages/ecore/ \ | ||
49 | ${libdir}/${PYTHON_DIR}/site-packages/efl/ecore.so \ | ||
50 | " | ||
51 | FILES_python-eldbus = " \ | ||
52 | ${libdir}/${PYTHON_DIR}/site-packages/e_dbus/ \ | ||
53 | ${libdir}/${PYTHON_DIR}/site-packages/efl/dbus_mainloop.so \ | ||
54 | " | ||
55 | FILES_python-edje = " \ | ||
56 | ${libdir}/${PYTHON_DIR}/site-packages/edje/ \ | ||
57 | ${libdir}/${PYTHON_DIR}/site-packages/efl/edje*so \ | ||
58 | " | ||
59 | FILES_python-elementary = " \ | ||
60 | ${libdir}/${PYTHON_DIR}/site-packages/elementary/ \ | ||
61 | ${libdir}/${PYTHON_DIR}/site-packages/efl/elementary/ \ | ||
62 | " | ||
63 | FILES_python-emotion = " \ | ||
64 | ${libdir}/${PYTHON_DIR}/site-packages/emotion/ \ | ||
65 | ${libdir}/${PYTHON_DIR}/site-packages/efl/emotion.so \ | ||
66 | " | ||
67 | FILES_python-evas = " \ | ||
68 | ${libdir}/${PYTHON_DIR}/site-packages/evas/ \ | ||
69 | ${libdir}/${PYTHON_DIR}/site-packages/efl/evas.so \ | ||
70 | " | ||