[imposm-parser] 09/17: Repack upstream tarball to exclude .egg-info directory.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Mon Aug 31 14:07:13 UTC 2015


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

sebastic pushed a commit to branch master
in repository imposm-parser.

commit 31e342c05f819df1e495e8b6a6f2e2c5c4548e79
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Aug 31 15:15:56 2015 +0200

    Repack upstream tarball to exclude .egg-info directory.
---
 debian/changelog | 1 +
 debian/copyright | 3 +++
 debian/watch     | 3 ++-
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 994ecdb..c591577 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,7 @@ imposm-parser (1.0.6-1) UNRELEASED; urgency=low
   * Add gbp.conf to use pristine-tar by default.
   * Use pybuild buildsystem and enable parallel builds.
   * Add upstream metadata.
+  * Repack upstream tarball to exclude .egg-info directory.
 
  -- David Paleino <dapal at debian.org>  Mon, 04 Nov 2013 17:33:40 +0100
 
diff --git a/debian/copyright b/debian/copyright
index 5c3e3e0..fe9d616 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,6 +2,9 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: imposm.parser
 Upstream-Contact: Oliver Tonnhofer <olt at omniscale.de>
 Source: http://pypi.debian.net/imposm.parser/
+Comment: The upstream sources are repacked to excluded the
+ imposm.parser.egg-info directory that is automatically removed by dh_clean.
+Files-Excluded: imposm.parser.egg-info/*
 
 Files: *
 Copyright: 2011, Omniscale GmbH & Co. KG
diff --git a/debian/watch b/debian/watch
index df0219f..3e1e952 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,6 @@
 version=3
 opts=\
 dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
-uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/ \
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/,\
+repacksuffix=+ds \
 http://pypi.debian.net/imposm.parser/imposm.parser-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Pkg-grass-devel mailing list