Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (3)
Allow exceeded margins for edge cases with 2008 grids.
· c04a0eb9
Bas Couwenberg
authored
Jan 02, 2020
c04a0eb9
Don't ignore testrdtrans2008.pl errors in dh_auto_test override.
· ba96db1b
Bas Couwenberg
authored
Jan 02, 2020
ba96db1b
Set distribution to unstable.
· 1c18c158
Bas Couwenberg
authored
Jan 02, 2020
1c18c158
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
1c18c158
proj-rdnap (2008+2018-2)
UNRELEASED
; urgency=medium
proj-rdnap (2008+2018-2)
unstable
; urgency=medium
* Add testrdtrans2018.pl to autopkgtest.
* Drop unused overrides for file-without-copyright-information.
* Replace tabs with spaces in copyright file.
* Update testrdtrans2018.pl to handle '*' heights.
* Allow exceeded margins for edge cases with 2008 grids.
* Don't ignore testrdtrans2008.pl errors in dh_auto_test override.
-- Bas Couwenberg <sebastic@debian.org> Thu,
31 Oct 2019 09:56:12
+0100
-- Bas Couwenberg <sebastic@debian.org> Thu,
02 Jan 2020 20:00:44
+0100
proj-rdnap (2008+2018-1) unstable; urgency=medium
...
...
debian/patches/add-test.patch
View file @
1c18c158
...
...
@@ -62,7 +62,7 @@ Author: Bas Couwenberg <sebastic@debian.org>
+<rd> +proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel +nadgrids=rdtrans2008.gsb +units=m +no_defs <>
--- /dev/null
+++ b/testrdtrans2008.json
@@ -0,0 +1,18
0
@@
@@ -0,0 +1,18
2
@@
+[
+ {
+ "number" : "01",
...
...
@@ -192,7 +192,8 @@ Author: Bas Couwenberg <sebastic@debian.org>
+ "height" : "^-?(\\d+\\.\\d+|inf)$",
+ "x" : "*",
+ "y" : "*",
+ "nap" : "^-?(\\d+\\.\\d+|inf)$"
+ "nap" : "^-?(\\d+\\.\\d+|inf)$",
+ "margin" : "ignore"
+ }
+ },
+ {
...
...
@@ -215,7 +216,8 @@ Author: Bas Couwenberg <sebastic@debian.org>
+ "height" : "^-?(\\d+\\.\\d+|inf)$",
+ "x" : "*",
+ "y" : "*",
+ "nap" : "^-?(\\d+\\.\\d+|inf)$"
+ "nap" : "^-?(\\d+\\.\\d+|inf)$",
+ "margin" : "ignore"
+ }
+ },
+ {
...
...
debian/rules
View file @
1c18c158
...
...
@@ -8,7 +8,7 @@
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
if [ 6 -le "$(shell cs2cs 2>&1 | head -1 | cut -d' ' -f2 | cut -d'.' -f1)" ]; then \
PROJ_LIB=.:/usr/share/proj perl ./testrdtrans2008.pl -v
;
\
PROJ_LIB=.:/usr/share/proj perl ./testrdtrans2008.pl -v
&&
\
PROJ_LIB=.:/usr/share/proj perl ./testrdtrans2018.pl -v; \
else \
PROJ_LIB=. perl ./testrdtrans2008.pl -v; \
...
...