[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/10: gnu: sphinx: Use 'imagemagick/stable' variant.
From: |
guix-commits |
Subject: |
04/10: gnu: sphinx: Use 'imagemagick/stable' variant. |
Date: |
Mon, 22 Jan 2024 00:24:00 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 27e5fbe617c6755b3ea743c2d61b97515399a9ce
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Mon Mar 29 12:58:42 2021 +0200
gnu: sphinx: Use 'imagemagick/stable' variant.
As the store item does not retain a reference to imagemagick,
it should be safe to use the 'imagemagick/stable' variant.
* gnu/packages/sphinx.scm (python-sphinx)
[arguments] Add #:disallowed-references to make sure no references to
imagemagick are retained.
[native-inputs]: Use 'imagemagick/stable' instead of 'imagemagick' and
explain
why that's a safe thing to do.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I04bdc94e012f3fcb30c4ec113a0ae2e9d9373210
---
gnu/packages/sphinx.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 7e5a929241..d2e87ec895 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -18,6 +18,7 @@
;;; Copyright © 2021, 2022 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr>
;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -74,7 +75,10 @@
"12cdy3m5c09lpf2bbxzbhm5v5y9fk7jgm94qrzggpq86waj28cms"))))
(build-system python-build-system)
(arguments
- '(#:phases
+ `(;; Make sure it is safe to use 'imagemagick' instead of
+ ;; 'imagemagick/stable' (see the comment for the "imagemagick" input).
+ #:disallowed-references (,imagemagick/stable)
+ #:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
@@ -134,7 +138,11 @@
texlive-wrapfig
texlive-xcolor))
(native-inputs
- (list imagemagick ;for "convert"
+ ;; imagemagick is added for "convert". The store item does not retain a
+ ;; reference to imagemagick, so it should be safe to use
+ ;; 'imagemagick/stable' instead of 'imagemagick'. This is enforced by
+ ;; the '#:disallowed-references' above.
+ (list imagemagick/stable
python-cython
python-html5lib
python-pytest))
- branch core-updates updated (552ebc47af -> 7c60d1e14f), guix-commits, 2024/01/22
- 04/10: gnu: sphinx: Use 'imagemagick/stable' variant.,
guix-commits <=
- 06/10: guix: build-system: qt: Support #:disallowed-references., guix-commits, 2024/01/22
- 08/10: build-systems: cmake: Add support for #:allowed-references., guix-commits, 2024/01/22
- 09/10: gnu: inkscape/stable: Build stable variant without imagemagick support., guix-commits, 2024/01/22
- 10/10: gnu: hwdata: Update to 0.374., guix-commits, 2024/01/22
- 02/10: build-system: python: Add allowed/disallowed keyword arguments., guix-commits, 2024/01/22
- 01/10: gnu: Use 'gtk-doc/stable' in native-inputs instead of 'gtk-doc'., guix-commits, 2024/01/22
- 05/10: gnu: wpa-supplicant-gui: Use 'imagemagick/stable' variant., guix-commits, 2024/01/22
- 07/10: gnu: bandage: Do not yet use the 'imagemagick/stable' variant., guix-commits, 2024/01/22
- 03/10: build-system: pyproject: Add allowed/disallowed keyword arguments., guix-commits, 2024/01/22