[pyosmium] 01/06: Imported Upstream version 2.8.0

Bas Couwenberg sebastic at debian.org
Mon Aug 8 13:34:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository pyosmium.

commit 427bec462eda376e6bf30cc1d268af9fb9d278f0
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Aug 8 15:14:03 2016 +0200

    Imported Upstream version 2.8.0
---
 CHANGELOG.md        | 14 +++++++++++++-
 doc/conf.py         |  4 ++--
 lib/osm.cc          |  1 +
 setup.py            |  2 +-
 test/test_writer.py |  4 ++--
 5 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 400a09f..eb6e2ca 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,17 @@ This project adheres to [Semantic Versioning](http://semver.org/).
 ### Fixed
 
 
+## [2.8.0] - 2016-08-08
+
+### Changed
+
+- Use current libosmium
+
+### Fixed
+
+- Works with different libosmium versions.
+
+
 ## [2.7.1] - 2016-06-01
 
 ### Added
@@ -79,7 +90,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
 
 - Exception not caught in test.
 
-[unreleased]: https://github.com/osmcode/pyosmium/compare/v2.7.1...HEAD
+[unreleased]: https://github.com/osmcode/pyosmium/compare/v2.8.0...HEAD
+[2.8.0]: https://github.com/osmcode/pyosmium/compare/v2.7.1...v2.8.0
 [2.7.1]: https://github.com/osmcode/pyosmium/compare/v2.6.0...v2.7.1
 [2.6.0]: https://github.com/osmcode/pyosmium/compare/v2.5.4...v2.6.0
 [2.5.4]: https://github.com/osmcode/pyosmium/compare/v2.5.3...v2.5.4
diff --git a/doc/conf.py b/doc/conf.py
index 73e23b2..26844cf 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -63,9 +63,9 @@ copyright = '2015-2016, Sarah Hoffmann'
 # built documents.
 #
 # The short X.Y version.
-version = '2.7'
+version = '2.8'
 # The full version, including alpha/beta/rc tags.
-release = '2.7.1'
+release = '2.8.0'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff --git a/lib/osm.cc b/lib/osm.cc
index 857e287..8f126c6 100644
--- a/lib/osm.cc
+++ b/lib/osm.cc
@@ -50,6 +50,7 @@ BOOST_PYTHON_MODULE(_osm)
 
     to_python_converter<osmium::Timestamp, Timestamp_to_python>();
     std_pair_to_python_converter<int, int>();
+    std_pair_to_python_converter<unsigned int, unsigned int>();
     std_pair_to_python_converter<unsigned long, unsigned long>();
 
     enum_<osmium::osm_entity_bits::type>("osm_entity_bits")
diff --git a/setup.py b/setup.py
index e3aa529..b83b196 100644
--- a/setup.py
+++ b/setup.py
@@ -70,7 +70,7 @@ for ext in ('osm', 'replication'):
     packages.append('osmium.%s' % ext)
 
 setup (name = 'pyosmium',
-       version = '2.7.1',
+       version = '2.8.0',
        description = 'Provides python bindings for libosmium.',
        packages = packages,
        ext_modules = extensions)
diff --git a/test/test_writer.py b/test/test_writer.py
index 04f7062..3e6de40 100644
--- a/test/test_writer.py
+++ b/test/test_writer.py
@@ -108,8 +108,8 @@ class TestWriteTags(unittest.TestCase):
 class TestWriteNode(unittest.TestCase):
 
     def test_location_tuple(self):
-        with WriteExpect('n0 v0 dV c0 t i0 u T x1.0000000 y2.0000000') as w:
-            w.add_node(O(location=(1, 2)))
+        with WriteExpect('n0 v0 dV c0 t i0 u T x1.1234561 y0.1234561') as w:
+            w.add_node(O(location=(1.1234561, 0.1234561)))
 
     def test_location_none(self):
         with WriteExpect('n0 v0 dV c0 t i0 u T x y') as w:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pyosmium.git



More information about the Pkg-grass-devel mailing list