PyQt5-5.9
This commit is contained in:
parent
cdaafd0dbd
commit
69e8521cdc
@ -19,8 +19,8 @@
|
|||||||
|
|
||||||
Summary: PyQt5 is Python bindings for Qt5
|
Summary: PyQt5 is Python bindings for Qt5
|
||||||
Name: python-qt5
|
Name: python-qt5
|
||||||
Version: 5.8.2
|
Version: 5.9
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
# all BSD, except for GPLv2+ dbus bindings and examples
|
# all BSD, except for GPLv2+ dbus bindings and examples
|
||||||
License: BSD and GPLv2+
|
License: BSD and GPLv2+
|
||||||
@ -214,8 +214,10 @@ PATH=%{_qt5_bindir}:$PATH ; export PATH
|
|||||||
# Python 2 build:
|
# Python 2 build:
|
||||||
%if 0%{?with_python2}
|
%if 0%{?with_python2}
|
||||||
mkdir %{_target_platform}
|
mkdir %{_target_platform}
|
||||||
|
# copy sources, seems pure shadow build support broke with 5.9 -- rex
|
||||||
|
cp -a * %{_target_platform}/ ||:
|
||||||
pushd %{_target_platform}
|
pushd %{_target_platform}
|
||||||
%{__python2} ../configure.py \
|
%{__python2} ./configure.py \
|
||||||
--assume-shared \
|
--assume-shared \
|
||||||
--confirm-license \
|
--confirm-license \
|
||||||
--qmake=%{_qt5_qmake} \
|
--qmake=%{_qt5_qmake} \
|
||||||
@ -232,12 +234,14 @@ popd
|
|||||||
# Python 3 build:
|
# Python 3 build:
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
mkdir %{_target_platform}-python3
|
mkdir %{_target_platform}-python3
|
||||||
|
cp -a * %{_target_platform}-python3/ ||:
|
||||||
pushd %{_target_platform}-python3
|
pushd %{_target_platform}-python3
|
||||||
%{__python3} ../configure.py \
|
%{__python3} ./configure.py \
|
||||||
--assume-shared \
|
--assume-shared \
|
||||||
--confirm-license \
|
--confirm-license \
|
||||||
--qmake=%{_qt5_qmake} \
|
--qmake=%{_qt5_qmake} \
|
||||||
--no-qsci-api \
|
--no-qsci-api \
|
||||||
|
--sip=%{_bindir}/python3-sip \
|
||||||
--verbose \
|
--verbose \
|
||||||
QMAKE_CFLAGS_RELEASE="%{optflags}" \
|
QMAKE_CFLAGS_RELEASE="%{optflags}" \
|
||||||
QMAKE_CXXFLAGS_RELEASE="%{optflags}" \
|
QMAKE_CXXFLAGS_RELEASE="%{optflags}" \
|
||||||
@ -442,7 +446,7 @@ sed -i \
|
|||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%doc doc/*
|
#doc doc/*
|
||||||
%doc examples/
|
%doc examples/
|
||||||
# avoid dep on qscintilla-python, own %%_qt5_datadir/qsci/... here for now
|
# avoid dep on qscintilla-python, own %%_qt5_datadir/qsci/... here for now
|
||||||
%dir %{_qt5_datadir}/qsci/
|
%dir %{_qt5_datadir}/qsci/
|
||||||
@ -452,6 +456,9 @@ sed -i \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 05 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9-1
|
||||||
|
- PyQt5-5.9
|
||||||
|
|
||||||
* Wed Jul 05 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.2-5
|
* Wed Jul 05 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.2-5
|
||||||
- rebuild (sip)
|
- rebuild (sip)
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
diff -up PyQt5_gpl-5.8.2/configure.py.qt5_sipdir PyQt5_gpl-5.8.2/configure.py
|
diff -up PyQt5_gpl-5.9/configure.py.sipdir PyQt5_gpl-5.9/configure.py
|
||||||
--- PyQt5_gpl-5.8.2/configure.py.qt5_sipdir 2017-03-30 03:46:57.000000000 -0500
|
--- PyQt5_gpl-5.9/configure.py.sipdir 2017-07-03 12:24:48.000000000 -0500
|
||||||
+++ PyQt5_gpl-5.8.2/configure.py 2017-04-03 06:58:50.647698195 -0500
|
+++ PyQt5_gpl-5.9/configure.py 2017-07-05 20:31:35.319524089 -0500
|
||||||
@@ -25,6 +25,7 @@ import os
|
@@ -25,6 +25,7 @@ import os
|
||||||
import shutil
|
import shutil
|
||||||
import stat
|
import stat
|
||||||
@ -17,4 +17,4 @@ diff -up PyQt5_gpl-5.8.2/configure.py.qt5_sipdir PyQt5_gpl-5.8.2/configure.py
|
|||||||
+ self.pyqt_sip_dir = os.path.join(sipconfig.Configuration().default_sip_dir, 'PyQt5')
|
+ self.pyqt_sip_dir = os.path.join(sipconfig.Configuration().default_sip_dir, 'PyQt5')
|
||||||
self.pyuic_interpreter = py_config.pyuic_interpreter
|
self.pyuic_interpreter = py_config.pyuic_interpreter
|
||||||
|
|
||||||
# The qmake spec we want to use.
|
# Remaining values.
|
||||||
|
Loading…
Reference in New Issue
Block a user