[Python-modules-commits] [fabulous] 01/13: d/copyright: Use Files-Excluded to remove non-DFSG files

Ondřej Nový onovy at moszumanska.debian.org
Sun Aug 14 09:44:46 UTC 2016


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

onovy pushed a commit to branch master
in repository fabulous.

commit 191612c7ecc448635e2c4c5542539d4f7a57c467
Author: Ondřej Nový <onovy at debian.org>
Date:   Sun Aug 14 11:04:42 2016 +0200

    d/copyright: Use Files-Excluded to remove non-DFSG files
---
 debian/changelog |  1 +
 debian/copyright |  1 +
 debian/repack.sh | 36 ------------------------------------
 debian/watch     |  6 +++---
 4 files changed, 5 insertions(+), 39 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 14bce89..aa93874 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ fabulous (0.1.5+dfsg1-2) UNRELEASED; urgency=low
 
   [ Ondřej Nový ]
   * Fixed VCS URL (https)
+  * d/copyright: Use Files-Excluded to remove non-DFSG files
 
  -- Simon Chopin <chopin.simon at gmail.com>  Wed, 10 Jul 2013 15:36:12 +0200
 
diff --git a/debian/copyright b/debian/copyright
index 4f6113b..8e592ec 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,7 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: fabulous
 Source: http://lobstertech.com/fabulous.html
+Files-Excluded: fabulous/fonts
 
 Files: *
 Copyright: 2010-2012 Justine A.R Tunney <jtunney at gmail.com>
diff --git a/debian/repack.sh b/debian/repack.sh
deleted file mode 100755
index bf73aa8..0000000
--- a/debian/repack.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-
-# Taken from the X Strike Force Build System
-
-set -e
-
-if ! [ -d debian/prune ]; then
-	exit 0
-fi
-
-if [ "x$1" != x--upstream-version ]; then
-	exit 1
-fi
-
-version="$2"
-filename="$3"
-source="fabulous"
-
-
-if [ -z "$version" ] || ! [ -f "$filename" ]; then
-	exit 1
-fi
-
-dir="$(pwd)"
-tempdir="$(mktemp -d)"
-
-cd "$tempdir"
-tar xf "$dir/$filename"
-cat "$dir"/debian/prune/* | while read file; do rm -rf */$file; done
-
-tar czf "$dir/$source_$version+dfsg1.orig.tar.gz" *
-cd "$dir"
-rm -rf "$tempdir"
-echo "Done pruning upstream tarball"
-
-exit 0
diff --git a/debian/watch b/debian/watch
index 557dd34..1718631 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,4 @@
 version=3
-
-opts=dversionmangle=s/\+dfsg\d+// \
-http://lobstertech.com/fabulous.html /media/file/fabulous/fabulous-(.*)\.tar\.gz debian debian/repack.sh
+opts=uversionmangle=s/(rc|a|b|c)/~$1/,\
+repacksuffix=+dfsg1 \
+https://pypi.debian.net/fabulous/fabulous-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Python-modules-commits mailing list