summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-11-21 07:59:53 +0000
committerMike Frysinger <vapier@gentoo.org>2014-11-21 07:59:53 +0000
commit47d386283fd3dc7b131f9bd03674987279fa8477 (patch)
treef2a664e6b53caba89e8bdc68a48bac8dcd7cec24 /dev-python/pyelftools
parentVersion bump. (diff)
downloadgentoo-2-47d386283fd3dc7b131f9bd03674987279fa8477.tar.gz
gentoo-2-47d386283fd3dc7b131f9bd03674987279fa8477.tar.bz2
gentoo-2-47d386283fd3dc7b131f9bd03674987279fa8477.zip
Version bump #529960 by Arfrever Frehtes Taifersar Arahesis.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'dev-python/pyelftools')
-rw-r--r--dev-python/pyelftools/ChangeLog7
-rw-r--r--dev-python/pyelftools/pyelftools-0.23.ebuild30
2 files changed, 36 insertions, 1 deletions
diff --git a/dev-python/pyelftools/ChangeLog b/dev-python/pyelftools/ChangeLog
index d1b1eddc0a30..ecf812e915ec 100644
--- a/dev-python/pyelftools/ChangeLog
+++ b/dev-python/pyelftools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pyelftools
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyelftools/ChangeLog,v 1.21 2014/10/12 17:57:17 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyelftools/ChangeLog,v 1.22 2014/11/21 07:59:53 vapier Exp $
+
+*pyelftools-0.23 (21 Nov 2014)
+
+ 21 Nov 2014; Mike Frysinger <vapier@gentoo.org> +pyelftools-0.23.ebuild:
+ Version bump #529960 by Arfrever Frehtes Taifersar Arahesis.
12 Oct 2014; Tim Harder <radhermit@gentoo.org> metadata.xml:
Update repo metadata.
diff --git a/dev-python/pyelftools/pyelftools-0.23.ebuild b/dev-python/pyelftools/pyelftools-0.23.ebuild
new file mode 100644
index 000000000000..1802cf229eda
--- /dev/null
+++ b/dev-python/pyelftools/pyelftools-0.23.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyelftools/pyelftools-0.23.ebuild,v 1.1 2014/11/21 07:59:53 vapier Exp $
+
+EAPI="4"
+
+PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
+inherit distutils-r1
+
+DESCRIPTION="pure-Python library for parsing and analyzing ELF files and DWARF debugging information"
+HOMEPAGE="http://pypi.python.org/pypi/pyelftools https://github.com/eliben/pyelftools"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+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"
+IUSE="examples"
+
+python_test() {
+ # readelf_tests often fails due to host `readelf` changing output format
+ local t
+ for t in all_unittests examples_test ; do
+ "${PYTHON}" ./test/run_${t}.py || die "Tests fail with ${EPYTHON}"
+ done
+}
+
+python_install_all() {
+ use examples && local EXAMPLES=( examples/. )
+ distutils-r1_python_install_all
+}