python-qt5:version bump to 5.6
This commit is contained in:
@@ -10,10 +10,10 @@ from pisi.actionsapi import autotools
|
|||||||
from pisi.actionsapi import pisitools
|
from pisi.actionsapi import pisitools
|
||||||
from pisi.actionsapi import get
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
WorkDir="PyQt-gpl-%s" % get.srcVERSION()
|
WorkDir="PyQt5_gpl-%s" % get.srcVERSION()
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
shelltools.copytree("%s/PyQt-gpl-5.5.1" % get.workDIR(), "%s/Py2Qt-gpl-5.5.1" % get.workDIR())
|
shelltools.copytree("%s/PyQt5_gpl-%s" % (get.workDIR(),get.srcVERSION()), "%s/Py2Qt5_gpl-%s" % (get.workDIR(),get.srcVERSION()))
|
||||||
pythonmodules.run("configure.py --confirm-license \
|
pythonmodules.run("configure.py --confirm-license \
|
||||||
--qsci-api \
|
--qsci-api \
|
||||||
--sip /usr/bin/sip \
|
--sip /usr/bin/sip \
|
||||||
@@ -23,7 +23,7 @@ def setup():
|
|||||||
CFLAGS='%s' CXXFLAGS='%s'" % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3")
|
CFLAGS='%s' CXXFLAGS='%s'" % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3")
|
||||||
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'")
|
||||||
|
|
||||||
shelltools.cd("%s/Py2Qt-gpl-5.5.1" % get.workDIR())
|
shelltools.cd("%s/Py2Qt5_gpl-%s" % (get.workDIR(),get.srcVERSION()))
|
||||||
pythonmodules.run("configure.py --confirm-license \
|
pythonmodules.run("configure.py --confirm-license \
|
||||||
--qsci-api \
|
--qsci-api \
|
||||||
--destdir='/usr/lib/python2.7/site-packages' \
|
--destdir='/usr/lib/python2.7/site-packages' \
|
||||||
@@ -34,11 +34,11 @@ def setup():
|
|||||||
|
|
||||||
def build():
|
def build():
|
||||||
autotools.make()
|
autotools.make()
|
||||||
shelltools.cd("%s/Py2Qt-gpl-5.5.1" % get.workDIR())
|
shelltools.cd("%s/Py2Qt5_gpl-%s" % (get.workDIR(),get.srcVERSION()))
|
||||||
autotools.make()
|
autotools.make()
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
shelltools.cd("%s/Py2Qt-gpl-5.5.1" % get.workDIR())
|
shelltools.cd("%s/Py2Qt5_gpl-%s" % (get.workDIR(),get.srcVERSION()))
|
||||||
autotools.rawInstall("-C pyrcc DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()})
|
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("-C 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("DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()})
|
||||||
@@ -51,13 +51,10 @@ def install():
|
|||||||
pisitools.domove("/usr/share/sip/PyQt5/*", "/usr/share/sip/Py2Qt5")
|
pisitools.domove("/usr/share/sip/PyQt5/*", "/usr/share/sip/Py2Qt5")
|
||||||
pisitools.removeDir("/usr/share/sip/PyQt5")
|
pisitools.removeDir("/usr/share/sip/PyQt5")
|
||||||
|
|
||||||
shelltools.cd("%s/PyQt-gpl-5.5.1" % get.workDIR())
|
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 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 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("DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()})
|
||||||
#pisitools.insinto("/usr/share/sip/PyQt5", "./sip/*")
|
|
||||||
# Fix conflicts with python-pyqt5
|
|
||||||
#pisitools.rename("/usr/bin/pyuic5", "python3-pyuic5")
|
|
||||||
|
|
||||||
|
|
||||||
pisitools.dohtml("doc/html/*")
|
pisitools.dohtml("doc/html/*")
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
diff -up PyQt5_gpl-5.6/configure.py.dbus PyQt5_gpl-5.6/configure.py
|
||||||
|
--- PyQt5_gpl-5.6/configure.py.dbus 2016-04-24 22:16:43.120281591 -0500
|
||||||
|
+++ PyQt5_gpl-5.6/configure.py 2016-04-25 10:16:52.465218805 -0500
|
||||||
|
@@ -2141,7 +2141,7 @@ def check_dbus(target_config, verbose):
|
||||||
|
else:
|
||||||
|
dlist = target_config.dbus_inc_dirs
|
||||||
|
|
||||||
|
- target_config.dbus_inc_dirs = []
|
||||||
|
+ #target_config.dbus_inc_dirs = []
|
||||||
|
|
||||||
|
for d in dlist:
|
||||||
|
if os.access(os.path.join(d, 'dbus', 'dbus-python.h'), os.F_OK):
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Summary>A set of Python bindings for the Qt 5.x Toolkit</Summary>
|
<Summary>A set of Python bindings for the Qt 5.x Toolkit</Summary>
|
||||||
<Description>Qt is a set of C++ libraries and development tools that includes platform independent abstractions for graphical user interfaces, networking, threads, Unicode, regular expressions, SQL databases, SVG, OpenGL, XML, and user and application settings. PyQt implements 440 of these classes as a set of Python modules.</Description>
|
<Description>Qt is a set of C++ libraries and development tools that includes platform independent abstractions for graphical user interfaces, networking, threads, Unicode, regular expressions, SQL databases, SVG, OpenGL, XML, and user and application settings. PyQt implements 440 of these classes as a set of Python modules.</Description>
|
||||||
<Archive sha1sum="d54cd7cf26b10f0b59fddce4a6a742f9697a94ff" type="targz">https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.5.1/PyQt-gpl-5.5.1.tar.gz</Archive>
|
<Archive sha1sum="8920e4094470ff93f79e257c37c46f5cd0bff7ab" type="targz">mirrors://sourceforge/pyqt/PyQt5/PyQt-5.6/PyQt5_gpl-5.6.tar.gz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>dbus-devel</Dependency>
|
<Dependency>dbus-devel</Dependency>
|
||||||
<Dependency>dbus-python3</Dependency>
|
<Dependency>dbus-python3</Dependency>
|
||||||
@@ -37,6 +37,9 @@
|
|||||||
<Dependency versionFrom="5.6.0">qt5-x11extras-devel</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-x11extras-devel</Dependency>
|
||||||
<Dependency versionFrom="5.6.0">qt5-xmlpatterns-devel</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-xmlpatterns-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<Patch>PyQt5_gpl-5.6-dbus_ftbfs.patch</Patch>
|
||||||
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
@@ -47,19 +50,19 @@
|
|||||||
<Dependency>dbus</Dependency>
|
<Dependency>dbus</Dependency>
|
||||||
<Dependency>python</Dependency>
|
<Dependency>python</Dependency>
|
||||||
<Dependency versionFrom="5.6.0">qt5-base</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-base</Dependency>
|
||||||
<Dependency>qt5-sensors</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-sensors</Dependency>
|
||||||
<Dependency>qt5-location</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-location</Dependency>
|
||||||
<Dependency>qt5-webkit</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-webkit</Dependency>
|
||||||
<Dependency>qt5-enginio</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-enginio</Dependency>
|
||||||
<Dependency>qt5-x11extras</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-x11extras</Dependency>
|
||||||
<Dependency>qt5-svg</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-svg</Dependency>
|
||||||
<Dependency>qt5-multimedia</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-multimedia</Dependency>
|
||||||
<Dependency>qt5-serialport</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-serialport</Dependency>
|
||||||
<Dependency>qt5-webchannel</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-webchannel</Dependency>
|
||||||
<Dependency>qt5-websockets</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-websockets</Dependency>
|
||||||
<Dependency>qt5-declarative</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-declarative</Dependency>
|
||||||
<Dependency>qt5-xmlpatterns</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-xmlpatterns</Dependency>
|
||||||
<Dependency>qt5-connectivity</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-connectivity</Dependency>
|
||||||
<Dependency>python-sip</Dependency>
|
<Dependency>python-sip</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
@@ -93,19 +96,19 @@
|
|||||||
<Dependency>dbus</Dependency>
|
<Dependency>dbus</Dependency>
|
||||||
<Dependency>python3</Dependency>
|
<Dependency>python3</Dependency>
|
||||||
<Dependency versionFrom="5.6.0">qt5-base</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-base</Dependency>
|
||||||
<Dependency>qt5-sensors</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-sensors</Dependency>
|
||||||
<Dependency>qt5-location</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-location</Dependency>
|
||||||
<Dependency>qt5-webkit</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-webkit</Dependency>
|
||||||
<Dependency>qt5-enginio</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-enginio</Dependency>
|
||||||
<Dependency>qt5-x11extras</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-x11extras</Dependency>
|
||||||
<Dependency>qt5-svg</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-svg</Dependency>
|
||||||
<Dependency>qt5-multimedia</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-multimedia</Dependency>
|
||||||
<Dependency>qt5-serialport</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-serialport</Dependency>
|
||||||
<Dependency>qt5-webchannel</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-webchannel</Dependency>
|
||||||
<Dependency>qt5-websockets</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-websockets</Dependency>
|
||||||
<Dependency>qt5-declarative</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-declarative</Dependency>
|
||||||
<Dependency>qt5-xmlpatterns</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-xmlpatterns</Dependency>
|
||||||
<Dependency>qt5-connectivity</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-connectivity</Dependency>
|
||||||
<Dependency>python3-sip</Dependency>
|
<Dependency>python3-sip</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
@@ -136,8 +139,8 @@
|
|||||||
<History>
|
<History>
|
||||||
<Update release="2">
|
<Update release="2">
|
||||||
<Date>2016-05-25</Date>
|
<Date>2016-05-25</Date>
|
||||||
<Version>5.5.1</Version>
|
<Version>5.6</Version>
|
||||||
<Comment>Rebuild.</Comment>
|
<Comment>version bump</Comment>
|
||||||
<Name>Ayhan Yalçınsoy</Name>
|
<Name>Ayhan Yalçınsoy</Name>
|
||||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||||
</Update>
|
</Update>
|
||||||
|
|||||||
Reference in New Issue
Block a user