From: "Sven Wegener" <swegener@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/gdal/files/, sci-libs/gdal/
Date: Mon, 18 Jul 2016 20:41:13 +0000 (UTC) [thread overview]
Message-ID: <1468874364.8091a2d1eef7b014d2aaee3d2c6906397bc970d0.swegener@gentoo> (raw)
commit: 8091a2d1eef7b014d2aaee3d2c6906397bc970d0
Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 28 18:26:03 2016 +0000
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Mon Jul 18 20:39:24 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8091a2d1
sci-libs/gdal: Fix building with >=swig-3.0.6
Package-Manager: portage-2.2.28
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>
sci-libs/gdal/files/gdal-1.11-swig-3.0.6.patch | 22 ++++++++++++++++++++++
sci-libs/gdal/gdal-1.11.1-r3.ebuild | 5 ++++-
sci-libs/gdal/gdal-1.11.2.ebuild | 5 ++++-
3 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/sci-libs/gdal/files/gdal-1.11-swig-3.0.6.patch b/sci-libs/gdal/files/gdal-1.11-swig-3.0.6.patch
new file mode 100644
index 0000000..4f4e80b
--- /dev/null
+++ b/sci-libs/gdal/files/gdal-1.11-swig-3.0.6.patch
@@ -0,0 +1,22 @@
+--- gdal/swig/include/python/ogr_python.i
++++ gdal/swig/include/python/ogr_python.i
+@@ -67,7 +67,7 @@
+ def __getitem__(self, value):
+ """Support dictionary, list, and slice -like access to the datasource.
+-ds[0] would return the first layer on the datasource.
+-ds['aname'] would return the layer named "aname".
+-ds[0:4] would return a list of the first four layers."""
++ ds[0] would return the first layer on the datasource.
++ ds['aname'] would return the layer named "aname".
++ ds[0:4] would return a list of the first four layers."""
+ if isinstance(value, slice):
+ output = []
+@@ -135,6 +135,6 @@
+ def __getitem__(self, value):
+ """Support list and slice -like access to the layer.
+-layer[0] would return the first feature on the layer.
+-layer[0:4] would return a list of the first four features."""
++ layer[0] would return the first feature on the layer.
++ layer[0:4] would return a list of the first four features."""
+ if isinstance(value, slice):
+ import sys
diff --git a/sci-libs/gdal/gdal-1.11.1-r3.ebuild b/sci-libs/gdal/gdal-1.11.1-r3.ebuild
index e244d27..8a55b2f 100644
--- a/sci-libs/gdal/gdal-1.11.1-r3.ebuild
+++ b/sci-libs/gdal/gdal-1.11.1-r3.ebuild
@@ -59,7 +59,7 @@ RDEPEND="
xls? ( dev-libs/freexl )
"
-SWIG_DEP=">=dev-lang/swig-2.0.2 <=dev-lang/swig-3.0.4"
+SWIG_DEP=">=dev-lang/swig-2.0.2"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
java? ( >=virtual/jdk-1.6 )
@@ -122,6 +122,9 @@ src_prepare() {
# Fix swig-3.0.3 problem (bug #534168)
epatch "${FILESDIR}"/${PN}-1.11.1-swig-3.0.3.patch
+ # Fix swig-3.0.6 problem, https://trac.osgeo.org/gdal/ticket/6045
+ epatch "${FILESDIR}"/${PN}-1.11-swig-3.0.6.patch
+
# bug 540132
epatch "${FILESDIR}"/${PN}-1.11.1-poppler-0.31.0-support.patch
diff --git a/sci-libs/gdal/gdal-1.11.2.ebuild b/sci-libs/gdal/gdal-1.11.2.ebuild
index 3a3e22f..985f716 100644
--- a/sci-libs/gdal/gdal-1.11.2.ebuild
+++ b/sci-libs/gdal/gdal-1.11.2.ebuild
@@ -59,7 +59,7 @@ RDEPEND="
xls? ( dev-libs/freexl )
"
-SWIG_DEP=">=dev-lang/swig-2.0.2 <=dev-lang/swig-3.0.4"
+SWIG_DEP=">=dev-lang/swig-2.0.2"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
java? ( >=virtual/jdk-1.6 )
@@ -122,6 +122,9 @@ src_prepare() {
# bug 540132
epatch "${FILESDIR}"/${PN}-1.11.1-poppler-0.31.0-support.patch
+ # Fix swig-3.0.6 problem, https://trac.osgeo.org/gdal/ticket/6045
+ epatch "${FILESDIR}"/${PN}-1.11-swig-3.0.6.patch
+
tc-export AR RANLIB
eautoreconf
next reply other threads:[~2016-07-18 20:41 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-18 20:41 Sven Wegener [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-11-07 13:56 [gentoo-commits] repo/gentoo:master commit in: sci-libs/gdal/files/, sci-libs/gdal/ Amy Winston
2016-12-03 10:35 Amy Winston
2017-07-19 18:54 Andreas Sturmlechner
2017-12-20 18:23 Amy Liffey
2017-12-20 20:08 Andreas Sturmlechner
2018-01-16 20:25 Andreas Sturmlechner
2019-01-16 20:01 Andreas Sturmlechner
2019-05-19 20:55 Andreas Sturmlechner
2019-06-12 10:03 Andreas Sturmlechner
2019-07-15 5:36 Andreas Sturmlechner
2019-11-01 18:53 Andreas Sturmlechner
2019-12-25 20:46 Andreas Sturmlechner
2020-04-13 9:21 Andreas Sturmlechner
2021-05-28 3:47 Sam James
2021-10-02 12:58 Andreas Sturmlechner
2022-01-10 23:19 Sam James
2022-03-12 15:53 Andreas Sturmlechner
2022-10-09 18:29 Andreas Sturmlechner
2023-11-21 22:36 Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1468874364.8091a2d1eef7b014d2aaee3d2c6906397bc970d0.swegener@gentoo \
--to=swegener@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox