Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #14281
| Path | csiph.com!1.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!news.in-chemnitz.de!news2.arglkargh.de!news.mixmin.net!eternal-september.org!reader01.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Andreas Tille <andreas@an3as.eu> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian |
| Date | Mon, 25 Jul 2022 10:10:01 +0200 |
| Message-ID | <EN1k5-dHa4-9@gated-at.bofh.it> (permalink) |
| References | <EGMH7-9T1d-1@gated-at.bofh.it> <ELGhH-cRjA-5@gated-at.bofh.it> <ELJyV-cT91-37@gated-at.bofh.it> <ELLr3-cUhj-1@gated-at.bofh.it> <ELMn7-cUQL-1@gated-at.bofh.it> <ELVqp-d1a6-1@gated-at.bofh.it> <EMejn-ddqc-1@gated-at.bofh.it> <EMgXT-dfb6-9@gated-at.bofh.it> <EMoiK-djEY-3@gated-at.bofh.it> <EMpHP-dkm0-1@gated-at.bofh.it> |
| X-Original-To | debian-python@lists.debian.org |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Mon Jul 25 08:09:24 2022 |
| Old-Return-Path | <andreas@an3as.eu> |
| X-Amavis-Spam-Status | No, score=-5.99 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=no autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -4.6 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/20116 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/Yt5PoUwIw6mjd0jx@an3as.eu |
| Approved | robomod@news.nic.it |
| Lines | 34 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Mon, 25 Jul 2022 10:09:05 +0200 |
| X-Original-Message-ID | <Yt5PoUwIw6mjd0jx@an3as.eu> |
| X-Original-References | <CAB4XWXyAZy32vcDCN0MmB59w6Riex3OMS16rEzLJQdjYZoZv2g@mail.gmail.com> <YtlvDtDmeLOym2g/@an3as.eu> <CAB4XWXwMpnrafur14Wz_bVRhARyYS8LKVnr+wCzgKZ=kjjSgrw@mail.gmail.com> <Ytm9X9+0dP/ynMAX@an3as.eu> <CAB4XWXzPdi2nYF1TEqd6TO2_MW3H2G-zVe=W5_U8syF6PXFeew@mail.gmail.com> <YtpR9Gh97x+pdI47@an3as.eu> <CAB4XWXxwyvDdNNQ0H+__WSuBBG7ErV57cx01stt1c0jKdh6NEg@mail.gmail.com> <YtuWjIHqhTFl5UMs@an3as.eu> <CAB4XWXzoEXQOJvKV-PMZG57sh1mpJPKzjpLQ5bLpi+UDpR38yQ@mail.gmail.com> <YtwZXDNMUcC41FVU@an3as.eu> |
| Xref | csiph.com linux.debian.maint.python:14281 |
Show key headers only | View raw
Hi Sandro,
I was able to run
py2dsp pystow
with a sufficient result for my purposes with the following patch:
diff --git a/pypi2deb/pypi.py b/pypi2deb/pypi.py
index 3e342c0..0639de3 100644
--- a/pypi2deb/pypi.py
+++ b/pypi2deb/pypi.py
@@ -38,8 +38,8 @@ log = logging.getLogger('pypi2deb')
@asyncio.coroutine
def get_pypi_info(name, version=None):
url = PYPI_JSON_URL + '/' + name
- if version:
- url += '/' + version
+# if version:
+# url += '/' + version
url += '/json'
session = None
try:
Since I do not really understand pypi2deb and what role version might have I do
not step further (MR or so) from this point but leave it to you to decide whether
this is useful or not.
Kind regards
Andreas.
--
http://fam-tille.de
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian Sandro Tosi <morph@debian.org> - 2022-07-08 05:20 +0200
Re: Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian Emmanuel Arias <emmanuelarias30@gmail.com> - 2022-07-08 13:20 +0200
Re: Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-21 17:30 +0200
Re: Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian Sandro Tosi <morph@debian.org> - 2022-07-21 21:00 +0200
Re: Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-21 23:00 +0200
Re: Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian Sandro Tosi <morph@debian.org> - 2022-07-22 00:00 +0200
Re: Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-22 09:40 +0200
Re: Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian Sandro Tosi <morph@debian.org> - 2022-07-23 05:50 +0200
Re: Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-23 08:40 +0200
Re: Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian Sandro Tosi <morph@debian.org> - 2022-07-23 16:30 +0200
Re: Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-23 18:00 +0200
Re: Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-25 10:10 +0200
Re: Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-25 11:20 +0200
csiph-web