diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2018-01-27 02:16:53 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2018-01-27 02:16:53 +0300 |
commit | ec7ebfc45b95bd0f5e44d0c46a10f6a4d497d6e6 (patch) | |
tree | 33bcf4ae4335364b2181b822eb409be154d2211e /sci-visualization/qtiplot/files/qtiplot-0.9.8.9-PyQt4-4.10.patch | |
parent | games-emulation/gxmame: remove last rited package (diff) | |
download | gentoo-ec7ebfc45b95bd0f5e44d0c46a10f6a4d497d6e6.tar.gz gentoo-ec7ebfc45b95bd0f5e44d0c46a10f6a4d497d6e6.tar.bz2 gentoo-ec7ebfc45b95bd0f5e44d0c46a10f6a4d497d6e6.zip |
sci-visualization/qtiplot: remove last rited package
Closes: https://bugs.gentoo.org/580328
Closes: https://bugs.gentoo.org/585328
Closes: https://bugs.gentoo.org/630332
Closes: https://bugs.gentoo.org/641514
Diffstat (limited to 'sci-visualization/qtiplot/files/qtiplot-0.9.8.9-PyQt4-4.10.patch')
-rw-r--r-- | sci-visualization/qtiplot/files/qtiplot-0.9.8.9-PyQt4-4.10.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.8.9-PyQt4-4.10.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.8.9-PyQt4-4.10.patch deleted file mode 100644 index 67bd0a32d105..000000000000 --- a/sci-visualization/qtiplot/files/qtiplot-0.9.8.9-PyQt4-4.10.patch +++ /dev/null @@ -1,32 +0,0 @@ - qtiplot/python-sipcmd.py | 21 ++++++++++++++++++--- - 1 file changed, 18 insertions(+), 3 deletions(-) - -diff --git a/qtiplot/python-sipcmd.py b/qtiplot/python-sipcmd.py -index f643194..d8d1ef2 100755 ---- a/qtiplot/python-sipcmd.py -+++ b/qtiplot/python-sipcmd.py -@@ -27,6 +27,21 @@ - # # - ############################################################################ - --from PyQt4 import pyqtconfig --config = pyqtconfig.Configuration() --print " ".join([config.sip_bin, "-I", config.pyqt_sip_dir, config.pyqt_sip_flags]) -+from __future__ import print_function -+ -+import os -+import sipconfig -+import PyQt4.QtCore -+ -+try: -+ # >= 4.10 -+ SIP_FLAGS = PyQt4.QtCore.PYQT_CONFIGURATION['sip_flags'] -+except: -+ import PyQt4.pyqtconfig -+ SIP_FLAGS = PyQt4.pyqtconfig.Configuration().pyqt_sip_flags -+ -+PYQT_SIP_DIR = os.path.join(sipconfig.Configuration().default_sip_dir) -+SIP_BIN = sipconfig.Configuration().sip_bin -+SIP_INC_DIR = sipconfig.Configuration().sip_inc_dir -+ -+print(" ".join([SIP_BIN, "-I", PYQT_SIP_DIR, SIP_FLAGS])) |