python-efl.inc: New version doesn't work with our build server, switch back to older
authorMichael Mrozek <EvilDragon@openpandora.org>
Sat, 14 Dec 2013 13:39:45 +0000 (14:39 +0100)
committerMichael Mrozek <EvilDragon@openpandora.org>
Sat, 14 Dec 2013 13:39:45 +0000 (14:39 +0100)
recipes/python/python-efl.inc

index f816305..9ed7a4c 100644 (file)
@@ -1,28 +1,19 @@
 DESCRIPTION = "${PN} bindings"
 LICENSE = "BSD"
 AUTHOR = "Gustavo Sverzut Barbieri <barbieri@gmail.com>"
+HOMEPAGE = "http://www.enlightenment.org"
 # NOTE: Due to a bug in distutils, even if we don't use pyrex but cython,
 # we need to build pyrex otherwise cython doesn't get called to build
 # the extension modules.
 DEPENDS = "python-cython-native python-pyrex-native python-numeric eina"
-RDEPENDS_${PN} += "python-lang"
-PV = "0.7.3+svnr${SRCPV}"
-PR = "ml1"
+RDEPENDS += "python-lang"
+PV = "0.3.1+svnr${SRCPV}"
+PR = "ml0"
 
-# necessary to let the call for python-config succeed
-export BUILD_SYS
-export HOST_SYS
+inherit setuptools
 
-inherit e-base autotools pkgconfig distutils-base
-
-SRC_URI = "${E_SVN}/trunk/BINDINGS/python;module=${SRCNAME};proto=http"
-S = "${WORKDIR}/${SRCNAME}"
-
-
-do_configure_prepend() {
-       # prefix CYTHON_.*_INCLUDEDIR with path to STAGING_DIR_HOST also use $PKG_CONFIG instead of pkg-config directly
-        sed -i "s#\`\$PKG_CONFIG --variable=includedir \"python-evas#${STAGING_DIR_HOST}\`\$PKG_CONFIG --variable=includedir \"python-evas#g" ${S}/configure.ac
-}
+SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/BINDINGS/python;module=${PN};proto=http"
+S = "${WORKDIR}/${PN}"
 
 do_install_append() {
        if [ -e examples ]; then
@@ -36,7 +27,8 @@ do_install_append() {
                cd ${S}
                install -d ${D}${datadir}/${PN}/
                cp -a examples ${D}${datadir}/${PN}/
-               find ${D}${datadir}/${PN}/examples -name ".svn" | xargs rm -rf
+               find ${D}${datadir}/${PN}/examples -name "CVS" | xargs rm -rf
+               find ${D}${datadir}/${PN}/examples -name ".cvsignore" | xargs rm -f
        fi
 }