From 3294e8c0bc0057cab9aedc94da49cb1c70a6726d Mon Sep 17 00:00:00 2001 From: Rmys Date: Fri, 16 Feb 2018 03:13:43 +0300 Subject: [PATCH] gdal-2.2.3:ver.bump --- science/gis/gdal/actions.py | 4 ++-- science/gis/gdal/files/gdal-completion.patch | 13 +++++++++++++ science/gis/gdal/pspec.xml | 11 +++++++++-- 3 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 science/gis/gdal/files/gdal-completion.patch diff --git a/science/gis/gdal/actions.py b/science/gis/gdal/actions.py index 73d43572d4..ffb4a7d16b 100644 --- a/science/gis/gdal/actions.py +++ b/science/gis/gdal/actions.py @@ -84,7 +84,7 @@ def install(): pisitools.domove("/usr/man/man3/*", "/usr/share/man/man3") pisitools.removeDir("/usr/man/") - pisitools.domove("/usr/etc/bash_completion.d/*", "/etc/bash_completion.d") - pisitools.removeDir("/usr/etc") + #pisitools.domove("/usr/etc/bash_completion.d/*", "/etc/bash_completion.d") + #pisitools.removeDir("/usr/etc") perlmodules.removePodfiles() diff --git a/science/gis/gdal/files/gdal-completion.patch b/science/gis/gdal/files/gdal-completion.patch new file mode 100644 index 0000000000..f68acad731 --- /dev/null +++ b/science/gis/gdal/files/gdal-completion.patch @@ -0,0 +1,13 @@ +Index: gdal-2.2.3-fedora/scripts/GNUmakefile +=================================================================== +--- gdal-2.2.3-fedora.orig/scripts/GNUmakefile ++++ gdal-2.2.3-fedora/scripts/GNUmakefile +@@ -5,6 +5,6 @@ completion: + + install: + if test "x`pkg-config --version 2>/dev/null`" != "x" -a "x`pkg-config --variable=compatdir bash-completion`" != "x"; then \ +- $(INSTALL_DIR) $(DESTDIR)${prefix}`pkg-config --variable=compatdir bash-completion` ; \ +- cp gdal-bash-completion.sh $(DESTDIR)${prefix}`pkg-config --variable=compatdir bash-completion`; \ ++ $(INSTALL_DIR) $(DESTDIR)`pkg-config --variable=compatdir bash-completion` ; \ ++ $(INSTALL_DATA) gdal-bash-completion.sh $(DESTDIR)`pkg-config --variable=compatdir bash-completion`/gdal; \ + fi diff --git a/science/gis/gdal/pspec.xml b/science/gis/gdal/pspec.xml index b6d45a512a..79e48e66cd 100644 --- a/science/gis/gdal/pspec.xml +++ b/science/gis/gdal/pspec.xml @@ -12,7 +12,7 @@ library A translator library for raster geospatial data formats (includes OGR support) GDAL is a translator library for raster geospatial data formats which presents a single abstract data model to the calling application for all supported formats. - http://download.osgeo.org/gdal/2.2.0/gdal-2.2.0.tar.gz + http://download.osgeo.org/gdal/2.2.3/gdal-2.2.3.tar.gz bash-completion python-numpy @@ -42,7 +42,7 @@ libxml2-devel - + gdal-completion.patch @@ -131,6 +131,13 @@ + + 2018-02-15 + 2.2.3 + Version Bump + Mustafa Cinasal + muscnsl@gmail.com + 2018-02-14 2.2.0