[Python-modules-commits] [gpxpy] 07/07: Add gpxinfo package.

Dominik George natureshadow-guest at moszumanska.debian.org
Fri Nov 4 12:37:20 UTC 2016


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

natureshadow-guest pushed a commit to branch master
in repository gpxpy.

commit 97a6b1947c8eca63510bffd9002cca4c31bae226
Author: Dominik George <nik at naturalnet.de>
Date:   Fri Nov 4 13:12:16 2016 +0100

    Add gpxinfo package.
---
 debian/control                   | 14 ++++++++++++++
 debian/gpxinfo.1                 | 23 +++++++++++++++++++++++
 debian/gpxinfo.lintian-overrides |  2 ++
 debian/gpxinfo.manpages          |  1 +
 debian/rules                     |  6 ++++++
 5 files changed, 46 insertions(+)

diff --git a/debian/control b/debian/control
index 6080c94..1552547 100644
--- a/debian/control
+++ b/debian/control
@@ -46,3 +46,17 @@ Description: GPX file parser and GPS track manipulation library (Python 3)
  calculating geographical coordinates.
  .
  This package contains the Python 3 version.
+
+Package: gpxinfo
+Architecture: all
+Section: utils
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+ python3-gpxpy,
+Description: Command line utility to extract basic statistics from a GPX file
+ gpxinfo extracts basic statistics from a GPX file. It prints meta info
+ about the file and calculates data about tracks and routes in the file,
+ among which are times, distances, and uphill and downhill information.
+ . 
+ gpxinfo uses the gpxpy library.
diff --git a/debian/gpxinfo.1 b/debian/gpxinfo.1
new file mode 100644
index 0000000..cb63d34
--- /dev/null
+++ b/debian/gpxinfo.1
@@ -0,0 +1,23 @@
+.Dd November 04, 2016
+.Dt GPXINFO 1
+.Os Debian
+.Sh NAME
+.Nm gpxinfo
+.Nd command line utility to extract basic statistics from a GPX file
+.Sh SYNOPSIS
+.Nm
+.Ar file ...
+.Sh DESCRIPTION
+.Nm
+extracts basic statistics from a GPX file. It prints meta info
+about the file and calculates data about tracks and routes in the file,
+among which are times, distances, and uphill and downhill information.
+.Sh AUTHORS
+.Nm
+was written by
+.An Tomo Krajina Aq Mt tkrajina at gmail.com ,
+for copyright and license, see
+.Pa /usr/share/doc/gpxinfo/copyright .
+.Pp
+The man page was written for the Debian project by
+.An Dominik George Aq Mt nik at naturalnet.de .
diff --git a/debian/gpxinfo.lintian-overrides b/debian/gpxinfo.lintian-overrides
new file mode 100644
index 0000000..fd87157
--- /dev/null
+++ b/debian/gpxinfo.lintian-overrides
@@ -0,0 +1,2 @@
+# Upstream does not provide a changelog.
+gpxinfo binary: no-upstream-changelog
diff --git a/debian/gpxinfo.manpages b/debian/gpxinfo.manpages
new file mode 100644
index 0000000..4b0ccdc
--- /dev/null
+++ b/debian/gpxinfo.manpages
@@ -0,0 +1 @@
+debian/gpxinfo.1
diff --git a/debian/rules b/debian/rules
index 923733e..60cb88b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,9 @@ export PYBUILD_NAME=gpxpy
 
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_install:
+	dh_auto_install
+	mkdir -p debian/gpxinfo/usr/bin
+	mv debian/python3-gpxpy/usr/bin/gpxinfo debian/gpxinfo/usr/bin
+	rm -rf debian/python*-gpxpy/usr/bin

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/gpxpy.git



More information about the Python-modules-commits mailing list