summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-04-20 17:15:54 +0000
committerMichał Górny <mgorny@gentoo.org>2013-04-20 17:15:54 +0000
commit71319e9c5dd438916ac7b64f2580ae4e28ffa15f (patch)
treef923fa48e8d8eeae9d666ad3be53554ddb0a80e4 /dev-python/pyelftools
parentEnable chat support. (diff)
downloadgentoo-2-71319e9c5dd438916ac7b64f2580ae4e28ffa15f.tar.gz
gentoo-2-71319e9c5dd438916ac7b64f2580ae4e28ffa15f.tar.bz2
gentoo-2-71319e9c5dd438916ac7b64f2580ae4e28ffa15f.zip
Migrate to distutils-r1 again. Non-maintainers are welcome not to introduce regressions.
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!)
Diffstat (limited to 'dev-python/pyelftools')
-rw-r--r--dev-python/pyelftools/ChangeLog9
-rw-r--r--dev-python/pyelftools/pyelftools-0.21-r1.ebuild (renamed from dev-python/pyelftools/pyelftools-0.21.ebuild)16
2 files changed, 14 insertions, 11 deletions
diff --git a/dev-python/pyelftools/ChangeLog b/dev-python/pyelftools/ChangeLog
index 5c4f00dd998e..3c893df13b8e 100644
--- a/dev-python/pyelftools/ChangeLog
+++ b/dev-python/pyelftools/ChangeLog
@@ -1,6 +1,13 @@
# 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.4 2013/04/19 19:26:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyelftools/ChangeLog,v 1.5 2013/04/20 17:15:54 mgorny Exp $
+*pyelftools-0.21-r1 (20 Apr 2013)
+
+ 20 Apr 2013; Michał Górny <mgorny@gentoo.org> +pyelftools-0.21-r1.ebuild,
+ -pyelftools-0.21.ebuild:
+ Migrate to distutils-r1 again. Non-maintainers are welcome not to introduce
+ regressions.
+
*pyelftools-0.21 (19 Apr 2013)
19 Apr 2013; Mike Frysinger <vapier@gentoo.org> +pyelftools-0.21.ebuild:
diff --git a/dev-python/pyelftools/pyelftools-0.21.ebuild b/dev-python/pyelftools/pyelftools-0.21-r1.ebuild
index b7b6379e4d2c..f1168dbabbae 100644
--- a/dev-python/pyelftools/pyelftools-0.21.ebuild
+++ b/dev-python/pyelftools/pyelftools-0.21-r1.ebuild
@@ -1,13 +1,13 @@
# 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.ebuild,v 1.1 2013/04/19 19:26:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyelftools/pyelftools-0.21-r1.ebuild,v 1.1 2013/04/20 17:15:54 mgorny Exp $
-EAPI="4"
+EAPI=5
-SUPPORT_PYTHON_ABIS="1"
-inherit distutils
+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"
+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"
@@ -20,10 +20,6 @@ python_test() {
# readelf_tests often fails due to host `readelf` changing output format
local t
for t in all_unittests examples_test ; do
- PYTHONPATH=$(_distutils_get_PYTHONPATH) "$(PYTHON)" ./test/run_${t}.py || die
+ "${PYTHON}" ./test/run_${t}.py || die "Tests fail with ${EPYTHON}"
done
}
-
-src_test() {
- python_execute_function python_test
-}