1 |
commit: dfe9bb38835f966224c155d569861dbeb3b042be |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 4 00:36:36 2016 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 4 00:36:36 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfe9bb38 |
7 |
|
8 |
dev-python/pyelftools: version bump to 0.24 |
9 |
|
10 |
dev-python/pyelftools/Manifest | 1 + |
11 |
dev-python/pyelftools/pyelftools-0.24.ebuild | 30 ++++++++++++++++++++++++++++ |
12 |
2 files changed, 31 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/pyelftools/Manifest b/dev-python/pyelftools/Manifest |
15 |
index 221ec94..426cd33 100644 |
16 |
--- a/dev-python/pyelftools/Manifest |
17 |
+++ b/dev-python/pyelftools/Manifest |
18 |
@@ -1,2 +1,3 @@ |
19 |
DIST pyelftools-0.22.tar.gz 395525 SHA256 9f7dd617b8a577a3834e7dd7f34f49df21c0670e67a48b21add19abe1adffb60 SHA512 10a84d9d0e28cb609f252990fbc05747e0840c5efeeb6890e13076aa2d59780c7d1a5bd6036dee6f8b252a984796a3834183ccab1c1988473bc69646fe56867b WHIRLPOOL eac57cef3f4159deac907394995655e227aa1d034a3b4ec54728531d08ef1b4f8edee33d971a3423b32d08efba621496bb5e778ba090bc264db6d006da4f8842 |
20 |
DIST pyelftools-0.23.tar.gz 401363 SHA256 fc57aadd096e8f9b9b03f1a9578f673ee645e1513a5ff0192ef439e77eab21de SHA512 47102b2b0c69f357ba1c6af8e45157cd5395a74aaaf10fcccbf5b2d584a494aa16b1f6d08599459ae036f45888cb0fe422cb3241458e6ee0f1e8e1f32b3ae5d0 WHIRLPOOL 1492b08020bb7a106b939c8691f9910949a9d36241a8379f5358832b7b79a6ac1fdac4aaa928d65cd25fe466cb96bb38ef383bd9e79ae5fe0417aad53a1387a4 |
21 |
+DIST pyelftools-0.24.tar.gz 411874 SHA256 e9dd97d685a5b96b88a988dabadb88e5a539b64cd7d7927fac9a7368dc4c459c SHA512 5169617f9a8446ffc21dfc44ee185a388c8945a0296bdc6752483b0756888dccb10e3ee88e529d101cf31a4595de924b5c95f5459d5ee4448f57c0c4f2c56887 WHIRLPOOL 9523129a70f76a89ca6779f00df46f975b38080a2303cf1fb3666188be0aef2602f4970d195a70325f4a44e687e6393eb779a5f7d7431400f96a8ae602a32b26 |
22 |
|
23 |
diff --git a/dev-python/pyelftools/pyelftools-0.24.ebuild b/dev-python/pyelftools/pyelftools-0.24.ebuild |
24 |
new file mode 100644 |
25 |
index 00000000..562ff51 |
26 |
--- /dev/null |
27 |
+++ b/dev-python/pyelftools/pyelftools-0.24.ebuild |
28 |
@@ -0,0 +1,30 @@ |
29 |
+# Copyright 1999-2016 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+# $Id$ |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python2_7 python3_{4,5} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="pure-Python library for analyzing ELF files and DWARF debugging information" |
39 |
+HOMEPAGE="https://pypi.python.org/pypi/pyelftools https://github.com/eliben/pyelftools" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="public-domain" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" |
45 |
+IUSE="examples" |
46 |
+ |
47 |
+python_test() { |
48 |
+ # readelf_tests often fails due to host `readelf` changing output format |
49 |
+ local t |
50 |
+ for t in all_unittests examples_test ; do |
51 |
+ "${PYTHON}" ./test/run_${t}.py || die "Tests fail with ${EPYTHON}" |
52 |
+ done |
53 |
+} |
54 |
+ |
55 |
+python_install_all() { |
56 |
+ use examples && dodoc -r examples |
57 |
+ distutils-r1_python_install_all |
58 |
+} |