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

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

[debbugs-tracker] bug#33762: closed (gnu: python-pyelftools: Fix tests w


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#33762: closed (gnu: python-pyelftools: Fix tests with python 3.7.)
Date: Sun, 16 Dec 2018 09:57:01 +0000

Your message dated Sun, 16 Dec 2018 11:56:47 +0200
with message-id <address@hidden>
and subject line gnu: python-pyelftools: Fix tests with python 3.7.
has caused the debbugs.gnu.org bug report #33762,
regarding gnu: python-pyelftools: Fix tests with python 3.7.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
33762: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33762
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: gnu: python-pyelftools: Fix tests with python 3.7. Date: Sat, 15 Dec 2018 23:23:41 +0100
* gnu/packages/python.scm (python-pyelftools)
  [native-inputs]: Remove python-setuptools.
  [arguments]: Add set-pythonpath phase.
---
 gnu/packages/python.scm | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 23b980ec3..cb40ce01d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -10627,9 +10627,16 @@ useful as a validator for JSON data.")
         (base32
          "090vdksbz341f7ljvr0zswblw4lspa8qaiikzyjkf318arpxmil9"))))
     (build-system python-build-system)
-    ;; Test suite requires python-setuptools
-    (native-inputs
-     `(("python-setuptools" ,python-setuptools)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'set-pythonpath
+           (lambda* (#:key inputs #:allow-other-keys)
+             (setenv "PYTHONPATH"
+                     (string-append
+                      (getcwd) "/test/"
+                      ":" (getenv "PYTHONPATH")))
+             #t)))))
     (home-page
      "https://github.com/eliben/pyelftools";)
     (synopsis
-- 
2.20.0

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message --- Subject: gnu: python-pyelftools: Fix tests with python 3.7. Date: Sun, 16 Dec 2018 11:56:47 +0200 User-agent: Mutt/1.11.0 (2018-11-25)
Pushed with minor changes as 9f23f6bc2f74957ab9832c973647b754448796a2

-- 
Efraim Flashner   <address@hidden>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

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