[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/11: import: pypi: Refresher recognizes pythonhosted.org source URLs.
From: |
guix-commits |
Subject: |
09/11: import: pypi: Refresher recognizes pythonhosted.org source URLs. |
Date: |
Wed, 18 Sep 2019 17:10:38 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 45fbc15a48d04cf9deaa5d40658846426cc94845
Author: Ludovic Courtès <address@hidden>
Date: Wed Sep 18 22:53:17 2019 +0200
import: pypi: Refresher recognizes pythonhosted.org source URLs.
This is a followup to a5376200541abf8245973e601be246bf65b8b6c7.
Since that commit, 'pypi-package?' would return false for most Python
packages, and thus "guix refresh python-xxx" would report that no
updaters apply to the package.
* guix/import/pypi.scm (pypi-package?)[pypi-url?]: Recognize
"files.pythonhosted.org" URLs.
---
guix/import/pypi.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index 9b3d80a..354cae9 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -437,7 +437,8 @@ VERSION, SOURCE-URL, HOME-PAGE, SYNOPSIS, DESCRIPTION, and
LICENSE."
(define (pypi-url? url)
(or (string-prefix? "https://pypi.org/" url)
(string-prefix? "https://pypi.python.org/" url)
- (string-prefix? "https://pypi.org/packages" url)))
+ (string-prefix? "https://pypi.org/packages" url)
+ (string-prefix? "https://files.pythonhosted.org/packages" url)))
(let ((source-url (and=> (package-source package) origin-uri))
(fetch-method (and=> (package-source package) origin-method)))
- branch master updated (cf48ea9 -> da55110), guix-commits, 2019/09/18
- 04/11: gnu: Add python-jupyter-protocol., guix-commits, 2019/09/18
- 06/11: gnu: Add python-jupyter-kernel-test., guix-commits, 2019/09/18
- 01/11: guix package: "guix package -f FILE" ensures FILE returns a package., guix-commits, 2019/09/18
- 02/11: linux-container: 'eval/container' correctly passes -L and -C flags., guix-commits, 2019/09/18
- 05/11: gnu: Add python-jupyter-kernel-mgmt., guix-commits, 2019/09/18
- 08/11: doc: Mention the "repository name" for 'guix pack -f docker'., guix-commits, 2019/09/18
- 07/11: gnu: Add Xeus., guix-commits, 2019/09/18
- 03/11: gnu: nlohmann-json-cpp: Update to 3.7.0., guix-commits, 2019/09/18
- 09/11: import: pypi: Refresher recognizes pythonhosted.org source URLs.,
guix-commits <=
- 11/11: scripts: pull: Add options for generation management, guix-commits, 2019/09/18
- 10/11: pull: Work around Ubuntu's 'sudo'., guix-commits, 2019/09/18