summarylogtreecommitdiffstats
path: root/scidavis-python2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'scidavis-python2.patch')
-rw-r--r--scidavis-python2.patch62
1 files changed, 0 insertions, 62 deletions
diff --git a/scidavis-python2.patch b/scidavis-python2.patch
deleted file mode 100644
index 87dc0e908419..000000000000
--- a/scidavis-python2.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-diff -ruN scidavis-1.17-orig/libscidavis/python.pri scidavis-1.17/libscidavis/python.pri
---- scidavis-1.17-orig/libscidavis/python.pri 2017-06-02 13:38:52.806445430 +0300
-+++ scidavis-1.17/libscidavis/python.pri 2017-06-02 13:39:55.710957205 +0300
-@@ -16,18 +16,18 @@
- SOURCES += src/PythonScript.cpp src/PythonScripting.cpp
-
- unix {
-- INCLUDEPATH += $$system(python-config --includes|sed -e 's/-I//')
-+ INCLUDEPATH += $$system(python2-config --includes|sed -e 's/-I//')
- osx_dist {
- DEFINES += PYTHONHOME=/Applications/scidavis.app/Contents/Resources
-- }
-+ }
- system(mkdir -p $${SIP_DIR})
-- system($$system(python python-sipcmd.py) $$system(python-config --includes) -c $${SIP_DIR} src/scidavis.sip)
-+ system($$system(python2 python-sipcmd.py) $$system(python2-config --includes) -c $${SIP_DIR} src/scidavis.sip)
- }
-
- win32 {
- mxe {
- DEFINES += SIP_STATIC_MODULE
-- system($$system(python python-sipcmd.py) -c $${SIP_DIR} src/scidavis.sip)
-+ system($$system(python2 python-sipcmd.py) -c $${SIP_DIR} src/scidavis.sip)
- } else {
- INCLUDEPATH += $$system(call ../python-includepath.py)
- # TODO: fix the command below (only really necessary if SIP_DIR != MOC/OBJECTS_DIR)
-diff -ruN scidavis-1.17-orig/scidavis/python.pri scidavis-1.17/scidavis/python.pri
---- scidavis-1.17-orig/scidavis/python.pri 2017-06-02 13:46:20.953100711 +0300
-+++ scidavis-1.17/scidavis/python.pri 2017-06-02 13:47:05.315306277 +0300
-@@ -9,10 +9,10 @@
-
- compiledScidavisrc.target = scidavisrc.pyc
- compiledScidavisrc.depends = scidavisrc.py
-- compiledScidavisrc.commands = python -m py_compile scidavisrc.py
-+ compiledScidavisrc.commands = python2 -m py_compile scidavisrc.py
- compiledScidavisUtil.target = scidavisUtil.pyc
- compiledScidavisUtil.depends = scidavisUtil.py
-- compiledScidavisUtil.commands = python -m py_compile scidavisUtil.py
-+ compiledScidavisUtil.commands = python2 -m py_compile scidavisUtil.py
- QMAKE_EXTRA_TARGETS += compiledScidavisrc compiledScidavisUtil
- PRE_TARGETDEPS += scidavisrc.pyc scidavisUtil.pyc
-
-@@ -24,16 +24,16 @@
-
- message("Making PyQt bindings via SIP")
- unix {
-- INCLUDEPATH += $$system(python-config --includes|sed -e 's/-I//')
-+ INCLUDEPATH += $$system(python2-config --includes|sed -e 's/-I//')
- osx_dist {
- DEFINES += PYTHONHOME=/Applications/scidavis.app/Contents/Resources
- } else {
- macx {
- LIBS += -framework Python
- } else {
-- LIBS += $$system(python -c "\"from distutils import sysconfig; print '-lpython'+sysconfig.get_config_var('VERSION')\"")
-+ LIBS += $$system(python2 -c "\"from distutils import sysconfig; print '-lpython'+sysconfig.get_config_var('VERSION')\"")
- }
-- }
-+ }
- LIBS += -lm
- }
-