summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-09-28 11:32:05 +0000
committerMike Frysinger <vapier@gentoo.org>2013-09-28 11:32:05 +0000
commitf35bbad6d34465468be86899138a811782282414 (patch)
treec71136286e83d5eb7f6bc9027d7c6b5281878ffd /dev-python/pyelftools
parentVersion bump, add unit file (#482690 by Yichao Zhou) (diff)
downloadgentoo-2-f35bbad6d34465468be86899138a811782282414.tar.gz
gentoo-2-f35bbad6d34465468be86899138a811782282414.tar.bz2
gentoo-2-f35bbad6d34465468be86899138a811782282414.zip
Re-add Michał Górny's distutils-r1 now that the eclass supports EAPI=4 #472500 by Blu3.
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'dev-python/pyelftools')
-rw-r--r--dev-python/pyelftools/ChangeLog8
-rw-r--r--dev-python/pyelftools/pyelftools-0.21-r3.ebuild25
2 files changed, 32 insertions, 1 deletions
diff --git a/dev-python/pyelftools/ChangeLog b/dev-python/pyelftools/ChangeLog
index 787a6fe81798..0bd7d0cb271c 100644
--- a/dev-python/pyelftools/ChangeLog
+++ b/dev-python/pyelftools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pyelftools
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyelftools/ChangeLog,v 1.8 2013/04/24 01:35:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyelftools/ChangeLog,v 1.9 2013/09/28 11:32:05 vapier Exp $
+
+*pyelftools-0.21-r3 (28 Sep 2013)
+
+ 28 Sep 2013; Mike Frysinger <vapier@gentoo.org> +pyelftools-0.21-r3.ebuild:
+ Re-add Michał Górny's distutils-r1 now that the eclass supports EAPI=4 #472500
+ by Blu3.
*pyelftools-0.21-r2 (24 Apr 2013)
diff --git a/dev-python/pyelftools/pyelftools-0.21-r3.ebuild b/dev-python/pyelftools/pyelftools-0.21-r3.ebuild
new file mode 100644
index 000000000000..c6eb3e418343
--- /dev/null
+++ b/dev-python/pyelftools/pyelftools-0.21-r3.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyelftools/pyelftools-0.21-r3.ebuild,v 1.1 2013/09/28 11:32:05 vapier Exp $
+
+EAPI="4"
+
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+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://bitbucket.org/eliben/pyelftools"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE=""
+
+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
+}