mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: python-pyelftools: Fix tests with python 3.7.
* gnu/packages/python.scm (python-pyelftools) [native-inputs]: Remove python-setuptools. [arguments]: Add set-pythonpath phase. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
978154aee5
commit
9f23f6bc2f
1 changed files with 11 additions and 3 deletions
|
@ -56,6 +56,7 @@
|
||||||
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
|
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
|
||||||
;;; Copyright © 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
;;; Copyright © 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;; Copyright © 2018 Luther Thompson <lutheroto@gmail.com>
|
;;; Copyright © 2018 Luther Thompson <lutheroto@gmail.com>
|
||||||
|
;;; Copyright © 2018 Vagrant Cascadian <vagrant@debian.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -10707,9 +10708,16 @@ (define-public python-pyelftools
|
||||||
(base32
|
(base32
|
||||||
"090vdksbz341f7ljvr0zswblw4lspa8qaiikzyjkf318arpxmil9"))))
|
"090vdksbz341f7ljvr0zswblw4lspa8qaiikzyjkf318arpxmil9"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
;; Test suite requires python-setuptools
|
(arguments
|
||||||
(native-inputs
|
`(#:phases
|
||||||
`(("python-setuptools" ,python-setuptools)))
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'check 'set-pythonpath
|
||||||
|
(lambda _
|
||||||
|
(setenv "PYTHONPATH"
|
||||||
|
(string-append
|
||||||
|
(getcwd) "/test/"
|
||||||
|
":" (getenv "PYTHONPATH")))
|
||||||
|
#t)))))
|
||||||
(home-page
|
(home-page
|
||||||
"https://github.com/eliben/pyelftools")
|
"https://github.com/eliben/pyelftools")
|
||||||
(synopsis
|
(synopsis
|
||||||
|
|
Loading…
Reference in a new issue