Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #11911 > unrolled thread
| Started by | MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> |
|---|---|
| First post | 2019-10-21 14:50 +0200 |
| Last post | 2019-10-21 17:10 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.debian.maint.python
[packaging] wurlitzer MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> - 2019-10-21 14:50 +0200
RE:[packaging] wurlitzer MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> - 2019-10-21 15:20 +0200
Re: [packaging] wurlitzer Dmitry Shachnev <mitya57@debian.org> - 2019-10-21 17:10 +0200
| From | MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> |
|---|---|
| Date | 2019-10-21 14:50 +0200 |
| Subject | [packaging] wurlitzer |
| Message-ID | <yTFih-2n0-1@gated-at.bofh.it> |
Hi everybody,
I am creating a package to release wurlitzer in debian.
But, I am facing an issue in the d/watch file [0] when uscan [1] seeks for the latest version to download on the pypi redirector [2].
[0] debian/watch file :
version=4
opts=pasv,repacksuffix=+dfsg1,\
pgpsigurlmangle=s/$/.asc/,\
uversionmangle=s/(rc|a|b|c)/~$1/,\
dversionmangle=s/\+dfsg\d*// \
https://www.pypi.org/project/wurlitzer/\
@PACKAGE@-@ANY_VERSION@(?:_src)?@ARCHIVE_EXT@ debian uupdate
[1]________________________________________________________________________________________________________________
scan info: uscan (version 2.19.5+deb10u1) See uscan(1) for help
uscan info: Scan watch files in .
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="wurlitzer" version="1.0.3-1" (as seen in debian/changelog)
uscan info: package="wurlitzer" version="1.0.3" (no epoch/revision)
uscan info: ./debian/changelog sets package="wurlitzer" version="1.0.3"
uscan info: Process watch file at: debian/watch
package = wurlitzer
version = 1.0.3
pkg_dir = .
uscan info: opts: pasv,repacksuffix=+dfsg1,pgpsigurlmangle=s/$/.asc/,uversionmangle=s/(rc|a|b|c)/~$1/,dversionmangle=s/\+dfsg\d*//
uscan info: line: https://www.pypi.org/project/wurlitzer/wurlitzer\-1.0.3\.tar\.gz
uscan info: Parsing pasv
uscan info: Set passive mode: 1
uscan info: Parsing repacksuffix=+dfsg1
uscan info: Parsing pgpsigurlmangle=s/$/.asc/
uscan info: Parsing uversionmangle=s/(rc|a|b|c)/~$1/
uscan info: Parsing dversionmangle=s/\+dfsg\d*//
uscan info: line: https://www.pypi.org/project/wurlitzer/wurlitzer\-1.0.3\.tar\.gz
Use of uninitialized value $filepattern in pattern match (m//) at /usr/share/perl5/Devscripts/Uscan/WatchLine.pm line 582.
uscan warn: Tag pattern missing version delimiters () in debian/watch, skipping:
https://www.pypi.org/project/wurlitzer/wurlitzer\-1.0.3\.tar\.gz
uscan info: Scan finished
__________________________________________________________________________________________________________________
[2] https://pypi.org/project/wurlitzer/
I do not seem to be able to deal with that issue so I am asking your help.
Cheers,
Alexandre Marie
[toc] | [next] | [standalone]
| From | MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> |
|---|---|
| Date | 2019-10-21 15:20 +0200 |
| Message-ID | <yTFLj-2NU-7@gated-at.bofh.it> |
| In reply to | #11911 |
I tried it as you said but I still get the same error :
___________________________________________________________________________________________________________________
uscan info: uscan (version 2.19.5+deb10u1) See uscan(1) for help
uscan info: Scan watch files in .
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="wurlitzer" version="1.0.3-1" (as seen in debian/changelog)
uscan info: package="wurlitzer" version="1.0.3" (no epoch/revision)
uscan info: ./debian/changelog sets package="wurlitzer" version="1.0.3"
uscan info: Process watch file at: debian/watch
package = wurlitzer
version = 1.0.3
pkg_dir = .
uscan info: opts: pgpmode=none
uscan info: line: https://pypi.python.org/pypi/wurlitzer/ https://pypi.python.org/packages/.*/.*/.*/wurlitzer-([\d\.]+).tar.gz#.* debian uupdate
uscan info: Parsing pgpmode=none
uscan info: line: https://pypi.python.org/pypi/wurlitzer/ https://pypi.python.org/packages/.*/.*/.*/wurlitzer-([\d\.]+).tar.gz#.* debian uupdate
uscan info: Last orig.tar.* tarball version (from debian/changelog): 1.0.3
uscan info: Last orig.tar.* tarball version (dversionmangled): 1.0.3
uscan info: Requesting URL:
https://pypi.python.org/pypi/wurlitzer/
uscan info: redirections: https://pypi.org/pypi/wurlitzer/ https://pypi.org/project/wurlitzer/
uscan info: Matching pattern:
(?:(?:https://pypi.python.org)?\/pypi\/wurlitzer\/)?https://pypi.python.org/packages/.*/.*/.*/wurlitzer-([\d\.]+).tar.gz#.* (?:(?:https://pypi.org)?\/pypi\/wurlitzer\/)?https://pypi.python.org/packages/.*/.*/.*/wurlitzer-([\d\.]+).tar.gz#.* (?:(?:https://pypi.org)?\/project\/wurlitzer\/)?https://pypi.python.org/packages/.*/.*/.*/wurlitzer-([\d\.]+).tar.gz#.*
uscan warn: In debian/watch no matching files for watch line
https://pypi.python.org/pypi/wurlitzer/ https://pypi.python.org/packages/.*/.*/.*/wurlitzer-([\d\.]+).tar.gz#.* debian uupdate
uscan info: Scan finished
___________________________________________________________________________________________________________________
Best regards,
Alexandre Marie
________________________________________
De : Andrius Merkys [andrius.merkys@gmail.com]
Envoyé : lundi 21 octobre 2019 15:06
À : debian-python@lists.debian.org
Objet : Re: [packaging] wurlitzer
On 2019-10-21 16:01, MARIE Alexandre wrote:
> Thanks for your fast answer, but I made a mistake when I pasted the error from the bash.
>
> Here is the real error (according to the d/watch file I gave you) :
I see. Have you tried the third PyPI watch file example from the manpage of uscan?:
version=4
opts="pgpmode=none" \
https://pypi.python.org/pypi/cfn-sphere/ \
https://pypi.python.org/packages/.*/.*/.*/\
cfn-sphere-([\d\.]+).tar.gz#.* debian uupdate
Just replace 'cfn-sphere' with the name of your package.
Best,
Andrius
[toc] | [prev] | [next] | [standalone]
| From | Dmitry Shachnev <mitya57@debian.org> |
|---|---|
| Date | 2019-10-21 17:10 +0200 |
| Message-ID | <yTHtL-3X3-7@gated-at.bofh.it> |
| In reply to | #11913 |
[Multipart message — attachments visible in raw view] — view raw
Hi all, On Mon, Oct 21, 2019 at 04:26:10PM +0300, Andrius Merkys wrote: > On 2019-10-21 16:15, MARIE Alexandre wrote: > > I tried it as you said but I still get the same error : > > Hmm. The layout on PyPI seems to have changed. Could you try this now?: > > version=4 > opts="pgpmode=none" \ > https://pypi.python.org/pypi/wurlitzer/ \ > https://files.pythonhosted.org/packages/.*/.*/.*/\ > wurlitzer-([\d\.]+).tar.gz debian uupdate A downside of this debian/watch is that it only sees the latest tarball, but not the historic releases. I think using one of these two pages will be better: - https://pypi.org/simple/wurlitzer/ - https://pypi.debian.net/wurlitzer/ -- Dmitry Shachnev
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web