Antonio Valentino pushed to branch master at Debian GIS Project / pyninjotiff
Commits:
3dd04e34 by Antonio Valentino at 2023-12-09T09:20:29+00:00
Fix 0001-Fix-floating-point-comparison.patch
- - - - -
a6c52534 by Antonio Valentino at 2023-12-09T09:20:29+00:00
Update dates in d/copyright
- - - - -
e37e5ad2 by Antonio Valentino at 2023-12-09T09:20:29+00:00
Set distribution to unstable
- - - - -
3 changed files:
- debian/changelog
- debian/copyright
- debian/patches/0001-Fix-floating-point-comparison.patch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,7 +1,6 @@
-pyninjotiff (0.4.0-3) UNRELEASED; urgency=medium
+pyninjotiff (0.4.0-3) unstable; urgency=medium
[ Bas Couwenberg ]
- * Team upload.
* Enable numpy3 dh helper.
* Enable Salsa CI.
* Bump Standards-Version to 4.6.2, no changes.
@@ -13,10 +12,11 @@ pyninjotiff (0.4.0-3) UNRELEASED; urgency=medium
* debian/control:
- Use the <!nocheck> marker.
* Switch to autopkgtest-pkg-pybuild.
+ * Update dates in d/copyright.
* debian/patches:
- New 0001-Fix-floating-point-comparison.patch.
- -- Bas Couwenberg <[email protected]> Thu, 22 Dec 2022 10:01:47 +0100
+ -- Antonio Valentino <[email protected]> Sat, 09 Dec 2023
09:14:46 +0000
pyninjotiff (0.4.0-2) unstable; urgency=medium
=====================================
debian/copyright
=====================================
@@ -14,7 +14,7 @@ Copyright: 2008-2014, Christoph Gohlke
License: BSD-3-clause
Files: debian/*
-Copyright: 2018-2022, Antonio Valentino <[email protected]>
+Copyright: 2018-2023, Antonio Valentino <[email protected]>
License: GPL-3+
License: GPL-3+
=====================================
debian/patches/0001-Fix-floating-point-comparison.patch
=====================================
@@ -8,7 +8,7 @@ Forwarded: https://github.com/pytroll/pyninjotiff/pull/33
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/pyninjotiff/tests/test_ninjotiff.py
b/pyninjotiff/tests/test_ninjotiff.py
-index 2d4f224..20c99fa 100644
+index 2d4f224..fce6386 100644
--- a/pyninjotiff/tests/test_ninjotiff.py
+++ b/pyninjotiff/tests/test_ninjotiff.py
@@ -519,7 +519,10 @@ def test_write_rgb_tb():
@@ -16,7 +16,7 @@ index 2d4f224..20c99fa 100644
if key in ['datetime', '40002', '40003', '40006']:
continue
- assert(val == read_tags[key].value)
-+ if hasattr(val, "dtype") and val.dtype.kinf == "f":
++ if isinstance(val, float) or (hasattr(val, "dtype") and
val.dtype.kinf == "f"):
+ np.testing.assert_allclose(val, read_tags[key].value)
+ else:
+ assert(val == read_tags[key].value)
View it on GitLab:
https://salsa.debian.org/debian-gis-team/pyninjotiff/-/compare/227ced2b165e4d304531f5aaec1321377c63f345...e37e5ad2714a6a11f800d8f144bddf76d489a815
--
View it on GitLab:
https://salsa.debian.org/debian-gis-team/pyninjotiff/-/compare/227ced2b165e4d304531f5aaec1321377c63f345...e37e5ad2714a6a11f800d8f144bddf76d489a815
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel