On Sun, Oct 04, 2020 at 10:53:47PM -0400, Scott Kitterman wrote: > On Sunday, October 4, 2020 10:24:22 PM EDT Paul Wise wrote: > > On Sun, Oct 4, 2020 at 3:29 PM Fioddor Superconcentrado wrote: > > > I've packaged a project provided via https://pipi.org and I wanted to > > > create a debian/watch file but pipi.org publishes the tarball behind a > > > strange url like > > I would suggest using the upstream git repo instead of the PyPi tarballs. > > I think that's a different argument. > > There is a pypi redirector for Debian watch files. Something like this works > (this is from the pyspf package): > > https://pypi.debian.net/pyspf/pyspf-([0-9][0-9t\.\-]*).tar.gz > > This currently works, but no guarantee for how long: > > https://pypi.python.org/packages/source/x/@PACKAGE@/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@ https://pypi.python.org/packages/source/x/@PACKAGE@/@PACKAGE@-@ANY_VERSION@@ARCHIVE_EXT@
And learning is also learning from examples. <screenshot> stappers@paddy:~ $ cd packaging_dir/ stappers@paddy:packaging_dir $ debcheckout pyspf declared git repository at https://salsa.debian.org/python-team/modules/pyspf.git git clone https://salsa.debian.org/python-team/modules/pyspf.git pyspf ... Cloning into 'pyspf'... remote: Enumerating objects: 1039, done. remote: Counting objects: 100% (1039/1039), done. remote: Compressing objects: 100% (368/368), done. remote: Total 1039 (delta 612), reused 943 (delta 551), pack-reused 0 Receiving objects: 100% (1039/1039), 237.12 KiB | 415.00 KiB/s, done. Resolving deltas: 100% (612/612), done. stappers@paddy:packaging_dir $ cd pyspf stappers@paddy:packaging_dir/pyspf $ cat debian/watch version=3 https://pypi.debian.net/pyspf/pyspf-([0-9][0-9t\.\-]*).tar.gz stappers@paddy:packaging_dir/pyspf $ </screenshot> Regards Geert Stappers -- Silence is hard to parse