[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: import: pypi: Support 'input-changes'.
From: |
guix-commits |
Subject: |
04/06: import: pypi: Support 'input-changes'. |
Date: |
Fri, 15 Oct 2021 17:20:13 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 50d2900e7621aed7aea99884b6d9b41c389167d9
Author: Xinglu Chen <public@yoctocell.xyz>
AuthorDate: Sat Oct 9 12:21:15 2021 +0200
import: pypi: Support 'input-changes'.
* guix/import/pypi.scm (latest-release): Specify the ‘input-changes’ field.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
---
guix/import/pypi.scm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index b7859c8..56854ff 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 David Thompson <davet@gnu.org>
;;; Copyright © 2015 Cyril Roelandt <tipecaml@gmail.com>
-;;; Copyright © 2015, 2016, 2017, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2015, 2016, 2017, 2019, 2020, 2021 Ludovic Courtès
<ludo@gnu.org>
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
@@ -540,9 +540,12 @@ VERSION, SOURCE-URL, HOME-PAGE, SYNOPSIS, DESCRIPTION, and
LICENSE."
(url (distribution-url
(latest-source-release pypi-package))))
(upstream-source
+ (urls (list url))
+ (input-changes
+ (changed-inputs package
+ (pypi->guix-package pypi-name)))
(package (package-name package))
- (version version)
- (urls (list url))))))))
+ (version version)))))))
(define %pypi-updater
(upstream-updater
- branch master updated (b87dbf2 -> 058ea26), guix-commits, 2021/10/15
- 01/06: lint: archival: Remove extra newline in warning., guix-commits, 2021/10/15
- 02/06: download: "GUIX_DOWNLOAD_FALLBACK_TEST=none" disables fallback mechanisms., guix-commits, 2021/10/15
- 04/06: import: pypi: Support 'input-changes'.,
guix-commits <=
- 06/06: refresh: Report suggested input changes with 'info'., guix-commits, 2021/10/15
- 03/06: swh: Allows token from Software Heritage authentication service., guix-commits, 2021/10/15
- 05/06: import: pypi: Remove leftover 'pk' call., guix-commits, 2021/10/15