[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
138/150: gnu: python-igraph: Fix #:configure-flags.
From: |
guix-commits |
Subject: |
138/150: gnu: python-igraph: Fix #:configure-flags. |
Date: |
Sun, 24 Apr 2022 05:12:48 -0400 (EDT) |
lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit a92756c21ffa44fe199a368c6fcc437d59657dd3
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sat Jan 15 20:04:46 2022 +0100
gnu: python-igraph: Fix #:configure-flags.
* (python-igraph)[arguments]: Remove custom obsolete #:phases, turn
#:configure-flags into alist.
[origin]: Unvendor igraph sources.
---
gnu/packages/graph.scm | 20 ++------------------
1 file changed, 2 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index 1e5e64de62..f5b22efa29 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -156,24 +156,8 @@ more.")
"06qvwmiw2klk3bg8g5af0ppjwrm9kzy4595w5d06qh2v3gq0svbk"))))
(build-system python-build-system)
(arguments
- (list
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'specify-libigraph-location
- (lambda _
- (let ((igraph #$(this-package-input "igraph")))
- (substitute* "setup.py"
- (("(LIBIGRAPH_FALLBACK_INCLUDE_DIRS = ).*" _ var)
- (string-append
- var (format #f "[~s]~%" (string-append igraph
-
"/include/igraph"))))
- (("(LIBIGRAPH_FALLBACK_LIBRARY_DIRS = ).*" _ var)
- (string-append
- var (format #f "[~s]~%" (string-append igraph
"/lib"))))))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-v")))))))
+ `(#:configure-flags
+ `(@ ("--global-option" . ,(list "--use-pkg-config")))))
(inputs
(list igraph))
(propagated-inputs
- 76/150: gnu: python-pytest-catchlog: Disable tests., (continued)
- 76/150: gnu: python-pytest-catchlog: Disable tests., guix-commits, 2022/04/24
- 68/150: gnu: python-backcall: Add missing build inputs., guix-commits, 2022/04/24
- 70/150: gnu: python-pep8: Disable tests., guix-commits, 2022/04/24
- 90/150: gnu: tuir: Disable failing tests., guix-commits, 2022/04/24
- 96/150: gnu: python-webob: Disable tests., guix-commits, 2022/04/24
- 95/150: gnu: python-docker-pycreds: Disable tests., guix-commits, 2022/04/24
- 117/150: gnu: python-gphoto2: Disable tests., guix-commits, 2022/04/24
- 119/150: gnu: python-pytest-doctestplus: Add missing build input., guix-commits, 2022/04/24
- 126/150: gnu: python-backpack: Disable tests., guix-commits, 2022/04/24
- 133/150: gnu: python-cssselect2: Add missing build inputs., guix-commits, 2022/04/24
- 138/150: gnu: python-igraph: Fix #:configure-flags.,
guix-commits <=
- 141/150: gnu: python-pypa-build: Move inputs to propagated inputs., guix-commits, 2022/04/24
- 149/150: gnu: python-pytest-aiohttp: Disable tests., guix-commits, 2022/04/24
- 131/150: gnu: python-cloudpickle-testpkg: Disable tests., guix-commits, 2022/04/24
- 38/150: gnu: pybind11: Add python-setuptools., guix-commits, 2022/04/24
- 118/150: gnu: python-asyncmy: Add missing build input., guix-commits, 2022/04/24
- 144/150: gnu: python-lsp-jsonrpc: Add missing test input., guix-commits, 2022/04/24
- 41/150: gnu: python-pytest-cache: Disable tests., guix-commits, 2022/04/24
- 128/150: gnu: python-bitarray: Disable tests., guix-commits, 2022/04/24
- 130/150: gnu: python-bx-python: Disable tests., guix-commits, 2022/04/24
- 129/150: gnu: python-blessed: Remove tox.ini., guix-commits, 2022/04/24