Watch file results

component: main
debian_mangled_uversion: 1.9.2
debian_uversion: 1.9.2
distribution: debian
last_check: 2024-04-25 00:52:01.835956
release: sid
source: scheme48
status: up to date
upstream_url: https://s48.org/1.9.2/scheme48-1.9.2.tgz
upstream_version: 1.9.2
version: 1.9.2-2
watch_file:
# See uscan(1) manual for info.
# This file is currently broken.  When it works, move it to ./watch.
version=4

# Because http://s48.org/ has a link to 1.7/download.html instead of
# to 1.7/ -- this means that the nave
#
#     http://s48.org/(?:[[:digit:].]+)/scheme48-(?:[[:digit:].]+).tgz
#
# doesn't work, because uscan fetches http://s48.org/ and tries to
# find a link matching (?:[[:digit:].]+)/?$, which 1.7/download.html
# does not.
#
# Eric Cooper provided the following (working) replacement:
#opts=downloadurlmangle=s{s48.org/(.*)/download.html}{s48.org/$1/scheme48-$1.tgz} \
# http://s48.org/index.html  (.*)/download.html
#
# Daniel Leidert provided the following (working) replacement:
#  dversionmangle shamelessly stolen from http://wiki.debian.org/DEHS
opts=dversionmangle=s/\+dfsg//,downloadurlmangle=s{([^/]+)/download.html$}{$1/scheme48-$1.tgz},filenamemangle=s{([^/]+)/download.html}{scheme48-$1.tgz} \
  https://s48.org/index.html  ([\d\.]+)/download.html debian uupdate