[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60009] [PATCH 01/18] gnu: python-graphviz: Update to 0.20.1.
From: |
Ricardo Wurmus |
Subject: |
[bug#60009] [PATCH 01/18] gnu: python-graphviz: Update to 0.20.1. |
Date: |
Mon, 12 Dec 2022 15:26:59 +0100 |
* gnu/packages/graphviz.scm (python-graphviz): Update to 0.20.1.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom "check" phase; add "prepare-check" phase.
[native-inputs]: Remove python-mock.
---
gnu/packages/graphviz.scm | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
index 51c1de3932..7c2cb1eae0 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2013, 2015, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015, 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Theodoros Foradis <theodoros@foradis.org>
-;;; Copyright © 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2017, 2018, 2019, 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017 Gábor Boskovits <boskovits@gmail.com>
;;; Copyright © 2018 Mathieu Lirzin <mthl@gnu.org>
@@ -32,6 +32,7 @@
(define-module (gnu packages graphviz)
#:use-module (guix packages)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -180,27 +181,25 @@ (define-public graphviz-2.38
(define-public python-graphviz
(package
(name "python-graphviz")
- (version "0.13.2")
+ (version "0.20.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "graphviz" version ".zip"))
(sha256
(base32
- "009alrilzx0v7kl41khbq7k6k8b8pxyvbsi1b1ai933f6kpbxb30"))))
- (build-system python-build-system)
+ "1y1b956r01kg7qarkkrivhn71q64k0gbq6bcybd4gfd3v95g2n4c"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests #:allow-other-keys)
- (if tests
- (invoke "pytest" "-vv")
- (format #t "test suite not run~%"))
- #t)))))
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ (add-before 'check 'prepare-chec
+ ;; Needed for fontconfig cache directories
+ (lambda _ (setenv "HOME" (getcwd)))))))
(native-inputs
(list unzip
;; For tests.
graphviz
- python-mock
python-pytest
python-pytest-cov
python-pytest-mock))
--
2.36.1
- [bug#60009] Update python-graphviz and other Python updates., Ricardo Wurmus, 2022/12/12
- [bug#60009] [PATCH 01/18] gnu: python-graphviz: Update to 0.20.1.,
Ricardo Wurmus <=
- [bug#60009] [PATCH 03/18] gnu: python-biopython: Update to 1.80., Ricardo Wurmus, 2022/12/12
- [bug#60009] [PATCH 10/18] gnu: python-apsw: Update to 3.40.0.0., Ricardo Wurmus, 2022/12/12
- [bug#60009] [PATCH 13/18] gnu: python-marshmallow: Update to 3.19.0., Ricardo Wurmus, 2022/12/12
- [bug#60009] [PATCH 04/18] gnu: python-hicmatrix: Update to 16., Ricardo Wurmus, 2022/12/12
- [bug#60009] [PATCH 08/18] gnu: python-bokeh: Skip failing PIL test., Ricardo Wurmus, 2022/12/12
[bug#60009] [PATCH 11/18] gnu: python-cgatcore: Update to 0.6.14., Ricardo Wurmus, 2022/12/12