10fd96e572
- Update to SWIG 2.0.9 SWIG-2.0.9 summary: - Improved typemap matching. - Ruby 1.9 support is much improved. - Various bug fixes and minor improvements in C#, CFFI, Go, Java, Modula3, Octave, Perl, Python, R, Ruby, Tcl and in ccache-swig. - Removed patches (included in 2.0.9 release) - 0001-Ruby-replace-obsolete-STR2CSTR-macro-with-StringValu.patch - 0002-Ruby-use-RbConfig-instead-of-deprecated-Config-modul.patch - 0003-Ruby-Fix-include-pathes-for-Ruby-1.9.patch - 0004-Ruby-Add-local-dir-to-loadpath-for-Ruby-1.9.patch - 0007-Ruby-1.9-methods-returns-array-of-Symbols-now.patch - Removed broken patch - swig-2.0.4-guile2.patch - Disable tests failing on (deprecated) Python 2.4 - new patch: python-2.4.patch - fix build on SLE10: disable autogen.sh Add patch: PyInt_FromSize_t unavailable under Python 2.4 OBS-URL: https://build.opensuse.org/request/show/145936 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=43
61 lines
2.2 KiB
Diff
61 lines
2.2 KiB
Diff
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile -x Makefile.in ../orig-swig-2.0.8/Examples/test-suite/python/autodoc_runme.py ./Examples/test-suite/python/autodoc_runme.py
|
|
--- ../orig-swig-2.0.8/Examples/test-suite/python/autodoc_runme.py 2012-04-15 23:56:38.000000000 +0200
|
|
+++ ./Examples/test-suite/python/autodoc_runme.py 2012-12-12 14:04:02.873907051 +0100
|
|
@@ -121,23 +121,6 @@
|
|
" "
|
|
)
|
|
|
|
-check(A.variable_a.__doc__, "A_variable_a_get(self) -> int")
|
|
-check(A.variable_b.__doc__, "A_variable_b_get(A self) -> int")
|
|
-check(A.variable_c.__doc__, "\n"
|
|
-"A_variable_c_get(self) -> int\n"
|
|
-"\n"
|
|
-"Parameters:\n"
|
|
-" self: A *\n"
|
|
-"\n"
|
|
-)
|
|
-check(A.variable_d.__doc__, "\n"
|
|
-"A_variable_d_get(A self) -> int\n"
|
|
-"\n"
|
|
-"Parameters:\n"
|
|
-" self: A *\n"
|
|
-"\n"
|
|
-)
|
|
-
|
|
check(B.__doc__, "Proxy of C++ B class")
|
|
check(C.__init__.__doc__, "__init__(self, a, b, h) -> C")
|
|
check(D.__init__.__doc__, "__init__(D self, int a, int b, Hola h) -> D")
|
|
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile -x Makefile.in ../orig-swig-2.0.8/Lib/python/pyhead.swg ./Lib/python/pyhead.swg
|
|
--- ../orig-swig-2.0.8/Lib/python/pyhead.swg 2012-08-15 09:48:57.000000000 +0200
|
|
+++ ./Lib/python/pyhead.swg 2012-12-11 13:21:24.686950170 +0100
|
|
@@ -18,6 +18,10 @@
|
|
|
|
#endif
|
|
|
|
+#if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION == 4
|
|
+#define PyInt_FromSize_t(x) PyInt_FromLong((long)x)
|
|
+#endif
|
|
+
|
|
#ifndef Py_TYPE
|
|
# define Py_TYPE(op) ((op)->ob_type)
|
|
#endif
|
|
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-swig-2.0.9/Examples/test-suite/python/Makefile.in ./Examples/test-suite/python/Makefile.in
|
|
--- ../orig-swig-2.0.9/Examples/test-suite/python/Makefile.in 2012-04-14 23:11:19.000000000 +0200
|
|
+++ ./Examples/test-suite/python/Makefile.in 2012-12-18 16:23:46.138238704 +0100
|
|
@@ -46,7 +46,6 @@
|
|
li_cwstring \
|
|
li_factory \
|
|
li_implicit \
|
|
- li_std_containers_int \
|
|
li_std_map_member \
|
|
li_std_multimap \
|
|
li_std_pair_extra \
|
|
@@ -69,6 +68,7 @@
|
|
swigobject \
|
|
template_matrix
|
|
|
|
+# li_std_containers_int
|
|
# li_std_carray
|
|
# director_profile
|
|
# python_pybuf
|