[Git][debian-gis-team/pycoast][master] 5 commits: New upstream version 1.3.1+dfsg

Antonio Valentino gitlab at salsa.debian.org
Sun Nov 10 08:09:00 GMT 2019



Antonio Valentino pushed to branch master at Debian GIS Project / pycoast


Commits:
182f41a3 by Antonio Valentino at 2019-11-10T08:01:20Z
New upstream version 1.3.1+dfsg
- - - - -
e7d49da1 by Antonio Valentino at 2019-11-10T08:01:40Z
Update upstream source from tag 'upstream/1.3.1+dfsg'

Update to upstream version '1.3.1+dfsg'
with Debian dir d79e281ba0ccaf519039eb783e37ac8fee0aa7b6
- - - - -
82112f0b by Antonio Valentino at 2019-11-10T08:02:08Z
New upstream release

- - - - -
e3a02ebc by Antonio Valentino at 2019-11-10T08:03:44Z
Refresh all patches

- - - - -
1be7c6c5 by Antonio Valentino at 2019-11-10T08:04:33Z
Set distribution to unstable

- - - - -


6 changed files:

- CHANGELOG.md
- debian/changelog
- debian/patches/0001-Skip-tests-that-use-shapes.patch
- pycoast/cw_base.py
- pycoast/tests/test_pycoast.py
- pycoast/version.py


Changes:

=====================================
CHANGELOG.md
=====================================
@@ -1,3 +1,14 @@
+## Version 1.3.1 (2019/11/07)
+
+### Pull Requests Merged
+
+#### Bugs fixed
+
+* [PR 37](https://github.com/pytroll/pycoast/pull/37) - Fix the add overlay function to accept `minor_is_tick` as a boolean
+
+In this release 1 pull request was closed.
+
+
 ## Version 1.3.0 (2019/10/25)
 
 ### Issues Closed


=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+pycoast (1.3.1+dfsg-1) unstable; urgency=medium
+
+  * New upstream release.
+  * debian/patches:
+    - refresh all patches
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Sun, 10 Nov 2019 08:04:12 +0000
+
 pycoast (1.3.0+dfsg-1) unstable; urgency=medium
 
   [ Bas Couwenberg ]


=====================================
debian/patches/0001-Skip-tests-that-use-shapes.patch
=====================================
@@ -7,7 +7,7 @@ Subject: Skip tests that use shapes
  1 file changed, 2 insertions(+)
 
 diff --git a/pycoast/tests/test_pycoast.py b/pycoast/tests/test_pycoast.py
-index 98ea288..862b647 100644
+index 093100d..4f45490 100644
 --- a/pycoast/tests/test_pycoast.py
 +++ b/pycoast/tests/test_pycoast.py
 @@ -357,6 +357,7 @@ class TestPIL(TestPycoast):


=====================================
pycoast/cw_base.py
=====================================
@@ -850,9 +850,9 @@ class ContourWriterBase(object):
                     font = truetype(font, font_size)
             fill = overlays['grid'].get('fill', None)
             minor_outline = overlays['grid'].get('minor_outline', 'white')
-            minor_is_tick = overlays['grid'].get('minor_is_tick',
-                                                 'true').lower() in \
-                ['true', 'yes', '1']
+            minor_is_tick = overlays['grid'].get('minor_is_tick', True)
+            if isinstance(minor_is_tick, str):
+                minor_is_tick = minor_is_tick.lower() in ['true', 'yes', '1']
             lon_placement = overlays['grid'].get('lon_placement', 'tb')
             lat_placement = overlays['grid'].get('lat_placement', 'lr')
 


=====================================
pycoast/tests/test_pycoast.py
=====================================
@@ -812,6 +812,13 @@ class TestFromConfig(TestPycoast):
         self.assertNotEqual(os.path.getmtime(cache_filename), mtime)
         self.assertTrue(fft_metric(euro_data, res),
                         'Writing of contours failed')
+
+        overlays.pop('cache')
+        overlays['grid'] = {'outline': (255, 255, 255), 'outline_opacity': 175,
+                            'minor_outline': (200, 200, 200), 'minor_outline_opacity': 127,
+                            'width': 1.0, 'minor_width': 0.5, 'minor_is_tick': True,
+                            'write_text': True, 'lat_placement': 'lr', 'lon_placement': 'b'}
+        img = cw.add_overlay_from_dict(overlays, area_def)
         os.remove(os.path.join(tmp, 'pycoast_cache_fakearea.png'))
 
     def test_get_resolution(self):


=====================================
pycoast/version.py
=====================================
@@ -23,9 +23,9 @@ def get_keywords():
     # setup.py/versioneer.py will grep for the variable names, so they must
     # each be defined on a line of their own. _version.py will just call
     # get_keywords().
-    git_refnames = " (HEAD -> master, tag: v1.3.0)"
-    git_full = "60a725edca4b3896bcbba8ff67704041fd0e382b"
-    git_date = "2019-10-25 08:39:57 +0200"
+    git_refnames = " (HEAD -> master, tag: v1.3.1)"
+    git_full = "abf499539f3457e9ffe49adabfae3eb247c9fb1f"
+    git_date = "2019-11-07 13:44:51 +0100"
     keywords = {"refnames": git_refnames, "full": git_full, "date": git_date}
     return keywords
 



View it on GitLab: https://salsa.debian.org/debian-gis-team/pycoast/compare/fb07d21eec6a2b4cc249607abc5811558d1c705a...1be7c6c5190f800a880c66d760fe0ff68e7653b9

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pycoast/compare/fb07d21eec6a2b4cc249607abc5811558d1c705a...1be7c6c5190f800a880c66d760fe0ff68e7653b9
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/20191110/be522b9f/attachment-0001.html>


More information about the Pkg-grass-devel mailing list