gnu: python-pyelftools: Update to 0.28.
* gnu/packages/python-xyz.scm (python-pyelftools): Update to 0.28. [source]: Change to GIT-FETCH. [source](snippet): New field. [arguments]: Override check phase.
This commit is contained in:
parent
b5f7140151
commit
f6350f003e
1 changed files with 19 additions and 7 deletions
|
@ -17801,17 +17801,29 @@ multitouch applications.")
|
||||||
(define-public python-pyelftools
|
(define-public python-pyelftools
|
||||||
(package
|
(package
|
||||||
(name "python-pyelftools")
|
(name "python-pyelftools")
|
||||||
(version "0.25")
|
(version "0.28")
|
||||||
|
(home-page "https://github.com/eliben/pyelftools")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "pyelftools" version))
|
(uri (git-reference (url home-page)
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1z4fx39c9rds0bd4d2fjjq7n05b1nfxl36pmy523x8knm38l4gpr"))
|
||||||
"090vdksbz341f7ljvr0zswblw4lspa8qaiikzyjkf318arpxmil9"))))
|
(snippet
|
||||||
|
;; Delete bundled readelf executable.
|
||||||
|
'(delete-file "test/external_tools/readelf"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(home-page
|
(arguments
|
||||||
"https://github.com/eliben/pyelftools")
|
'(#:phases (modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
;; Taken from tox.ini.
|
||||||
|
(invoke "python" "test/run_all_unittests.py")
|
||||||
|
(invoke "python" "test/run_examples_test.py")
|
||||||
|
(invoke "python" "test/run_readelf_tests.py")))))))
|
||||||
(synopsis
|
(synopsis
|
||||||
"Analyze binary and library file information")
|
"Analyze binary and library file information")
|
||||||
(description "This Python library provides interfaces for parsing and
|
(description "This Python library provides interfaces for parsing and
|
||||||
|
|
Reference in a new issue