guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: Add python-lit, python2-lit.


From: Leo Famulari
Subject: 01/01: gnu: Add python-lit, python2-lit.
Date: Tue, 13 Sep 2016 16:41:59 +0000 (UTC)

lfam pushed a commit to branch master
in repository guix.

commit 243db8245e6d8ee6aae80ce4606fb58cb8b23443
Author: Danny Milosavljevic <address@hidden>
Date:   Tue Sep 13 12:30:40 2016 +0200

    gnu: Add python-lit, python2-lit.
    
    * gnu/packages/python.scm (python-lit, python2-lit): New variables.
    
    Signed-off-by: Leo Famulari <address@hidden>
---
 gnu/packages/python.scm |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e918149..e2e1ec2 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -10324,3 +10324,31 @@ Python to manipulate OpenDocument 1.2 files.")
              (native-inputs
               `(("python2-setuptools" ,python2-setuptools)
                 ,@(package-native-inputs base))))))
+
+(define-public python-lit
+  (package
+    (name "python-lit")
+    (version "0.5.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "lit" version))
+        (sha256
+         (base32
+          "135m2b9cwih85g66rjggavck328z7lj37srgpq3jxszbg0g2b91y"))))
+    (build-system python-build-system)
+    (home-page "http://llvm.org/";)
+    (synopsis "LLVM Software Testing Tool")
+    (description "@code{lit} is a portable tool for executing LLVM and Clang
+style test suites, summarizing their results, and providing indication of
+failures.")
+    (license license:ncsa)
+    (properties `((python2-variant . ,(delay python2-lit))))))
+
+(define-public python2-lit
+  (let ((base (package-with-python2 (strip-python2-variant python-lit))))
+    (package
+      (inherit base)
+      (native-inputs
+       `(("python2-setuptools" ,python2-setuptools)
+         ,@(package-native-inputs base))))))



reply via email to

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