emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42616: closed ([PATCH] gnu: python2-setproctitle: fix build.)


From: GNU bug Tracking System
Subject: bug#42616: closed ([PATCH] gnu: python2-setproctitle: fix build.)
Date: Thu, 30 Jul 2020 10:11:02 +0000

Your message dated Thu, 30 Jul 2020 12:10:45 +0200
with message-id <87bljx9uu2.fsf@nckx>
and subject line Re: [bug#42616] [PATCH] gnu: python2-setproctitle: fix build.
has caused the debbugs.gnu.org bug report #42616,
regarding [PATCH] gnu: python2-setproctitle: fix build.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
42616: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42616
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: python2-setproctitle: fix build. Date: Thu, 30 Jul 2020 09:32:18 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
python2-setproctitle fails in test phase, because the "--embed"
parameter should not be used for python-config, but for python3-config,
it seems.

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

-- 
Reality always seems harsher in the early morning.

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message --- Subject: Re: [bug#42616] [PATCH] gnu: python2-setproctitle: fix build. Date: Thu, 30 Jul 2020 12:10:45 +0200
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: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]