summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2017-01-31 18:48:15 +0100
committerDavid Seifert <soap@gentoo.org>2017-02-01 23:41:02 +0100
commit66c01bd53b7f13d75df1c8e44c4854390b04c4c5 (patch)
treeb931bfd25e47909e8be708c7c9a26bcba7c04763 /sci-electronics/kicad/files/kicad-4.0.2-swig-import-helper.patch
parentsci-libs/linux-gpib: remove unused patch (diff)
downloadgentoo-66c01bd53b7f13d75df1c8e44c4854390b04c4c5.tar.gz
gentoo-66c01bd53b7f13d75df1c8e44c4854390b04c4c5.tar.bz2
gentoo-66c01bd53b7f13d75df1c8e44c4854390b04c4c5.zip
sci-electronics/kicad: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/3740
Diffstat (limited to 'sci-electronics/kicad/files/kicad-4.0.2-swig-import-helper.patch')
-rw-r--r--sci-electronics/kicad/files/kicad-4.0.2-swig-import-helper.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/sci-electronics/kicad/files/kicad-4.0.2-swig-import-helper.patch b/sci-electronics/kicad/files/kicad-4.0.2-swig-import-helper.patch
deleted file mode 100644
index 9202acca9cb..00000000000
--- a/sci-electronics/kicad/files/kicad-4.0.2-swig-import-helper.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -Naur kicad-4.0.2-orig/scripting/build_tools/fix_swig_imports.py kicad-4.0.2/scripting/build_tools/fix_swig_imports.py
---- kicad-4.0.2-orig/scripting/build_tools/fix_swig_imports.py 2016-02-13 13:14:42.000000000 -0800
-+++ kicad-4.0.2/scripting/build_tools/fix_swig_imports.py 2016-06-26 00:49:20.336661983 -0700
-@@ -37,7 +37,19 @@
- txt = ""
-
- for l in lines:
-- if l.startswith("if version_info >= (2,6,0):"): # ok with swig version <= 3.0.2
-+ if l.startswith("if _swig_python_version_info >= (2, 7, 0):"): # ok with swig version >= 3.0.10
-+ l = l.replace("_swig_python_version_info >= (2, 7, 0)","False")
-+ doneOk = True
-+ elif l.startswith("elif _swig_python_version_info >= (2, 6, 0):"): # needed with swig version >= 3.0.10
-+ l = l.replace("_swig_python_version_info >= (2, 6, 0)","False")
-+ doneOk = True
-+ if l.startswith("if version_info >= (2, 7, 0):"): # ok with swig version >= 3.0.9
-+ l = l.replace("version_info >= (2, 7, 0)","False")
-+ doneOk = True
-+ elif l.startswith("elif version_info >= (2, 6, 0):"): # needed with swig version >= 3.0.9
-+ l = l.replace("version_info >= (2, 6, 0)","False")
-+ doneOk = True
-+ elif l.startswith("if version_info >= (2,6,0):"): # ok with swig version <= 3.0.2
- l = l.replace("version_info >= (2,6,0)","False")
- doneOk = True
- elif l.startswith("if version_info >= (2, 6, 0):"): # needed with swig version 3.0.3
-@@ -60,6 +72,3 @@
-
-
- exit(0)
--
--
--