diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2014-01-20 11:33:38 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-02-23 23:21:14 +0100 |
commit | 5870add0ca8328217626209de7fc146a7a3164d8 (patch) | |
tree | fa1bd0fb4f5213a5752e7ca504c3ee12941aa52f | |
parent | 9234bcb0d30e66db7b8fcfd867086185649ecbae (diff) | |
download | meta-openembedded-5870add0ca8328217626209de7fc146a7a3164d8.tar.gz |
python-efl: update packaging to match old packages
* like in efl recipe create packages matching with old separate recipes
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-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 | " | ||