guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/05: gnu: Add python-et-xmlfile.


From: guix-commits
Subject: 01/05: gnu: Add python-et-xmlfile.
Date: Sun, 17 Mar 2019 23:19:26 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 4caf37b0a7d3a3969795cd1364dda7229ea8ab04
Author: Maxim Cournoyer <address@hidden>
Date:   Fri Jan 11 11:25:54 2019 -0500

    gnu: Add python-et-xmlfile.
    
    * gnu/packages/python.scm (python-et-xmlfile): New variable.
---
 gnu/packages/python-xyz.scm | 32 +++++++++++++++++++++++++++++++-
 1 file changed, 31 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fa2701b..687e9cb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -54,7 +54,7 @@
 ;;; Copyright © 2018 Nicolas Goaziou <address@hidden>
 ;;; Copyright © 2018 Oleg Pykhalov <address@hidden>
 ;;; Copyright © 2018 Clément Lassieur <address@hidden>
-;;; Copyright © 2018 Maxim Cournoyer <address@hidden>
+;;; Copyright © 2018, 2019 Maxim Cournoyer <address@hidden>
 ;;; Copyright © 2018 Luther Thompson <address@hidden>
 ;;; Copyright © 2018 Vagrant Cascadian <address@hidden>
 ;;; Copyright © 2019 Brett Gilio <address@hidden>
@@ -832,6 +832,36 @@ messages in color.")
 (define-public python2-coloredlogs
   (package-with-python2 python-coloredlogs))
 
+(define-public python-et-xmlfile
+  (package
+    (name "python-et-xmlfile")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "et_xmlfile" version))
+       (sha256
+        (base32
+         "0nrkhcb6jdrlb6pwkvd4rycw34y3s931hjf409ij9xkjsli9fkb1"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (replace 'check
+                    (lambda _
+                      (invoke "pytest"))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-lxml" ,python-lxml)))   ;used for the tests
+    (home-page "https://bitbucket.org/openpyxl/et_xmlfile";)
+    (synopsis "Low memory implementation of @code{lxml.xmlfile}")
+    (description "This Python library is based upon the @code{xmlfile} module
+from @code{lxml}.  It aims to provide a low memory, compatible implementation
+of @code{xmlfile}.")
+    (license license:expat)))
+
+(define-public python2-et-xmlfile
+  (package-with-python2 python-et-xmlfile))
+
 (define-public python-eventlet
   (package
     (name "python-eventlet")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]