Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #12926

Re: How to watch pypi.org, example

Path csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!news.uzoreto.com!aioe.org!bofh.it!news.nic.it!robomod
From Geert Stappers <stappers@stappers.nl>
Newsgroups linux.debian.maint.python
Subject Re: How to watch pypi.org, example
Date Mon, 05 Oct 2020 08:20:01 +0200
Message-ID <AWs0N-8uy-3@gated-at.bofh.it> (permalink)
References <AWe7v-7OL-5@gated-at.bofh.it> <AWoqe-65e-9@gated-at.bofh.it> <AWp2W-6zq-5@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Oct 5 06:18:30 2020
Old-Return-Path <stappers@stappers.nl>
X-Amavis-Spam-Status No, score=-7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent NeoMutt/20170113 (1.7.2)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/18685
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20201005061812.gnra2gbam5ammx4a@gpm.stappers.nl
Approved robomod@news.nic.it
Lines 56
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 5 Oct 2020 08:18:12 +0200
X-Original-Message-ID <20201005061812.gnra2gbam5ammx4a@gpm.stappers.nl>
X-Original-References <CAOh_QLeAesodC=CCL9pNO3zjBG8T2GC4rHjtOKRE0v2MLTonfA@mail.gmail.com> <CAKTje6Eq_bJssv7KFCxnRFV4wKOZLd2veUX4JRgEZAoaKZ3Wag@mail.gmail.com> <2568790.dCfHEtNFR5@zini-1880>
Xref csiph.com linux.debian.maint.python:12926

Show key headers only | View raw


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

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to watch pypi.org Fioddor Superconcentrado <fioddor@gmail.com> - 2020-10-04 17:30 +0200
  Re: How to watch pypi.org Geert Stappers <stappers@stappers.nl> - 2020-10-04 17:50 +0200
    Re: How to watch pypi.org Fioddor Superconcentrado <fioddor@gmail.com> - 2020-10-30 15:10 +0100
  Re: How to watch pypi.org Andrey Rahmatullin <wrar@debian.org> - 2020-10-04 17:50 +0200
    Re: How to watch pypi.org Fioddor Superconcentrado <fioddor@gmail.com> - 2020-10-30 15:10 +0100
  Re: How to watch pypi.org Paul Wise <pabs@debian.org> - 2020-10-05 04:30 +0200
    Re: How to watch pypi.org Scott Kitterman <debian@kitterman.com> - 2020-10-05 05:10 +0200
      Re: How to watch pypi.org, example Geert Stappers <stappers@stappers.nl> - 2020-10-05 08:20 +0200
    Re: How to watch pypi.org Fioddor Superconcentrado <fioddor@gmail.com> - 2020-10-30 15:20 +0100
      Re: How to watch pypi.org Andrey Rahmatullin <wrar@debian.org> - 2020-10-30 15:30 +0100
      Re: How to watch pypi.org Paul Wise <pabs@debian.org> - 2020-10-31 02:40 +0100
        Re: How to watch pypi.org Jeremy Stanley <fungi@yuggoth.org> - 2020-10-31 03:40 +0100
          Re: How to watch pypi.org Paul Wise <pabs@debian.org> - 2020-10-31 05:30 +0100
      Re: How to watch pypi.org Thomas Goirand <zigo@debian.org> - 2020-10-31 12:10 +0100
        Re: How to watch pypi.org Jeremy Stanley <fungi@yuggoth.org> - 2020-10-31 13:20 +0100
          Re: How to watch pypi.org Thomas Goirand <zigo@debian.org> - 2020-11-01 20:30 +0100
            Re: How to watch pypi.org Jeremy Stanley <fungi@yuggoth.org> - 2020-11-01 21:10 +0100
        Re: How to watch pypi.org Andrey Rahmatullin <wrar@debian.org> - 2020-10-31 15:50 +0100
          Re: How to watch pypi.org Jeremy Stanley <fungi@yuggoth.org> - 2020-10-31 18:40 +0100

csiph-web