Subject: bug#33283: closed (Re: [bug#33283] [PATCH] gnu: Add python-pyelftools.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 07 Nov 2018 21:05:03 +0000

Your bug report

#33283: [PATCH] gnu: Add python-pyelftools.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
33283: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33283
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#33283] [PATCH] gnu: Add python-pyelftools.
From: [email-masked] (Ludovic Courtès)
To: Vagrant Cascadian <[email-masked]>
Cc: [email-masked]
Date: Wed, 07 Nov 2018 22:04:43 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Vagrant,

Vagrant Cascadian <[email-masked]> skribis:

> From ee20fe1b8e0ecb1fb706b7929af5e4bb63843ff5 Mon Sep 17 00:00:00 2001
> From: Vagrant Cascadian <[email-masked]>
> Date: Mon, 5 Nov 2018 19:36:57 +0000
> Subject: [PATCH] gnu: Add python-pyelftools.
>
> * gnu/packages/python.scm (python-pyelftools):
>   New public variable.

Applied with extra nitpicking below.  ;-)

Thank you!

Ludo’.

--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -10597,10 +10597,10 @@ useful as a validator for JSON data.")
      "https://github.com/eliben/pyelftools")
     (synopsis
      "Analyze binary and library file information")
-    (description "This Python Library provides interfaces for parsing and
+    (description "This Python library provides interfaces for parsing and
 analyzing two binary and library file formats; the Executable and Linking
-Format- ELF, and debugging information in the Debugging With Attributed
-Record Format- DWARF.")
+Format (ELF), and debugging information in the Debugging With Attributed
+Record Format (DWARF).")
     (license license:public-domain)))
 
 (define-public python-pyev

Subject: [PATCH] gnu: Add python-pyelftools.
From: Vagrant Cascadian <[email-masked]>
To: [email-masked]
Date: Mon, 05 Nov 2018 13:29:02 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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")
-- 
2.19.1