From patchwork Mon Nov 5 21:29:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vagrant Cascadian X-Patchwork-Id: 124 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 80C81167BC; Mon, 5 Nov 2018 21:36:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTPS id 3337E1674D for ; Mon, 5 Nov 2018 21:36:23 +0000 (GMT) Received: from localhost ([::1]:37670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJmXm-0004D5-If for patchwork@mira.cbaines.net; Mon, 05 Nov 2018 16:36:22 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJmXg-0004Cu-HO for guix-patches@gnu.org; Mon, 05 Nov 2018 16:36:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJmXW-0000Cs-27 for guix-patches@gnu.org; Mon, 05 Nov 2018 16:36:12 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:59750) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJmXS-000073-QQ for guix-patches@gnu.org; Mon, 05 Nov 2018 16:36:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gJmXS-00041s-M4 for guix-patches@gnu.org; Mon, 05 Nov 2018 16:36:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33283] [PATCH] gnu: Add python-pyelftools. Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Nov 2018 21:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33283 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33283@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154145371215424 (code B ref -1); Mon, 05 Nov 2018 21:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Nov 2018 21:35:12 +0000 Received: from localhost ([127.0.0.1]:35775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJmWe-00040i-IU for submit@debbugs.gnu.org; Mon, 05 Nov 2018 16:35:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJmWc-00040T-U4 for submit@debbugs.gnu.org; Mon, 05 Nov 2018 16:35:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJmWW-0007SP-W4 for submit@debbugs.gnu.org; Mon, 05 Nov 2018 16:35:05 -0500 Received: from lists.gnu.org ([2001:4830:134:3::11]:33311) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gJmWW-0007Ru-Py for submit@debbugs.gnu.org; Mon, 05 Nov 2018 16:35:04 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJmWQ-0003Nf-MS for guix-patches@gnu.org; Mon, 05 Nov 2018 16:35:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJmRH-00078G-6O for guix-patches@gnu.org; Mon, 05 Nov 2018 16:29:44 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]:42278) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJmRE-0006ew-V4 for guix-patches@gnu.org; Mon, 05 Nov 2018 16:29:38 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100b]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 386971AAC3 for ; Mon, 5 Nov 2018 13:29:24 -0800 (PST) From: Vagrant Cascadian Date: Mon, 05 Nov 2018 13:29:02 -0800 Message-ID: <87o9b32oyp.fsf@aikidev.net> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python.scm (python-pyelftools): New public variable. --- gnu/packages/python.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 54ea0caac..c553ab319 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -10578,6 +10578,29 @@ useful as a validator for JSON data.") (define-public python2-validictory (package-with-python2 python-validictory)) +(define-public python-pyelftools + (package + (name "python-pyelftools") + (version "0.25") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyelftools" version)) + (sha256 + (base32 + "090vdksbz341f7ljvr0zswblw4lspa8qaiikzyjkf318arpxmil9")))) + (build-system python-build-system) + ;; Test suite requires python-setuptools + (native-inputs + `(("python-setuptools" ,python-setuptools))) + (home-page + "https://github.com/eliben/pyelftools") + (synopsis + "Library for analyzing ELF files and DWARF debugging information") + (description + "Library for analyzing ELF files and DWARF debugging information") + (license license:public-domain))) + (define-public python-pyev (package (name "python-pyev")