[arch-commits] Commit in swig/trunk (PKGBUILD swig-pyslice.patch)
Stéphane Gaudreault
stephane at archlinux.org
Fri Apr 8 16:01:46 UTC 2011
Date: Friday, April 8, 2011 @ 12:01:46
Author: stephane
Revision: 118854
upgpkg: swig 2.0.3-1
version bump
Modified:
swig/trunk/PKGBUILD
swig/trunk/swig-pyslice.patch
--------------------+
PKGBUILD | 8 ++++----
swig-pyslice.patch | 22 +++++++++++-----------
2 files changed, 15 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-04-08 14:57:58 UTC (rev 118853)
+++ PKGBUILD 2011-04-08 16:01:46 UTC (rev 118854)
@@ -3,8 +3,8 @@
# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
pkgname=swig
-pkgver=2.0.2
-pkgrel=4
+pkgver=2.0.3
+pkgrel=1
pkgdesc="Generate scripting interfaces to C/C++ code"
arch=('i686' 'x86_64')
url="http://www.swig.org/"
@@ -13,9 +13,9 @@
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
swig-deprecated-pycobject.patch
swig-pyslice.patch)
-sha1sums=('1fc5a7b42ae41c51772d7268ba0f987e9514d110'
+sha1sums=('da09610f0b925fae40b40186d262c46e3e1f2bf0'
'add71330c5d839d9a27b1ca688e6c5e31f1edb7b'
- '7248b34032db7cb84143a6cefae425b222ce43a6')
+ 'b8e28148fcef01f24a9acc6218dc090dbde03c37')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
Modified: swig-pyslice.patch
===================================================================
--- swig-pyslice.patch 2011-04-08 14:57:58 UTC (rev 118853)
+++ swig-pyslice.patch 2011-04-08 16:01:46 UTC (rev 118854)
@@ -1,6 +1,6 @@
-diff -Naur swig-2.0.2.ori/Lib/python/pycontainer.swg swig-2.0.2/Lib/python/pycontainer.swg
---- swig-2.0.2.ori/Lib/python/pycontainer.swg 2010-10-19 02:31:31.000000000 -0400
-+++ swig-2.0.2/Lib/python/pycontainer.swg 2011-03-16 20:41:28.090000004 -0400
+diff -Naur swig-2.0.3.ori/Lib/python/pycontainer.swg swig-2.0.3/Lib/python/pycontainer.swg
+--- swig-2.0.3.ori/Lib/python/pycontainer.swg 2010-10-18 23:31:31.000000000 -0700
++++ swig-2.0.3/Lib/python/pycontainer.swg 2011-04-08 08:50:37.281941342 -0700
@@ -630,6 +630,7 @@
return x;
}
@@ -53,14 +53,14 @@
throw (std::out_of_range) {
Py_ssize_t i, j, step;
if( !PySlice_Check(slice) ) {
-diff -Naur swig-2.0.2.ori/Source/Modules/python.cxx swig-2.0.2/Source/Modules/python.cxx
---- swig-2.0.2.ori/Source/Modules/python.cxx 2011-02-20 08:47:14.000000000 -0500
-+++ swig-2.0.2/Source/Modules/python.cxx 2011-03-16 20:40:01.223333338 -0400
-@@ -440,6 +440,7 @@
+diff -Naur swig-2.0.3.ori/Source/Modules/python.cxx swig-2.0.3/Source/Modules/python.cxx
+--- swig-2.0.3.ori/Source/Modules/python.cxx 2011-03-14 00:22:08.000000000 -0700
++++ swig-2.0.3/Source/Modules/python.cxx 2011-04-08 08:53:39.288607977 -0700
+@@ -437,6 +437,7 @@
+
if (py3) {
- /* force disable features that not compatible with Python 3.x */
- classic = 0;
-+ Preprocessor_define((DOH *) "NO_PYSLICE 1", 0);
+ /* force disable features that not compatible with Python 3.x */
++ Preprocessor_define((DOH *) "NO_PYSLICE 1", 0);
+ classic = 0;
}
- if (cppcast) {
More information about the arch-commits
mailing list