guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: python2-pbr-0.11: Build with python2-testrepository.


From: Leo Famulari
Subject: 01/01: gnu: python2-pbr-0.11: Build with python2-testrepository.
Date: Wed, 10 Aug 2016 22:15:39 +0000 (UTC)

lfam pushed a commit to branch wip-python
in repository guix.

commit e6e130c01e8ce48b1b0a5008ccd2dbd057b3117b
Author: Leo Famulari <address@hidden>
Date:   Wed Aug 10 18:10:09 2016 -0400

    gnu: python2-pbr-0.11: Build with python2-testrepository.
    
    * gnu/packages/python.scm (python-pbr-0.11)[properties]: New field.
    (python2-pbr-0.11): Use 'strip-python2-variant'.
    [inputs]: Add PYTHON2-TESTREPOSITORY.
---
 gnu/packages/python.scm |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 90c0578..a83e4ee 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1922,10 +1922,15 @@ Python tests.")
     (description
       "Python Build Reasonableness (PBR) is a library that injects some useful
 and sensible default behaviors into your setuptools run.")
-    (license asl2.0)))
+    (license asl2.0)
+    (properties `((python2-variant . ,(delay python2-pbr-0.11))))))
 
 (define-public python2-pbr-0.11
-  (package-with-python2 python-pbr-0.11))
+  (let ((base (package-with-python2
+               (strip-python2-variant python-pbr-0.11))))
+    (package (inherit base)
+      (inputs `(("python2-testrepository" ,python2-testrepository)
+                ,@(package-inputs base))))))
 
 (define-public python-pbr
   (package



reply via email to

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