[pyosmium] 01/02: Add patch to fix test failure on 32-bit architectures.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Thu Jun 2 08:51:00 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 ab4466150026de74c51de9c367866072aa6b0824
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Thu Jun 2 09:43:26 2016 +0200
Add patch to fix test failure on 32-bit architectures.
---
debian/changelog | 6 ++++++
debian/patches/series | 1 +
debian/patches/std_pair_to_python_converter.patch | 14 ++++++++++++++
3 files changed, 21 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 973d339..5a77908 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pyosmium (2.7.1-2) UNRELEASED; urgency=medium
+
+ * Add patch to fix test failure on 32-bit architectures.
+
+ -- Bas Couwenberg <sebastic at debian.org> Thu, 02 Jun 2016 09:43:13 +0200
+
pyosmium (2.7.1-1) unstable; urgency=medium
* New upstream release.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..04b71e3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+std_pair_to_python_converter.patch
diff --git a/debian/patches/std_pair_to_python_converter.patch b/debian/patches/std_pair_to_python_converter.patch
new file mode 100644
index 0000000..d5e437f
--- /dev/null
+++ b/debian/patches/std_pair_to_python_converter.patch
@@ -0,0 +1,14 @@
+Description: Add to_python converter for C++ type: std::pair<unsigned int, unsigned int>.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug: https://github.com/osmcode/pyosmium/issues/13
+
+--- 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")
--
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