[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: uscan: version with dashes



On Wed, Oct 02, 2019 at 02:13:27PM +0200, Nico Schlömer wrote:
> a package now uses dashes instead of dots in upstream release tar
> names. The watch file

> opts=filenamemangle=s/.+\/trilinos-release-@ANY_VERSION@\.tar\.gz/trilinos-$1\.tar\.gz/

> uscan info: Newest version of trilinos on remote site is 12-14-1,
> local version is 12.12.1
> uscan info:    => Only older package available from
>       https://github.com/trilinos/Trilinos/archive/trilinos-release-12-14-1.tar.gz

> How to replace the dashes with dots?

uversionmangle=s/-/./g

-- 
⢀⣴⠾⠻⢶⣦⠀ A MAP07 (Dead Simple) raspberry tincture recipe: 0.5l 95% alcohol,
⣾⠁⢠⠒⠀⣿⡁ 1kg raspberries, 0.4kg sugar; put into a big jar for 1 month.
⢿⡄⠘⠷⠚⠋⠀ Filter out and throw away the fruits (can dump them into a cake,
⠈⠳⣄⠀⠀⠀⠀ etc), let the drink age at least 3-6 months.


Reply to: