[pycoast] 01/02: Use Files-Excluded & uscan repacksuffix for repacked upstream tarballs.

Bas Couwenberg sebastic at debian.org
Sun Jul 3 17:46:48 UTC 2016


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

sebastic pushed a commit to branch master
in repository pycoast.

commit 73e92a4cfad753ad41275f54ee0bdedadc32e249
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Jul 3 19:41:07 2016 +0200

    Use Files-Excluded & uscan repacksuffix for repacked upstream tarballs.
---
 debian/changelog | 1 +
 debian/copyright | 9 +++++++++
 debian/watch     | 5 +++--
 3 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a6c704b..a3c03a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,6 +28,7 @@ pycoast (0.5.4+dfsg.1-1) unstable; urgency=medium
     - Add additional copyright holders
     - Drop .0 from GPL license shortname
     - Add license & copyright for test data
+  * Use Files-Excluded & uscan repacksuffix for repacked upstream tarballs.
 
  -- Antonio Valentino <antonio.valentino at tiscali.it>  Sun, 03 Jul 2016 17:26:28 +0000
 
diff --git a/debian/copyright b/debian/copyright
index 3cd0d2e..6af93ef 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,15 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: pycoast
 Source: https://github.com/pytroll/pycoast
+ The upstream tarball is repacked to exclude pre-built documentation and
+ test data without unclear license. From the test data README:
+ "
+  This data is preliminary.
+  We await permission from the data provider
+  to include these shapes in pycoast testing.
+ "
+Files-Excluded: docs/build/*
+ pycoast/tests/test_data/shapes/*
 
 Files: *
 Copyright: 2011-2015, Esben S. Nielsen <esn at dmi.dk>
diff --git a/debian/watch b/debian/watch
index 0b2b0dd..229c0f4 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,7 +1,8 @@
 version=3
 opts=\
-dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\.?\d*$//,\
 uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/;s/\-/\./g,\
-filenamemangle=s/(?:.*?)?(?:rel|v|pycoast)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/pycoast-$1.$2/ \
+filenamemangle=s/(?:.*?)?(?:rel|v|pycoast)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/pycoast-$1.$2/,\
+repacksuffix=+dfsg \
 https://github.com/pytroll/pycoast/releases \
 (?:.*?/)?(?:rel|v|pycoast)?[\-\_]?(\d[\d\-\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Pkg-grass-devel mailing list