Watch file results

component: main
debian_mangled_uversion: 1.7047
debian_uversion: 1.7047
distribution: debian
last_check: 2024-03-18 00:26:46.138392
release: sid
source: cpanminus
status: up to date
upstream_url: https://github.com/miyagawa/cpanminus/archive/1.7047.tar.gz
upstream_version: 1.7047
version: 1.7047-1
watch_file:
version=4

# Search on MetaCPAN for current stable release, download tarball from
# Github (with a sane name).
# Rationale: Github also contains beta versions with higher numbers.
# CPAN versions are fatpacked (whitespace-compression) which makes them not
# the "original source" (See #851506)

opts="downloadurlmangle=s%.*/App-cpanminus-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$%https://github.com/miyagawa/cpanminus/archive/$1.tar.gz%, \
      filenamemangle=s%(?:.*?)?v?(\d[\d.-]+)\.tar\.gz%cpanminus-$1.tar.gz%" \
      https://metacpan.org/release/App-cpanminus   .*/App-cpanminus-v?@ANY_VERSION@@ARCHIVE_EXT@$