guix-commits
[Top][All Lists]
Advanced

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

23/37: gnu: python-debtcollector: Update to 1.19.0.


From: Marius Bakke
Subject: 23/37: gnu: python-debtcollector: Update to 1.19.0.
Date: Wed, 28 Feb 2018 10:33:53 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit a2803e206b4e61727e7b74c39f9a395d37545cfd
Author: Marius Bakke <address@hidden>
Date:   Wed Feb 28 03:38:00 2018 +0100

    gnu: python-debtcollector: Update to 1.19.0.
    
    * gnu/packages/openstack.scm (python-debtcollector): Update to 1.19.0.
    [arguments]: Remove field.
    [propagated-inputs]: Add PYTHON-PBR.
    [native-inputs]: Remove PYTHON-PBR and PYTHON-BABEL.  Add PYTHON-SUBUNIT,
    PYTHON-TESTREPOSITORY and PYTHON-TESTTOOLS.
    [properties]: Declare python2 variant.
    (python2-debtcollector)[propaged-inputs]: Add PYTHON-FUNCSIGS.
---
 gnu/packages/openstack.scm | 28 +++++++++++++++++-----------
 1 file changed, 17 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index d1c2374..0c4c6eb 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -90,36 +90,42 @@ all the files it generates a report.")
 (define-public python-debtcollector
   (package
     (name "python-debtcollector")
-    (version "1.0.0")
+    (version "1.19.0")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "debtcollector" version))
         (sha256
           (base32
-           "0g4dfskaiy47rhsh4gh66l5vmdsrgq0qk68pl3ix1cj3ffvfndzv"))))
+           "06c7vyn184y9f0lsrwaz13aq63hdz5fjrd191b8nifx6acsni42f"))))
     (build-system python-build-system)
-    (arguments
-     '(#:tests? #f)) ;FIXME: Requires packaging python-doc8.
     (propagated-inputs
-     `(("python-six" ,python-six)
+     `(("python-pbr" ,python-pbr)
+       ("python-six" ,python-six)
        ("python-wrapt" ,python-wrapt)))
     (native-inputs
-      `(("python-babel" ,python-babel)
-        ("python-pbr" ,python-pbr)
-        ;; Tests.
-        ("python-oslotest" ,python-oslotest)))
+     `(;; Tests.
+       ("python-subunit" ,python-subunit)
+       ("python-testrepository" ,python-testrepository)
+       ("python-testtools" ,python-testtools)))
     (home-page "https://www.openstack.org/";)
     (synopsis
-      "Find deprecated patterns and strategies in Python code")
+     "Find deprecated patterns and strategies in Python code")
     (description
       "This package provides a collection of Python deprecation patterns and
 strategies that help you collect your technical debt in a non-destructive
 manner.")
+    (properties `((python2-variant . ,(delay python2-debtcollector))))
     (license asl2.0)))
 
 (define-public python2-debtcollector
-  (package-with-python2 python-debtcollector))
+  (let ((base (package-with-python2 (strip-python2-variant
+                                     python-debtcollector))))
+    (package
+      (inherit base)
+      (propagated-inputs
+       `(("python2-funcsigs" ,python2-funcsigs)
+         ,@(package-propagated-inputs base))))))
 
 (define-public python-hacking
   (package



reply via email to

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