* [bug#42616] [PATCH] gnu: python2-setproctitle: fix build.
@ 2020-07-30 7:32 Michael Rohleder
2020-07-30 10:10 ` bug#42616: " Tobias Geerinckx-Rice via Guix-patches via
0 siblings, 1 reply; 2+ messages in thread
From: Michael Rohleder @ 2020-07-30 7:32 UTC (permalink / raw)
To: 42616
[-- Attachment #1.1: Type: text/plain, Size: 147 bytes --]
python2-setproctitle fails in test phase, because the "--embed"
parameter should not be used for python-config, but for python3-config,
it seems.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: [PATCH] gnu: python2-setproctitle: fix build. --]
[-- Type: text/x-patch, Size: 1301 bytes --]
From be8c9241a3dd2d9cf180ec82d787e891731b70e4 Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike@rohleder.de>
Date: Thu, 30 Jul 2020 09:22:22 +0200
Subject: [PATCH] gnu: python2-setproctitle: fix build.
* gnu/packages/python-xyz.scm (python2-setproctitle): fix build.
---
gnu/packages/python-xyz.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0b33fb3a4c..a5c2e60ce4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13529,9 +13529,9 @@ English stemmer.")
(replace 'check
(lambda _
(setenv "PYTHON" (or (which "python3") (which "python")))
- (setenv "PYCONFIG" (string-append (or (which "python3-config")
- (which "python-config"))
- " --embed"))
+ (setenv "PYCONFIG" (if (which "python3-config")
+ "python3-config --embed"
+ "python-config"))
(setenv "CC" "gcc")
;; No need to extend PYTHONPATH to find the built package, since
;; the Makefile will build anyway
--
2.27.0
[-- Attachment #1.3: Type: text/plain, Size: 59 bytes --]
--
Reality always seems harsher in the early morning.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#42616: [PATCH] gnu: python2-setproctitle: fix build.
2020-07-30 7:32 [bug#42616] [PATCH] gnu: python2-setproctitle: fix build Michael Rohleder
@ 2020-07-30 10:10 ` Tobias Geerinckx-Rice via Guix-patches via
0 siblings, 0 replies; 2+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2020-07-30 10:10 UTC (permalink / raw)
To: Michael Rohleder; +Cc: 42616-done
[-- Attachment #1: Type: text/plain, Size: 301 bytes --]
Michael Rohleder 写道:
> python2-setproctitle fails in test phase, because the "--embed"
> parameter should not be used for python-config, but for
> python3-config,
> it seems.
Indeed. Pushed with tweaked commit message as
39386de24439c81f1a7c683ae8c5dd1c5f24e09e.
Thanks!
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-30 10:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-30 7:32 [bug#42616] [PATCH] gnu: python2-setproctitle: fix build Michael Rohleder
2020-07-30 10:10 ` bug#42616: " Tobias Geerinckx-Rice via Guix-patches via
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.