summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-11-01 05:44:11 +0000
committerMike Frysinger <vapier@gentoo.org>2012-11-01 05:44:11 +0000
commitbde708bdfa360cec01966c8c70528d4f82139f11 (patch)
tree5bf7aa9b41da8636f7f0bce0d05a2963f24d6041 /dev-python/pyelftools
parentBump of 4.0_rc (diff)
downloadgentoo-2-bde708bdfa360cec01966c8c70528d4f82139f11.tar.gz
gentoo-2-bde708bdfa360cec01966c8c70528d4f82139f11.tar.bz2
gentoo-2-bde708bdfa360cec01966c8c70528d4f82139f11.zip
Initial ebuild by me.
(Portage version: 2.2.0_alpha131/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyelftools')
-rw-r--r--dev-python/pyelftools/ChangeLog3
-rw-r--r--dev-python/pyelftools/metadata.xml9
-rw-r--r--dev-python/pyelftools/pyelftools-0.20.ebuild26
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/pyelftools/ChangeLog b/dev-python/pyelftools/ChangeLog
new file mode 100644
index 000000000000..548d8019426b
--- /dev/null
+++ b/dev-python/pyelftools/ChangeLog
@@ -0,0 +1,3 @@
+# ChangeLog for dev-python/pyelftools
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyelftools/ChangeLog,v 1.1 2012/11/01 05:44:11 vapier Exp $
diff --git a/dev-python/pyelftools/metadata.xml b/dev-python/pyelftools/metadata.xml
new file mode 100644
index 000000000000..2fa32ac12edd
--- /dev/null
+++ b/dev-python/pyelftools/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <upstream>
+ <remote-id type="pypi">pyelftools</remote-id>
+ <remote-id type="bitbucket">eliben/pyelftools</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pyelftools/pyelftools-0.20.ebuild b/dev-python/pyelftools/pyelftools-0.20.ebuild
new file mode 100644
index 000000000000..1af85a08a4cc
--- /dev/null
+++ b/dev-python/pyelftools/pyelftools-0.20.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyelftools/pyelftools-0.20.ebuild,v 1.1 2012/11/01 05:44:11 vapier Exp $
+
+EAPI="4"
+
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+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="~amd64 ~x86"
+IUSE=""
+
+src_test() {
+ local t
+ # readelf_tests fails
+ for t in all_unittests examples_test ; do
+ ./test/run_${t}.py || die
+ done
+}