python3-qt5 rebuild

This commit is contained in:
Rmys
2022-12-22 12:09:01 +03:00
committed by GitHub
parent b00af2bf58
commit 7804f01891
@@ -12,24 +12,24 @@ from pisi.actionsapi import get
#WorkDir="PyQt5_gpl-%s" % get.srcVERSION() #WorkDir="PyQt5_gpl-%s" % get.srcVERSION()
def setup(): def setup():
pythonmodules.run("configure.py --confirm-license \ shelltools.system("sip-build \
--qsci-api \ --confirm-license \
--sip /usr/bin/sip \ --no-make \
--qmake='/usr/bin/qmake' \ --qt-shared \
--destdir='/usr/lib/python3.9/site-packages' \ --qmake=/usr/bin/qmake \
--sip-incdir='/usr/include/python3.9' \ --api-dir /usr/share/qt5/qsci/api/python3.9 \
CFLAGS='%s' CXXFLAGS='%s'" % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3") --pep484-pyi")
shelltools.system("find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'") shelltools.system("find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'")
def build(): def build():
autotools.make() autotools.make("-C build")
def install(): def install():
#shelltools.cd("%s/PyQt5_gpl-%s" % (get.workDIR(),get.srcVERSION())) #shelltools.cd("%s/PyQt5_gpl-%s" % (get.workDIR(),get.srcVERSION()))
autotools.rawInstall("-C pyrcc DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) autotools.rawInstall("-C build 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("-C build pylupdate DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()})
autotools.rawInstall("DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) autotools.rawInstall("-C build DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()})
#pisitools.dohtml("doc/html/*") #pisitools.dohtml("doc/html/*")