python-qt5-5.11.3:ver.bump

This commit is contained in:
Rmys
2018-10-19 15:37:05 +03:00
parent d8502b7f65
commit b65c181096
2 changed files with 73 additions and 5 deletions
@@ -0,0 +1,62 @@
diff -Nuar a/configure.py b/configure.py
--- a/configure.py 2018-10-01 16:38:10.000000000 +0300
+++ b/configure.py 2018-02-27 13:43:42.000000000 +0300
@@ -2440,7 +2364,7 @@
the target configuration.
"""
- sip_flags = ['-n', 'PyQt5.sip']
+ sip_flags = []
# If we don't check for signed interpreters, we exclude the 'VendorID'
# feature
@@ -2477,7 +2401,7 @@
sip_flags.append('-x')
sip_flags.append('Py_v3')
- return sip_flags
+ return ' '.join(sip_flags)
def mk_clean_dir(name):
@@ -2513,7 +2437,7 @@
the number of parts the generated code should be split into. tracing is
set if the generated code should include tracing calls. mname is the name
of the module to generate the code for. fatal_warnings is set if warnings
- are fatal. sip_flags is the list of flags to pass to sip. doc_support
+ are fatal. sip_flags is the string of flags to pass to sip. doc_support
is set if documentation support is to be generated for the module.
qpy_sources is the optional list of QPy support code source files.
qpy_headers is the optional list of QPy support code header files.
@@ -2524,9 +2448,7 @@
mk_clean_dir(mname)
# Build the SIP command line.
- argv = [target_config.sip, '-w']
-
- argv.extend(sip_flags)
+ argv = [quote(target_config.sip), '-w', sip_flags]
if fatal_warnings:
argv.append('-f')
@@ -2580,7 +2502,7 @@
# Add the name of the .sip file.
argv.append('%s/%s/%smod.sip' % (sip_dir, mname, mname))
- run_command(' '.join([quote(a) for a in argv]), verbose)
+ run_command(' '.join(argv), verbose)
# Check the result.
if mname == 'Qt':
@@ -2600,7 +2522,7 @@
os.path.join('QtCore', 'qpycore_post_init.cpp'))
for line in in_f:
- line = line.replace('@@PYQT_SIP_FLAGS@@', ' '.join(sip_flags))
+ line = line.replace('@@PYQT_SIP_FLAGS@@', sip_flags)
out_f.write(line)
in_f.close()
###############################################################################
@@ -13,12 +13,13 @@
<IsA>library</IsA>
<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>
<Archive sha1sum="638a80519f3250e813ebd5a669651f43f416f14b" type="targz">mirrors://sourceforge/pyqt/PyQt5/PyQt-5.10.1/PyQt5_gpl-5.10.1.tar.gz</Archive>
<Archive sha1sum="497c25e36ad982034d2a18075f34a67eb113fba8" type="targz">mirrors://sourceforge/pyqt/PyQt5/PyQt-5.11.3/PyQt5_gpl-5.11.3.tar.gz</Archive>
<BuildDependencies>
<Dependency>dbus-devel</Dependency>
<Dependency>dbus-python</Dependency>
<Dependency>dbus-python-common</Dependency>
<Dependency>python-devel</Dependency>
<Dependency>python-enum34</Dependency>
<Dependency versionFrom="4.19">python-sip</Dependency>
<Dependency versionFrom="5.10.1">qt5-base-devel</Dependency>
<Dependency versionFrom="5.10.1">qt5-connectivity-devel</Dependency>
@@ -41,10 +42,7 @@
<Dependency versionFrom="5.10.1">qt5-webengine-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch>python-qt5_sipdir.patch</Patch> --> -->
<Patch>pyqt-qt5.11.patch</Patch>
<Patch>pyqt5-cura-crash.patch</Patch>
<Patch>pyqt-support-new-qt.patch</Patch>
<Patch>sip.patch</Patch>
</Patches>
</Source>
@@ -55,6 +53,7 @@
<Dependency>libgcc</Dependency>
<Dependency>dbus</Dependency>
<Dependency>python</Dependency>
<Dependency>python-enum34</Dependency>
<Dependency>qt5-enginio</Dependency>
<Dependency>qt5-assistant</Dependency>
<Dependency>qt5-webengine</Dependency>
@@ -99,6 +98,13 @@
</Package>
<History>
<Update release="10">
<Date>2018-10-16</Date>
<Version>5.11.3</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="9">
<Date>2018-08-07</Date>
<Version>5.10.1</Version>