From 8fc70457b68aad1cfcdccb712fedca82d6e47c06 Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Sun, 6 Sep 2015 22:09:49 +0300 Subject: [PATCH] python-qt5:fixed actions.py --- .../language/python/python-qt5/actions.py | 23 +------------------ 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/programming/language/python/python-qt5/actions.py b/programming/language/python/python-qt5/actions.py index 978ac51baf..8593bea852 100644 --- a/programming/language/python/python-qt5/actions.py +++ b/programming/language/python/python-qt5/actions.py @@ -13,8 +13,6 @@ from pisi.actionsapi import get WorkDir="PyQt-gpl-%s" % get.srcVERSION() def setup(): - - shelltools.copytree("%s/PyQt-gpl-5.4.2" % get.workDIR(), "%s/Py2Qt-gpl-5.4.2" % get.workDIR()) pythonmodules.run("configure.py --confirm-license \ --assume-shared \ --no-timestamp \ @@ -24,35 +22,16 @@ def setup(): --destdir='/usr/lib/python3.4/site-packages/' \ --sip-incdir='/usr/include/python3.4' \ CFLAGS='%s' CXXFLAGS='%s'" % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3") - - #shelltools.cd("%s/Py2Qt-gpl-5.4.2" % get.workDIR()) - #shelltools.system("python configure.py --confirm-license \ - #--assume-shared \ - #--no-timestamp \ - #--qsci-api \ - #--destdir='/usr/lib/python2.7/site-packages/' \ - # --sip-incdir='/usr/include/python2.7' \ - #--sip /usr/bin/sip \ - # --qmake='/usr/lib/qt5/bin/qmake'") + shelltools.system("find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'") def build(): - autotools.make() - #shelltools.cd("%s/Py2Qt-gpl-5.4.2" % get.workDIR()) - # autotools.make() def install(): - autotools.rawInstall("-C pyrcc DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) autotools.rawInstall("-C pylupdate DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) autotools.rawInstall("DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) - pisitools.rename("/usr/bin/pyuic5", "py3uic5") - - #shelltools.cd("%s/Py2Qt-gpl-5.4.2" % get.workDIR()) - #autotools.rawInstall("DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) - #pisitools.rename("/usr/bin/pyuic5", "pyuic5") - pisitools.dohtml("doc/html/*") pisitools.dodoc("NEWS", "README","LICENSE*")