On Thu, May 14, 2020 at 10:42:44AM +0300, Peter Pentchev wrote: > On Thu, May 14, 2020 at 11:03:18AM +0800, atzlinux 肖盛文 wrote: > > Hi,Peter, > > > > Thanks for your sponsor. > > > > 在 2020/5/13 下午6:39, Peter Pentchev 写道: > > > Uploaded, thanks for your work! > > > > > > For future reference: > > > - you could shorten the rules file even further by using the new > > > "execute_after" targets available in debhelper 13 > > done in git.[1] > > > - you could use the watch file format 4 and use @ANY_VERSION@ and > > > @ARCHIVE_EXT@ > > done in git.[2] > > > > updated to format 4. > > > > cat watch > > > > /version=4// > > //opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/@PACKAGE@-$1\.tar\.gz/ \// > > // https://github.com/iptux-src/@PACKAGE@/tags .*/v?(\d\S*)@ARCHIVE_EXT@/ > > > > I used @PACKAGE@, @ARCHIVE_EXT@, > > > > but @ANY_VERSION@ perhaps is not very fit for github. > > Hm, it seems to work for me for the gitless package. Also, the attached > patch works for me for the iptux package - I guess it may not be very > well documented that @ANY_VERSION@ is a regular expression group, so you > don't have to put it in () by itself, if that's what you tried. If anybody who works on the uscan package is reading this, I apologize - the uscan manual page explicitly notes which of the variables produce capturing regular expressions and which ones produce non-capturing ones. G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@debian.org pp@storpool.com PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13
Attachment:
signature.asc
Description: PGP signature