[med-svn] [tn-seqexplorer] 02/04: Upstream has tagged the release so use watch and Files-Excluded

Andreas Tille tille at debian.org
Sun May 7 06:04:21 UTC 2017


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

tille pushed a commit to branch master
in repository tn-seqexplorer.

commit 66d1aadf60bd4d32e522d3f552ae10788757fd20
Author: Andreas Tille <tille at debian.org>
Date:   Sun May 7 07:54:56 2017 +0200

    Upstream has tagged the release so use watch and Files-Excluded
---
 debian/changelog       |  2 +-
 debian/copyright       |  8 ++++++--
 debian/get-orig-source | 28 ----------------------------
 debian/watch           |  6 ++----
 4 files changed, 9 insertions(+), 35 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index eb34658..5632aae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-tn-seqexplorer (0.0+20151207-1) UNRELEASED; urgency=medium
+tn-seqexplorer (1.5+dfsg-1) UNRELEASED; urgency=medium
 
   * Initial release (Closes: #<bug>)
 
diff --git a/debian/copyright b/debian/copyright
index c8c6bef..7b7ad97 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,10 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: <pkg>
-Source: <path_to_download>
+Upstream-Name: Tn-seqExplorer
+Source: https://github.com/sina-cb/Tn-seqExplorer/releases
+Files-Excluded: */.DS_Store
+                */*.jar
+                */*.zip
+                src/resources
 Comment: **** Before manually editing this file you should give ****
            scan-copyrights
          **** available in cme + lib-config-model-dpkg-perl     ****
diff --git a/debian/get-orig-source b/debian/get-orig-source
deleted file mode 100755
index ab2dc0c..0000000
--- a/debian/get-orig-source
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh -e
-
-COMPRESS=xz
-
-NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
-ONAME=Tn-seqExplorer
-MVERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/^\([0-9\.]\+\)[+~][-0-9]\+$/\1/'`
-
-mkdir -p ../tarballs
-cd ../tarballs
-# need to clean up the tarballs dir first because upstream tarball might
-# contain a directory with unpredictable name
-rm -rf *
-git clone --quiet https://github.com/sina-cb/${ONAME} ${NAME}
-cd $NAME
-VERSION=${MVERSION}+`date -d @$(git show --format="%at" | head -n1) +%Y%m%d`
-# for esthetical reasons set file timestamps (if git-restore-mtime is installed)
-git restore-mtime || true
-cd ..
-TARDIR=${NAME}-${VERSION}
-mv ${NAME} ${TARDIR}
-rm -rf ${TARDIR}/.git
-find ${TARDIR} -name .DS_Store -delete
-find ${TARDIR} -name *.jar -delete
-find ${TARDIR} -name *.zip -delete
-
-GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}"
-rm -rf ${TARDIR}
diff --git a/debian/watch b/debian/watch
index ad9195c..eb8a8c0 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,4 @@
 version=4
 
-opts=dversionmangle=s/.*/0.No-Release/ \
-  https://people.debian.org/~eriberto/ FakeWatchNoUpstreamReleaseForThisPackage-(\d\S+)\.gz
-
-# https://github.com/sina-cb/Tn-seqExplorer/issues/2
+opts="repacksuffix=+dfsg,dversionmangle=s/\+dfsg//g,repack,compression=xz" \
+   https://github.com/sina-cb/Tn-seqExplorer/releases .*/archive/v(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/tn-seqexplorer.git



More information about the debian-med-commit mailing list