[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/21: gnu: python-leidenalg: Fix build failure.
From: |
guix-commits |
Subject: |
15/21: gnu: python-leidenalg: Fix build failure. |
Date: |
Tue, 18 Jan 2022 13:38:50 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 38fdd118d0bcfcff47632ec28f89a4f5fc1dd8a1
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Tue Jan 18 17:50:19 2022 +0100
gnu: python-leidenalg: Fix build failure.
* gnu/packages/graph.scm (python-leidenalg)[arguments]: Add #:phases.
[native-inputs]: Add PYTHON-SETUPTOOLS.
---
gnu/packages/graph.scm | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index 30027c9827..095fe1c9d1 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Alexandre Hannud Abdo <abdo@member.fsf.org>
;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -474,9 +475,18 @@ Faiss library.")))
(base32
"15fwld9hdw357rd026mzcwpah5liy4f33vc9x9kwy37g71b2rjf1"))))
(build-system python-build-system)
- (arguments '(#:tests? #f)) ; tests are not included
+ (arguments
+ '(#:tests? #f ;tests are not included
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'fix-requirements
+ (lambda _
+ (substitute* "setup.py"
+ (("python-igraph >=")
+ "igraph >=")))))))
(native-inputs
- (list pkg-config))
+ ;; XXX: setuptools >= 58 as shipped with Python 3.9+ removes support
+ ;; for lib2to3, so use this older variant.
+ (list pkg-config python-setuptools))
(inputs
(list igraph))
(propagated-inputs
- 06/21: gnu: python-gevent: Update to 21.12.0., (continued)
- 06/21: gnu: python-gevent: Update to 21.12.0., guix-commits, 2022/01/18
- 02/21: gnu: arm-trusted-firmware: Use the default compiler., guix-commits, 2022/01/18
- 14/21: gnu: python-parse-type: Update to 0.5.2., guix-commits, 2022/01/18
- 11/21: gnu: python-kazoo: Update to 2.8.0., guix-commits, 2022/01/18
- 21/21: gnu: python-igraph: Do not inherit igraph replacements., guix-commits, 2022/01/18
- 17/21: gnu: python-aiohttp: Propagate attrs., guix-commits, 2022/01/18
- 13/21: gnu: python-pydot: Update to 1.4.2., guix-commits, 2022/01/18
- 18/21: gnu: python-sparqlwrapper: Build with older setuptools., guix-commits, 2022/01/18
- 12/21: gnu: python-pydot: Build with old pyparsing., guix-commits, 2022/01/18
- 08/21: gnu: python-libusb1: Update to 2.0.1., guix-commits, 2022/01/18
- 15/21: gnu: python-leidenalg: Fix build failure.,
guix-commits <=