guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: Add python-radon


From: Leo Famulari
Subject: 01/01: gnu: Add python-radon
Date: Sat, 27 May 2017 13:46:50 -0400 (EDT)

lfam pushed a commit to branch master
in repository guix.

commit 65e7d52a0c0643faf511e9ff7963e0053e41cf42
Author: Muriithi Frederick Muriuki <address@hidden>
Date:   Sat May 27 13:40:28 2017 -0400

    gnu: Add python-radon
    
    * gnu/packages/python.scm (python-radon, python2-radon): New variables.
---
 gnu/packages/python.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ad042e3..3e2141e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14890,3 +14890,39 @@ for more filetypes can be easily added by creating 
plugins for them.")
 
 (define-public python2-relatorio
   (package-with-python2 python-relatorio))
+
+(define-public python-radon
+  (package
+    (name "python-radon")
+    (version "1.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "radon" version))
+       (sha256
+        (base32
+         "1h6jv36am0i827182a04ki6291lyx4kp957xfr5njgprj4nd0qsl"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-colorama" ,python-colorama)
+       ("python-flake8-polyfill" ,python-flake8-polyfill)
+       ("python-mando" ,python-mando-0.3.1)))
+    (native-inputs
+     `(("python-flake8" ,python-flake8)
+       ("python-tox" ,python-tox)
+       ("python-pytest" ,python-pytest)
+       ("python-paramunittest" ,python-paramunittest)))
+    (home-page "https://radon.readthedocs.org/";)
+    (synopsis "Code Metrics in Python")
+    (description "Radon is a Python tool which computes various code metrics.
+Supported metrics are:
address@hidden @bullet
address@hidden raw metrics: SLOC, comment lines, blank lines, &c.
address@hidden Cyclomatic Complexity (i.e.  McCabe’s Complexity)
address@hidden Halstead metrics (all of them)
address@hidden the Maintainability Index (a Visual Studio metric)
address@hidden itemize")
+    (license license:expat)))
+
+(define-public python2-radon
+  (package-with-python2 python-radon))



reply via email to

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