diff --git a/programming/library/swig/actions.py b/programming/library/swig/actions.py
index 03d1de9a43..0248e99c33 100644
--- a/programming/library/swig/actions.py
+++ b/programming/library/swig/actions.py
@@ -10,9 +10,11 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
+ shelltools.export("PYTHON", "/usr/bin/python3")
shelltools.system("sed -i 's/\$(PERL5_SCRIPT/-I. &/' Examples/Makefile.in")
shelltools.system("sed -i 's/\$command 2/-I. &/' Examples/test-suite/perl5/run-perl-test.pl")
autotools.configure("--without-clisp \
+ --with-python3 \
--without-maximum-compile-warnings")
#autotools.configure("--prefix=/usr")
@@ -26,4 +28,4 @@ def build():
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
- pisitools.dodoc("LICENSE*", "README")
\ No newline at end of file
+ pisitools.dodoc("LICENSE*", "README")
diff --git a/programming/library/swig/pspec.xml b/programming/library/swig/pspec.xml
index 0b7612bee3..037d0d4b42 100644
--- a/programming/library/swig/pspec.xml
+++ b/programming/library/swig/pspec.xml
@@ -15,7 +15,7 @@
library
Connects C/C++/Objective C to some high-level programming languages
Simplified Wrapper and Interface Generator, SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. SWIG is used with different types of languages including common scripting languages such as Perl, PHP, Python, Tcl, Ruby and PHP
- mirrors://sourceforge/swig/swig/swig-4.0.1/swig-4.0.1.tar.gz
+ mirrors://sourceforge/swig/swig/swig-4.0.2/swig-4.0.2.tar.gz
perl
zlib-devel
@@ -26,11 +26,11 @@
- swig-4.0.1-Fix-code-generated-for-Ruby-global-variables.patch
+
- swig-4.0.1-Add-support-for-Ruby-2.7.patch
+
- swig-4.0.1-Fix-crash-in-Python-backend-when-using-empty-docstrings.patch
+
swig-Upgrade-to-support-newer-NodeJS.patch
@@ -54,6 +54,13 @@
+
+ 2021-03-11
+ 4.0.2
+ Version bump.
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2021-03-11
4.0.1