diff options
Diffstat (limited to 'meta-efl/recipes-devtools/python')
19 files changed, 131 insertions, 55 deletions
diff --git a/meta-efl/recipes-devtools/python/python-ecore.inc b/meta-efl/recipes-devtools/python/python-ecore.inc new file mode 100644 index 0000000000..79aaeeccd1 --- /dev/null +++ b/meta-efl/recipes-devtools/python/python-ecore.inc | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | require python-efl.inc | ||
| 2 | LICENSE = "LGPLv2.1" | ||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | ||
| 4 | DEPENDS += "python-evas ecore" | ||
| 5 | RDEPENDS_${PN} += "python-evas" | ||
diff --git a/meta-efl/recipes-devtools/python/python-ecore_1.6.99-beta.bb b/meta-efl/recipes-devtools/python/python-ecore_1.6.99-beta.bb new file mode 100644 index 0000000000..f2c775011f --- /dev/null +++ b/meta-efl/recipes-devtools/python/python-ecore_1.6.99-beta.bb | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | require ${BPN}.inc | ||
| 2 | PR = "${INC_PR}.0" | ||
| 3 | SRCVER = "1.7.0-beta" | ||
| 4 | |||
| 5 | SRC_URI[md5sum] = "7cd483e817e41017adcd23cea4ce462d" | ||
| 6 | SRC_URI[sha256sum] = "09a99f728b946c44955ad91e3ac072643e533ded74110f481e27b8f035877a95" | ||
diff --git a/meta-efl/recipes-devtools/python/python-ecore_svn.bb b/meta-efl/recipes-devtools/python/python-ecore_svn.bb index 2edf864717..a0298e8596 100644 --- a/meta-efl/recipes-devtools/python/python-ecore_svn.bb +++ b/meta-efl/recipes-devtools/python/python-ecore_svn.bb | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | require python-efl.inc | 1 | require ${BPN}.inc |
| 2 | LICENSE = "LGPLv2.1" | 2 | PR = "${INC_PR}.0" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | ||
| 4 | PR = "${INC_PR}.2" | ||
| 5 | SRCREV = "${EFL_SRCREV}" | 3 | SRCREV = "${EFL_SRCREV}" |
| 6 | DEPENDS += "python-evas ecore" | 4 | PV = "1.6.99+svnr${SRCPV}" |
| 7 | RDEPENDS_${PN} += "python-evas" | 5 | DEFAULT_PREFERENCE = "-1" |
| 6 | |||
| 7 | SRC_URI = "${E_SVN}/trunk/BINDINGS/python;module=${SRCNAME};protocol=http" | ||
| 8 | S = "${WORKDIR}/${SRCNAME}" | ||
diff --git a/meta-efl/recipes-devtools/python/python-edbus.inc b/meta-efl/recipes-devtools/python/python-edbus.inc new file mode 100644 index 0000000000..86ae773436 --- /dev/null +++ b/meta-efl/recipes-devtools/python/python-edbus.inc | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | require python-efl.inc | ||
| 2 | LICENSE = "LGPLv2.1" | ||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | ||
| 4 | DEPENDS += "edbus python-dbus" | ||
| 5 | RDEPENDS_${PN} += "python-dbus" | ||
| 6 | SRCNAME = "python-e_dbus" | ||
diff --git a/meta-efl/recipes-devtools/python/python-edbus_1.6.99-beta.bb b/meta-efl/recipes-devtools/python/python-edbus_1.6.99-beta.bb new file mode 100644 index 0000000000..b3d0e2ef6a --- /dev/null +++ b/meta-efl/recipes-devtools/python/python-edbus_1.6.99-beta.bb | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | require ${BPN}.inc | ||
| 2 | PR = "${INC_PR}.0" | ||
| 3 | SRCVER = "1.7.0-beta" | ||
| 4 | |||
| 5 | SRC_URI[md5sum] = "d6140208bb2608bd320a70298c0c4234" | ||
| 6 | SRC_URI[sha256sum] = "468bc77dc1b64d04c688b2f07ddcbeac406d984121b90e78ba802c92e58e4daf" | ||
diff --git a/meta-efl/recipes-devtools/python/python-edbus_svn.bb b/meta-efl/recipes-devtools/python/python-edbus_svn.bb index 256a52aaf7..a0298e8596 100644 --- a/meta-efl/recipes-devtools/python/python-edbus_svn.bb +++ b/meta-efl/recipes-devtools/python/python-edbus_svn.bb | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | require python-efl.inc | 1 | require ${BPN}.inc |
| 2 | LICENSE = "LGPLv2.1" | 2 | PR = "${INC_PR}.0" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | ||
| 4 | PR = "${INC_PR}.1" | ||
| 5 | SRCREV = "${EFL_SRCREV}" | 3 | SRCREV = "${EFL_SRCREV}" |
| 6 | DEPENDS += "edbus python-dbus" | 4 | PV = "1.6.99+svnr${SRCPV}" |
| 7 | RDEPENDS_${PN} += "python-dbus" | 5 | DEFAULT_PREFERENCE = "-1" |
| 8 | SRCNAME = "python-e_dbus" | 6 | |
| 7 | SRC_URI = "${E_SVN}/trunk/BINDINGS/python;module=${SRCNAME};protocol=http" | ||
| 8 | S = "${WORKDIR}/${SRCNAME}" | ||
diff --git a/meta-efl/recipes-devtools/python/python-edje.inc b/meta-efl/recipes-devtools/python/python-edje.inc new file mode 100644 index 0000000000..473b92e873 --- /dev/null +++ b/meta-efl/recipes-devtools/python/python-edje.inc | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | require python-efl.inc | ||
| 2 | LICENSE = "LGPLv2.1" | ||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | ||
| 4 | DEPENDS += "edje python-evas evas" | ||
| 5 | RDEPENDS_${PN} += "python-evas" | ||
diff --git a/meta-efl/recipes-devtools/python/python-edje_1.6.99-beta.bb b/meta-efl/recipes-devtools/python/python-edje_1.6.99-beta.bb new file mode 100644 index 0000000000..3d8842594c --- /dev/null +++ b/meta-efl/recipes-devtools/python/python-edje_1.6.99-beta.bb | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | require ${BPN}.inc | ||
| 2 | PR = "${INC_PR}.0" | ||
| 3 | SRCVER = "1.7.0-beta" | ||
| 4 | SRC_URI += "file://0001-fix-unicode-conversion.patch" | ||
| 5 | |||
| 6 | SRC_URI[md5sum] = "eac613c2f3d88d30ba1adf4acd5090bf" | ||
| 7 | SRC_URI[sha256sum] = "6ce7b57a4afaddf8dbf423543380cdc798c954b31ffd9d47e6af9536786abc05" | ||
diff --git a/meta-efl/recipes-devtools/python/python-edje_svn.bb b/meta-efl/recipes-devtools/python/python-edje_svn.bb index 1607d8700e..3d392d0ff8 100644 --- a/meta-efl/recipes-devtools/python/python-edje_svn.bb +++ b/meta-efl/recipes-devtools/python/python-edje_svn.bb | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | require python-efl.inc | 1 | require ${BPN}.inc |
| 2 | LICENSE = "LGPLv2.1" | 2 | PR = "${INC_PR}.0" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | ||
| 4 | PR = "${INC_PR}.2" | ||
| 5 | SRCREV = "${EFL_SRCREV}" | 3 | SRCREV = "${EFL_SRCREV}" |
| 6 | DEPENDS += "edje python-evas" | 4 | PV = "1.6.99+svnr${SRCPV}" |
| 7 | RDEPENDS_${PN} += "python-evas" | 5 | DEFAULT_PREFERENCE = "-1" |
| 6 | |||
| 7 | SRC_URI = "${E_SVN}/trunk/BINDINGS/python;module=${SRCNAME};protocol=http" | ||
| 8 | S = "${WORKDIR}/${SRCNAME}" | ||
| 8 | 9 | ||
| 9 | SRC_URI += "file://0001-fix-unicode-conversion.patch" | 10 | SRC_URI += "file://0001-fix-unicode-conversion.patch" |
diff --git a/meta-efl/recipes-devtools/python/python-efl.inc b/meta-efl/recipes-devtools/python/python-efl.inc index 6ca5e3f7f4..77d4114ca7 100644 --- a/meta-efl/recipes-devtools/python/python-efl.inc +++ b/meta-efl/recipes-devtools/python/python-efl.inc | |||
| @@ -6,8 +6,7 @@ AUTHOR = "Gustavo Sverzut Barbieri <barbieri@gmail.com>" | |||
| 6 | # the extension modules. | 6 | # the extension modules. |
| 7 | DEPENDS = "python-cython-native python-pyrex-native python-numeric eina" | 7 | DEPENDS = "python-cython-native python-pyrex-native python-numeric eina" |
| 8 | RDEPENDS_${PN} += "python-lang" | 8 | RDEPENDS_${PN} += "python-lang" |
| 9 | PV = "0.7.3+svnr${SRCPV}" | 9 | INC_PR = "r0" |
| 10 | INC_PR = "r2" | ||
| 11 | 10 | ||
| 12 | # necessary to let the call for python-config succeed | 11 | # necessary to let the call for python-config succeed |
| 13 | export BUILD_SYS | 12 | export BUILD_SYS |
| @@ -15,29 +14,33 @@ export HOST_SYS | |||
| 15 | 14 | ||
| 16 | inherit e-base autotools pkgconfig distutils-base | 15 | inherit e-base autotools pkgconfig distutils-base |
| 17 | 16 | ||
| 18 | SRC_URI = "${E_SVN}/trunk/BINDINGS/python;module=${SRCNAME};protocol=http" | 17 | SRCVER = "${PV}" |
| 19 | S = "${WORKDIR}/${SRCNAME}" | 18 | |
| 19 | SRC_URI = "\ | ||
| 20 | ${E_MIRROR}/BINDINGS/python/${SRCNAME}-${SRCVER}.tar.bz2 \ | ||
| 21 | " | ||
| 22 | S = "${WORKDIR}/${SRCNAME}-${SRCVER}" | ||
| 20 | 23 | ||
| 21 | 24 | ||
| 22 | do_configure_prepend() { | 25 | do_configure_prepend() { |
| 23 | # prefix CYTHON_.*_INCLUDEDIR with path to STAGING_DIR_HOST also use $PKG_CONFIG instead of pkg-config directly | 26 | # prefix CYTHON_.*_INCLUDEDIR with path to STAGING_DIR_HOST also use $PKG_CONFIG instead of pkg-config directly |
| 24 | sed -i "s#\`\$PKG_CONFIG --variable=includedir \"python-evas#${STAGING_DIR_HOST}\`\$PKG_CONFIG --variable=includedir \"python-evas#g" ${S}/configure.ac | 27 | sed -i "s#\`\$PKG_CONFIG --variable=includedir \"python-evas#${STAGING_DIR_HOST}\`\$PKG_CONFIG --variable=includedir \"python-evas#g" ${S}/configure.ac |
| 25 | } | 28 | } |
| 26 | 29 | ||
| 27 | do_install_append() { | 30 | do_install_append() { |
| 28 | if [ -e examples ]; then | 31 | if [ -e examples ]; then |
| 29 | for i in `find examples -name "*.edc"`; do | 32 | for i in `find examples -name "*.edc"`; do |
| 30 | cd ${S}/`dirname $i` | 33 | cd ${S}/`dirname $i` |
| 31 | echo "Generating .edj file for $i..." | 34 | echo "Generating .edj file for $i..." |
| 32 | edje_cc `basename $i` | 35 | edje_cc `basename $i` |
| 33 | echo "Removing sources in this directory..." | 36 | echo "Removing sources in this directory..." |
| 34 | rm -f *.edc *.png *.ttf *.jpeg | 37 | rm -f *.edc *.png *.ttf *.jpeg |
| 35 | done | 38 | done |
| 36 | cd ${S} | 39 | cd ${S} |
| 37 | install -d ${D}${datadir}/${PN}/ | 40 | install -d ${D}${datadir}/${PN}/ |
| 38 | cp -a examples ${D}${datadir}/${PN}/ | 41 | cp -a examples ${D}${datadir}/${PN}/ |
| 39 | find ${D}${datadir}/${PN}/examples -name ".svn" | xargs rm -rf | 42 | find ${D}${datadir}/${PN}/examples -name ".svn" | xargs rm -rf |
| 40 | fi | 43 | fi |
| 41 | } | 44 | } |
| 42 | 45 | ||
| 43 | FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/*.egg/*/*/.debug" | 46 | FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/*.egg/*/*/.debug" |
diff --git a/meta-efl/recipes-devtools/python/python-elementary.inc b/meta-efl/recipes-devtools/python/python-elementary.inc new file mode 100644 index 0000000000..3f1d123c3a --- /dev/null +++ b/meta-efl/recipes-devtools/python/python-elementary.inc | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | require python-efl.inc | ||
| 2 | LICENSE = "LGPLv3" | ||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6" | ||
| 4 | DEPENDS += "elementary python-evas" | ||
| 5 | RDEPENDS_${PN} += "python-evas python-ecore python-edje" | ||
diff --git a/meta-efl/recipes-devtools/python/python-elementary_1.6.99-beta.bb b/meta-efl/recipes-devtools/python/python-elementary_1.6.99-beta.bb new file mode 100644 index 0000000000..be63412acd --- /dev/null +++ b/meta-efl/recipes-devtools/python/python-elementary_1.6.99-beta.bb | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | require ${BPN}.inc | ||
| 2 | PR = "${INC_PR}.0" | ||
| 3 | SRCVER = "1.7.0-beta" | ||
| 4 | |||
| 5 | SRC_URI[md5sum] = "f2b801aa8fe53914abbcfdf14aa1d325" | ||
| 6 | SRC_URI[sha256sum] = "1255bab89b824754c1a0909f2646ff63fd0e12478e0bfbfbdc3cfd48ea9bfa25" | ||
diff --git a/meta-efl/recipes-devtools/python/python-elementary_svn.bb b/meta-efl/recipes-devtools/python/python-elementary_svn.bb index 911ed6f088..a0298e8596 100644 --- a/meta-efl/recipes-devtools/python/python-elementary_svn.bb +++ b/meta-efl/recipes-devtools/python/python-elementary_svn.bb | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | require python-efl.inc | 1 | require ${BPN}.inc |
| 2 | LICENSE = "LGPLv3" | 2 | PR = "${INC_PR}.0" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6" | ||
| 4 | PR = "${INC_PR}.6" | ||
| 5 | SRCREV = "${EFL_SRCREV}" | 3 | SRCREV = "${EFL_SRCREV}" |
| 6 | DEPENDS += "elementary python-evas" | 4 | PV = "1.6.99+svnr${SRCPV}" |
| 7 | RDEPENDS_${PN} += "python-evas python-ecore python-edje" | 5 | DEFAULT_PREFERENCE = "-1" |
| 6 | |||
| 7 | SRC_URI = "${E_SVN}/trunk/BINDINGS/python;module=${SRCNAME};protocol=http" | ||
| 8 | S = "${WORKDIR}/${SRCNAME}" | ||
diff --git a/meta-efl/recipes-devtools/python/python-emotion.inc b/meta-efl/recipes-devtools/python/python-emotion.inc new file mode 100644 index 0000000000..ac64676f08 --- /dev/null +++ b/meta-efl/recipes-devtools/python/python-emotion.inc | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | require python-efl.inc | ||
| 2 | LICENSE = "LGPLv2.1" | ||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | ||
| 4 | DEPENDS += "emotion python-evas" | ||
| 5 | RDEPENDS_${PN} += "python-ecore" | ||
diff --git a/meta-efl/recipes-devtools/python/python-emotion_1.6.99-beta.bb b/meta-efl/recipes-devtools/python/python-emotion_1.6.99-beta.bb new file mode 100644 index 0000000000..976cf5693f --- /dev/null +++ b/meta-efl/recipes-devtools/python/python-emotion_1.6.99-beta.bb | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | require ${BPN}.inc | ||
| 2 | PR = "${INC_PR}.0" | ||
| 3 | SRCVER = "1.7.0-beta" | ||
| 4 | |||
| 5 | SRC_URI[md5sum] = "3cfd52e8415f48d77fdb1fe73244c2b2" | ||
| 6 | SRC_URI[sha256sum] = "76d673b99e5e894b469bb04f67a14492a6021edc95762ba71da7b24c36fa660a" | ||
diff --git a/meta-efl/recipes-devtools/python/python-emotion_svn.bb b/meta-efl/recipes-devtools/python/python-emotion_svn.bb index a39c0c8817..a0298e8596 100644 --- a/meta-efl/recipes-devtools/python/python-emotion_svn.bb +++ b/meta-efl/recipes-devtools/python/python-emotion_svn.bb | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | require python-efl.inc | 1 | require ${BPN}.inc |
| 2 | LICENSE = "LGPLv2.1" | 2 | PR = "${INC_PR}.0" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | ||
| 4 | PR = "${INC_PR}.1" | ||
| 5 | SRCREV = "${EFL_SRCREV}" | 3 | SRCREV = "${EFL_SRCREV}" |
| 6 | DEPENDS += "emotion python-evas" | 4 | PV = "1.6.99+svnr${SRCPV}" |
| 7 | RDEPENDS_${PN} += "python-ecore" | 5 | DEFAULT_PREFERENCE = "-1" |
| 6 | |||
| 7 | SRC_URI = "${E_SVN}/trunk/BINDINGS/python;module=${SRCNAME};protocol=http" | ||
| 8 | S = "${WORKDIR}/${SRCNAME}" | ||
diff --git a/meta-efl/recipes-devtools/python/python-evas.inc b/meta-efl/recipes-devtools/python/python-evas.inc new file mode 100644 index 0000000000..3211b14418 --- /dev/null +++ b/meta-efl/recipes-devtools/python/python-evas.inc | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | require python-efl.inc | ||
| 2 | LICENSE = "LGPLv2.1" | ||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | ||
| 4 | DEPENDS += "evas" | ||
diff --git a/meta-efl/recipes-devtools/python/python-evas_1.6.99-beta.bb b/meta-efl/recipes-devtools/python/python-evas_1.6.99-beta.bb new file mode 100644 index 0000000000..cabc9c8899 --- /dev/null +++ b/meta-efl/recipes-devtools/python/python-evas_1.6.99-beta.bb | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | require ${BPN}.inc | ||
| 2 | PR = "${INC_PR}.0" | ||
| 3 | SRCVER = "1.7.0-beta" | ||
| 4 | |||
| 5 | SRC_URI[md5sum] = "19262c0baac27f35f136e4aaa3ca0171" | ||
| 6 | SRC_URI[sha256sum] = "6784109dc637bd8a50f31eb3a9ff31e0eece0fba04c8a2a527d6bd83c1b02cf8" | ||
diff --git a/meta-efl/recipes-devtools/python/python-evas_svn.bb b/meta-efl/recipes-devtools/python/python-evas_svn.bb index 8d719ce852..a0298e8596 100644 --- a/meta-efl/recipes-devtools/python/python-evas_svn.bb +++ b/meta-efl/recipes-devtools/python/python-evas_svn.bb | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | require python-efl.inc | 1 | require ${BPN}.inc |
| 2 | LICENSE = "LGPLv2.1" | 2 | PR = "${INC_PR}.0" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | ||
| 4 | PR = "${INC_PR}.2" | ||
| 5 | SRCREV = "${EFL_SRCREV}" | 3 | SRCREV = "${EFL_SRCREV}" |
| 6 | DEPENDS += "evas" | 4 | PV = "1.6.99+svnr${SRCPV}" |
| 5 | DEFAULT_PREFERENCE = "-1" | ||
| 6 | |||
| 7 | SRC_URI = "${E_SVN}/trunk/BINDINGS/python;module=${SRCNAME};protocol=http" | ||
| 8 | S = "${WORKDIR}/${SRCNAME}" | ||
