GNU bug report logs -
#73314
PyPI importer gives null at home-page for some packages
Previous Next
Reported by: Evgeny Pisemsky <mail <at> pisemsky.site>
Date: Tue, 17 Sep 2024 11:24:01 UTC
Severity: normal
Tags: patch
Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #22 received at 73314 <at> debbugs.gnu.org (full text, mbox):
Change-Id: I501582988cf58b00bd201c12ad47e9b095988fae
---
guix/import/pypi.scm | 4 ++--
guix/packages.scm | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index 9a40dea1c1..dd43ebdcf3 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -116,8 +116,8 @@ (define-json-mapping <project-info> make-project-info project-info?
(license project-info-license) ;string
(download-url project-info-download-url ;string | #f
"download_url" non-empty-string-or-false)
- (home-page project-info-home-page ;string
- "home_page")
+ (home-page project-info-home-page ;string | #f
+ "home_page" non-empty-string-or-false)
(url project-info-url "project_url") ;string
(release-url project-info-release-url "release_url") ;string
(version project-info-version)) ;string
diff --git a/guix/packages.scm b/guix/packages.scm
index 70ccd8a924..18ab23e0aa 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -651,7 +651,7 @@ (define-record-type* <package>
(sanitize validate-texinfo)) ; one or two paragraphs
(license package-license ; (list of) <license>
(sanitize validate-license))
- (home-page package-home-page) ; string
+ (home-page package-home-page) ; string | #f
(supported-systems package-supported-systems ; list of strings
(default %supported-systems))
base-commit: e2c2f98edd5d64921678c2570439dedfe662b1f8
--
2.49.0
This bug report was last modified 46 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.