Date: Monday, March 6, 2023 @ 17:31:35 Author: felixonmars Revision: 470302
upgpkg: swig 4.1.0-1 Modified: swig/trunk/PKGBUILD Deleted: swig/trunk/jdk17.patch swig/trunk/python310.patch -----------------+ PKGBUILD | 22 +++++----------------- jdk17.patch | 28 ---------------------------- python310.patch | 23 ----------------------- 3 files changed, 5 insertions(+), 68 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-03-06 16:53:38 UTC (rev 470301) +++ PKGBUILD 2023-03-06 17:31:35 UTC (rev 470302) @@ -3,29 +3,17 @@ # Contributor: Tom Newsom <[email protected]> pkgname=swig -pkgver=4.0.2 -pkgrel=5 +pkgver=4.1.0 +pkgrel=1 pkgdesc="Generate scripting interfaces to C/C++ code" arch=('x86_64') url="http://www.swig.org/" license=('custom') -depends=('pcre' 'gcc-libs') +depends=('pcre2' 'gcc-libs') checkdepends=('ruby' 'python' 'java-environment' 'tcl' 'php' 'lua' 'r' 'go' 'boost') -source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz - jdk17.patch - python310.patch) -sha512sums=('05e7da70ce6d9a733b96c0bcfa3c1b82765bd859f48c74759bbf4bb1467acb1809caa310cba5e2b3280cd704fca249eaa0624821dffae1d2a75097c7f55d14ed' - '06671202b6a1f82e96166ada7982b9dd70ae5365dc90c4f24e81596963f7bd3960913f2eca5250ad76bee4b2e51f10ed922595722036e3da9da63d6aa988cb3e' - '3de6484d920d8ecf042102d40af3a375ecb1ead3c4e0bc45ae63633e5fd652f52e1938108f747514a654a19d93a783afe2968b141be56957f438162263d62d8a') +source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) +sha512sums=('a7d43d6aa764923826786081a3f2e25aa0f8345e1169c1e57bf02d01f6f41c92d8db0f360ec86e0e428ef5a21d1b5cd3edb7e4b71d0beff3e6611e344b5c22b1') -prepare() { - cd ${pkgname}-${pkgver} - patch -Np1 -i ../jdk17.patch - - # https://github.com/swig/swig/issues/2044 - patch -Np1 -i ../python310.patch -} - build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr Deleted: jdk17.patch =================================================================== --- jdk17.patch 2023-03-06 16:53:38 UTC (rev 470301) +++ jdk17.patch 2023-03-06 17:31:35 UTC (rev 470302) @@ -1,28 +0,0 @@ -From 34e663a61af13eec62050d2b105ace418929e289 Mon Sep 17 00:00:00 2001 -From: William S Fulton <[email protected]> -Date: Sat, 20 Mar 2021 09:49:30 +0000 -Subject: [PATCH] Test a different C# keyword rename - -Worked around warning in java jdk-15: - warning: 'sealed' may become a restricted type name in a future release - and may be unusable for type declarations or as the element type of an array - -Adding sealed to the list of automatically renamed keywords in Java does -not seem prudent. ---- - Examples/test-suite/keyword_rename.i | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Examples/test-suite/keyword_rename.i b/Examples/test-suite/keyword_rename.i -index 23c01087dc4..645f0266112 100644 ---- a/Examples/test-suite/keyword_rename.i -+++ b/Examples/test-suite/keyword_rename.i -@@ -27,7 +27,7 @@ KW(synchronized, final) - - /* C# Keywords */ - KW(string, out) --struct sealed {int i;}; -+struct stackalloc {int i;}; - - /* Go Keywords */ - KW(go, defer) Deleted: python310.patch =================================================================== --- python310.patch 2023-03-06 16:53:38 UTC (rev 470301) +++ python310.patch 2023-03-06 17:31:35 UTC (rev 470302) @@ -1,23 +0,0 @@ -From a2850397ba3eec5d4c58304cf8277ca535919760 Mon Sep 17 00:00:00 2001 -From: Julien Schueller <[email protected]> -Date: Thu, 5 Aug 2021 14:05:10 +0200 -Subject: [PATCH] [Python] Fix overload_simple_cast test with 3.10 - -Closes #2044 ---- - Examples/test-suite/python/python_overload_simple_cast_runme.py | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/Examples/test-suite/python/python_overload_simple_cast_runme.py b/Examples/test-suite/python/python_overload_simple_cast_runme.py -index fc398ab29b9..7a0174af8a2 100644 ---- a/Examples/test-suite/python/python_overload_simple_cast_runme.py -+++ b/Examples/test-suite/python/python_overload_simple_cast_runme.py -@@ -9,6 +9,8 @@ def __init__(self, x): - def __int__(self): - return self.x - -+ def __index__(self): -+ return self.x - - class Ad: -
