1
mirror of https://github.com/bitcoin/bitcoin synced 2024-09-27 04:20:02 +02:00

guix: use elfesteem 2eb1e5384ff7a220fd1afacd4a0170acff54fe56

Our patch has been merged upstream, see
https://github.com/LRGH/elfesteem/pull/3
This commit is contained in:
fanquake 2022-06-30 11:20:29 +01:00
parent 5bc10b39ab
commit 103c0d9f7e
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1
2 changed files with 2 additions and 16 deletions

View File

@ -253,7 +253,7 @@ thus should be able to compile on most platforms where these exist.")
(license license:gpl3+))) ; license is with openssl exception
(define-public python-elfesteem
(let ((commit "87bbd79ab7e361004c98cc8601d4e5f029fd8bd5"))
(let ((commit "2eb1e5384ff7a220fd1afacd4a0170acff54fe56"))
(package
(name "python-elfesteem")
(version (git-version "0.1" "1" commit))
@ -266,8 +266,7 @@ thus should be able to compile on most platforms where these exist.")
(file-name (git-file-name name commit))
(sha256
(base32
"1nyvjisvyxyxnd0023xjf5846xd03lwawp5pfzr8vrky7wwm5maz"))
(patches (search-our-patches "elfsteem-value-error-python-39.patch"))))
"07x6p8clh11z8s1n2kdxrqwqm2almgc5qpkcr9ckb6y5ivjdr5r6"))))
(build-system python-build-system)
;; There are no tests, but attempting to run python setup.py test leads to
;; PYTHONPATH problems, just disable the test

View File

@ -1,13 +0,0 @@
diff --git a/examples/otool.py b/examples/otool.py
index 2b8efc0..d797b2e 100755
--- a/examples/otool.py
+++ b/examples/otool.py
@@ -342,7 +342,7 @@ if __name__ == '__main__':
try:
e = macho_init.MACHO(raw,
parseSymbols = False)
- except ValueError, err:
+ except ValueError as err:
print("%s:" %file)
print(" %s" % err)
continue