summaryrefslogtreecommitdiff
path: root/debian/watch
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2025-09-16 12:37:12 +0200
committerChristoph Berg <myon@debian.org>2025-09-16 12:57:29 +0200
commit5a4967c577ad245a2117b7b2f71c13b1212fe285 (patch)
tree4d09343cfe757239895a0dd9b399242d2a07d7c2 /debian/watch
parent23c903a09fb1d73fd20b50323cd80cfb3aba8799 (diff)
Merge 2.7 changes, I had uploaded -1 from the wrong branch.debian/3.0.0_rc1+repack-2
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch29
1 files changed, 10 insertions, 19 deletions
diff --git a/debian/watch b/debian/watch
index 03c5a72a..d5480751 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,20 +1,11 @@
-# Use version 3 so uupdate.sh is passed the tarball name.
-#
-# Specify no-symlink so uscan doesn't try to invoke mk-origtargz to repack
-# the upstream tarball; debian/uupdate.sh will handle this, because upstream
-# ships their sources tarball within the download tarball.
-#
-# The sf.net redirector (see https://wiki.debian.org/debian/watch#SourceForge)
-# finds both "wsjtx-${version}.tgz" AND "wsjtx-${version}/wsjtx-${version}.tgz"
-# The first uversionmangle rule avoids a greedy regex match returning a version
-# like "wsjtx-${version}/wsjtx-${version}". The second maps '-' to '~'.
-# Examples returns from the sf.net redirector.
-#
-# https://qa.debian.org/watch/sf.php/wsjt/wsjtx-2.7.0-rc2.tgz (2.7.0~rc2) index=2.7.0~rc2-0
-# https://qa.debian.org/watch/sf.php/wsjt/wsjtx-2.7.0-rc2.tgz (2.7.0~rc2) index=2.7.0~rc2-0
-# https://qa.debian.org/watch/sf.php/wsjt/wsjtx-2.7.0-rc2/wsjtx-2.7.0-rc2.tgz (2.7.0~rc2) index=2.7.0~rc2-0
-# https://qa.debian.org/watch/sf.php/wsjt/wsjtx-2.7.0-rc2/wsjtx-2.7.0-rc2.tgz (2.7.0~rc2) index=2.7.0~rc2-0
+Version: 5
-version=3
-opts="uversionmangle=s/.*\/wsjtx-//;s/-rc/~rc/,dversionmangle=s/\+repack//,repacksuffix=+repack,no-symlink" \
-http://sf.net/wsjt/wsjtx-(.*?)\.tgz debian debian/uupdate.sh
+# no-symlink so uscan doesn't try to invoke mk-origtargz to repack
+# the upstream tarball; debian/uupdate.sh will handle this.
+Source: https://wsjt.sourceforge.io/wsjtx.html
+Matching-Pattern: .*wsjtx-(.*).tgz
+Dversionmangle: s/\+repack//
+No-Symlink: yes
+Repacksuffix: +repack
+Update-Script: debian/uupdate.sh
+Uversionmangle: s/-rc/~rc/