[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50854: [PATCH 0/2] Make the PyPI importer honor the ‘upstream-name’
From: |
Ludovic Courtès |
Subject: |
bug#50854: [PATCH 0/2] Make the PyPI importer honor the ‘upstream-name’ package property |
Date: |
Thu, 30 Sep 2021 23:24:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Xinglu Chen <public@yoctocell.xyz> skribis:
> If a PyPI package contains a “-” followed by one or more digits, e.g.,
> “AV-98”, the PyPI importer/updater will think that the digits after the
> “-” is the version of the package, and instead of trying to update
> “AV-98” it will try to update “AV”.
>
> $ ./pre-inst-env guix refresh av-98
> following redirection to `https://pypi.org/pypi/av/json'...
> /home/yoctocell/src/guix/gnu/packages/web-browsers.scm:914:13: av-98 would be
> upgraded from 1.0.1 to 8.0.3
>
> The first patch makes the PyPI importer honor the ‘upstream-name’
> property; it will also generate a package with an ‘upstream-name’
> property if the package name contains a “-” followed by one or more
> digits.
>
> The second patch sets the ‘upstream-name’ property for the ‘av-98’
> package.
Nice.
> Xinglu Chen (2):
> import: pypi: Honor the 'upstream-name' package property.
> gnu: av-98: Set 'upstream-name' property.
Applied, thanks!
Ludo'.