* [bug#33762] gnu: python-pyelftools: Fix tests with python 3.7.
@ 2018-12-15 22:23 Vagrant Cascadian
2018-12-16 9:56 ` bug#33762: " Efraim Flashner
0 siblings, 1 reply; 2+ messages in thread
From: Vagrant Cascadian @ 2018-12-15 22:23 UTC (permalink / raw)
To: 33762
[-- Attachment #1: Type: text/plain, Size: 1177 bytes --]
* 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#33762: gnu: python-pyelftools: Fix tests with python 3.7.
2018-12-15 22:23 [bug#33762] gnu: python-pyelftools: Fix tests with python 3.7 Vagrant Cascadian
@ 2018-12-16 9:56 ` Efraim Flashner
0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2018-12-16 9:56 UTC (permalink / raw)
To: 33762-done
[-- Attachment #1: Type: text/plain, Size: 284 bytes --]
Pushed with minor changes as 9f23f6bc2f74957ab9832c973647b754448796a2
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-12-16 9:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-15 22:23 [bug#33762] gnu: python-pyelftools: Fix tests with python 3.7 Vagrant Cascadian
2018-12-16 9:56 ` bug#33762: " Efraim Flashner
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).