[pyosmium] 05/08: Add pyosmium binary package for utilities.

Bas Couwenberg sebastic at debian.org
Mon Mar 20 20:34:20 UTC 2017


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

sebastic pushed a commit to branch master
in repository pyosmium.

commit adb00e857b97af2bc8c5986ded7147d995e3195e
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Mar 20 21:01:10 2017 +0100

    Add pyosmium binary package for utilities.
---
 debian/changelog      |  1 +
 debian/control        | 17 +++++++++++++++++
 debian/pyosmium.links |  2 ++
 debian/rules          |  3 +++
 4 files changed, 23 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a2d969e..f0e34d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ pyosmium (2.12.0-1) UNRELEASED; urgency=medium
 
   * New upstream release.
   * Bump minimum required libosmium2-dev to 2.12.0.
+  * Add pyosmium binary package for utilities.
 
  -- Bas Couwenberg <sebastic at debian.org>  Mon, 20 Mar 2017 18:30:32 +0100
 
diff --git a/debian/control b/debian/control
index 0c22dd4..5ba352a 100644
--- a/debian/control
+++ b/debian/control
@@ -26,6 +26,23 @@ Vcs-Browser: https://anonscm.debian.org/cgit/pkg-grass/pyosmium.git/
 Vcs-Git: https://anonscm.debian.org/git/pkg-grass/pyosmium.git
 Homepage: http://osmcode.org/pyosmium/
 
+Package: pyosmium
+Architecture: all
+Section: utils
+Depends: python-pyosmium (>= ${source:Version}),
+         ${misc:Depends}
+Description: Osmium library bindings for Python - utilities
+ The PyOsmium module allows you to access some of the features of the Osmium
+ library from Python code.
+ .
+ PyOsmium has extensive support for all types of OSM entities: nodes, ways,
+ relations, and changesets. It allows reading from OSM files in XML and PBF
+ formats, including change files and full history files. Its easy to use
+ handler interface allows you to quickly write data filtering and conversion
+ functions.
+ .
+ This package contains the PyOsmium utilities.
+
 Package: python-pyosmium
 Architecture: any
 Section: python
diff --git a/debian/pyosmium.links b/debian/pyosmium.links
new file mode 100644
index 0000000..4d2c118
--- /dev/null
+++ b/debian/pyosmium.links
@@ -0,0 +1,2 @@
+usr/lib/python-pyosmium/pyosmium-get-changes usr/bin/pyosmium-get-changes
+usr/lib/python-pyosmium/pyosmium-up-to-date  usr/bin/pyosmium-up-to-date
diff --git a/debian/rules b/debian/rules
index 0d9476b..17269de 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,6 +27,9 @@ override_dh_auto_test:
 	PYBUILD_SYSTEM=custom \
 	PYBUILD_TEST_ARGS="cd test && {interpreter} run_tests.py" dh_auto_test
 
+override_dh_auto_install:
+	PYBUILD_INSTALL_ARGS="--install-scripts=/usr/lib/{package}" dh_auto_install
+
 override_dh_install:
 	dh_install
 

-- 
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