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

Re: Watch file for riverbankcomputing (QScintilla)



Hi Guðjón!

On Sat, Aug 24, 2019 at 08:43:33AM +0200, Guðjón Guðjónsson wrote:
> I am working on the QScintilla package and starting on the watch file
> but I cannot figure out how to fix the URL. I tried to use the
> pyqt5 package as a template but without luck.
> The URL is
> https://www.riverbankcomputing.com/static/Downloads/QScintilla/2.11.2/QScintilla_gpl-2.11.2.tar.gz
> and the pyqt5 watch file contains:
> https://www.riverbankcomputing.com/software/pyqt/download5 \
> /static/Downloads/PyQt5/[\d.]+/PyQt5_gpl-([\d.]+)\.tar\.gz
>
> but it doesn't help me :(

The following seems to work for me:

version=3
opts=dversionmangle=s/\+dfsg// \
https://www.riverbankcomputing.com/software/qscintilla/download \
/static/Downloads/QScintilla/[\d.]+/QScintilla_gpl-([\d.]+)\.tar\.gz

If you are going to replace custom repacking code with Files-Excluded
field in debian/copyright, then change second line to this:

opts=dversionmangle=s/\+dfsg//,repacksuffix=+dfsg \

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


Reply to: