[Git][debian-gis-team/proj-rdnap][master] Don't rename epsg init file for PROJ 6, not used any more.

Bas Couwenberg gitlab at salsa.debian.org
Mon May 6 20:48:20 BST 2019



Bas Couwenberg pushed to branch master at Debian GIS Project / proj-rdnap


Commits:
a4e33bca by Bas Couwenberg at 2019-05-06T19:46:35Z
Don't rename epsg init file for PROJ 6, not used any more.

- - - - -


1 changed file:

- debian/patches/add-test.patch


Changes:

=====================================
debian/patches/add-test.patch
=====================================
@@ -245,7 +245,7 @@ Author: Bas Couwenberg <sebastic at debian.org>
 +]
 --- /dev/null
 +++ b/testrdtrans2008.pl
-@@ -0,0 +1,447 @@
+@@ -0,0 +1,425 @@
 +#!/usr/bin/perl -w
 +#
 +# Script to do some testing of various transformations
@@ -322,17 +322,6 @@ Author: Bas Couwenberg <sebastic at debian.org>
 +    exit 1;
 +}
 +
-+if($proj_version{major} >= 6) {
-+    my $old = 'epsg';
-+    my $new = 'epsg.bak';
-+
-+    print "Renaming: $old to: $new\n" if($cfg{verbose});
-+
-+    rename($old, $new) || die "Error: Failed to rename: $old -> $new ($!)";
-+
-+    print "\n" if($cfg{verbose});
-+}
-+
 +my $json  = read_file($cfg{tests});
 +my $tests = from_json($json);
 +
@@ -681,15 +670,4 @@ Author: Bas Couwenberg <sebastic at debian.org>
 +    }
 +}
 +
-+if($proj_version{major} >= 6) {
-+    print "\n" if($cfg{verbose});
-+
-+    my $old = 'epsg.bak';
-+    my $new = 'epsg';
-+
-+    print "Renaming: $old to: $new\n" if($cfg{verbose});
-+
-+    rename($old, $new) || die "Error: Failed to rename: $old -> $new ($!)";
-+}
-+
 +exit $errors;



View it on GitLab: https://salsa.debian.org/debian-gis-team/proj-rdnap/commit/a4e33bca0d37c0a03e1dbe7858ce92a67f771ca5

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/proj-rdnap/commit/a4e33bca0d37c0a03e1dbe7858ce92a67f771ca5
You're receiving this email because of your account on salsa.debian.org.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20190506/7fa3b1c1/attachment-0001.html>


More information about the Pkg-grass-devel mailing list