diff options
Diffstat (limited to 'meta-efl/recipes-devtools/python/python-efl.inc')
| -rw-r--r-- | meta-efl/recipes-devtools/python/python-efl.inc | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/meta-efl/recipes-devtools/python/python-efl.inc b/meta-efl/recipes-devtools/python/python-efl.inc deleted file mode 100644 index 6837dab9fe..0000000000 --- a/meta-efl/recipes-devtools/python/python-efl.inc +++ /dev/null | |||
| @@ -1,71 +0,0 @@ | |||
| 1 | DESCRIPTION = "${PN} bindings" | ||
| 2 | |||
| 3 | LICENSE = "LGPL-3.0" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02" | ||
| 5 | # there is also GPLv3.0 in COPYING;md5=d32239bcb673463ab874e80d47fae504 but no file seems to use that | ||
| 6 | |||
| 7 | AUTHOR = "Gustavo Sverzut Barbieri <barbieri@gmail.com>" | ||
| 8 | # NOTE: Due to a bug in distutils, even if we don't use pyrex but cython, | ||
| 9 | # we need to build pyrex otherwise cython doesn't get called to build | ||
| 10 | # the extension modules. | ||
| 11 | DEPENDS = "python-cython-native python-pyrex-native python-numeric python-dbus lua efl elementary" | ||
| 12 | RDEPENDS_${PN} += "python-lang" | ||
| 13 | |||
| 14 | PROVIDES = "python-ecore python-eldbus python-edje python-elementary python-emotion python-evas" | ||
| 15 | |||
| 16 | inherit e-base distutils pkgconfig | ||
| 17 | |||
| 18 | SRCVER = "${PV}" | ||
| 19 | |||
| 20 | SRC_URI = "\ | ||
| 21 | ${E_RELEASES}/bindings/python/${SRCNAME}-${SRCVER}.tar.gz \ | ||
| 22 | " | ||
| 23 | S = "${WORKDIR}/${SRCNAME}-${SRCVER}" | ||
| 24 | |||
| 25 | do_install_append() { | ||
| 26 | # drop all .pyo, pyc files | ||
| 27 | find ${D}${libdir}/${PYTHON_DIR}/site-packages -name \*.pyo -o -name \*.pyc | xargs rm -f | ||
| 28 | } | ||
| 29 | |||
| 30 | PACKAGES += "python-ecore python-eldbus python-edje python-elementary python-emotion python-evas python-ethumb ${PN}-examples" | ||
| 31 | |||
| 32 | FILES_${PN} = " \ | ||
| 33 | ${libdir}/${PYTHON_DIR}/site-packages/python_efl*egg-info \ | ||
| 34 | ${libdir}/${PYTHON_DIR}/site-packages/efl/eo.so \ | ||
| 35 | ${libdir}/${PYTHON_DIR}/site-packages/efl/utils \ | ||
| 36 | ${libdir}/${PYTHON_DIR}/site-packages/efl/__init__.py \ | ||
| 37 | " | ||
| 38 | FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/*.egg/*/*/.debug" | ||
| 39 | FILES_${PN}-dev += "${libdir}/${PYTHON_DIR}/site-packages/*/*.la" | ||
| 40 | |||
| 41 | FILES_${PN}-examples = "${datadir}/${PN}/examples" | ||
| 42 | |||
| 43 | FILES_python-ecore = " \ | ||
| 44 | ${libdir}/${PYTHON_DIR}/site-packages/ecore/ \ | ||
| 45 | ${libdir}/${PYTHON_DIR}/site-packages/efl/ecore*.so \ | ||
| 46 | ${libdir}/${PYTHON_DIR}/site-packages/efl/ecore \ | ||
| 47 | " | ||
| 48 | FILES_python-eldbus = " \ | ||
| 49 | ${libdir}/${PYTHON_DIR}/site-packages/e_dbus/ \ | ||
| 50 | ${libdir}/${PYTHON_DIR}/site-packages/efl/dbus_mainloop.so \ | ||
| 51 | " | ||
| 52 | FILES_python-edje = " \ | ||
| 53 | ${libdir}/${PYTHON_DIR}/site-packages/edje/ \ | ||
| 54 | ${libdir}/${PYTHON_DIR}/site-packages/efl/edje*.so \ | ||
| 55 | " | ||
| 56 | FILES_python-elementary = " \ | ||
| 57 | ${libdir}/${PYTHON_DIR}/site-packages/elementary/ \ | ||
| 58 | ${libdir}/${PYTHON_DIR}/site-packages/efl/elementary/ \ | ||
| 59 | " | ||
| 60 | FILES_python-emotion = " \ | ||
| 61 | ${libdir}/${PYTHON_DIR}/site-packages/emotion/ \ | ||
| 62 | ${libdir}/${PYTHON_DIR}/site-packages/efl/emotion.so \ | ||
| 63 | " | ||
| 64 | FILES_python-evas = " \ | ||
| 65 | ${libdir}/${PYTHON_DIR}/site-packages/evas/ \ | ||
| 66 | ${libdir}/${PYTHON_DIR}/site-packages/efl/evas.so \ | ||
| 67 | " | ||
| 68 | FILES_python-ethumb = " \ | ||
| 69 | ${libdir}/${PYTHON_DIR}/site-packages/ethumb/ \ | ||
| 70 | ${libdir}/${PYTHON_DIR}/site-packages/efl/ethumb*so \ | ||
| 71 | " | ||
