all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 01/20] gnu: Add python-radon
@ 2017-04-14 10:13 Muriithi Frederick Muriuki
  2017-04-14 10:13 ` [PATCH 02/20] gnu: Add python-httpbin Muriithi Frederick Muriuki
                   ` (21 more replies)
  0 siblings, 22 replies; 30+ messages in thread
From: Muriithi Frederick Muriuki @ 2017-04-14 10:13 UTC (permalink / raw)
  To: guix-devel; +Cc: pjotr2017

* gnu/packages/python.scm (python-radon): New variable.
---
 gnu/packages/python.scm | 40 +++++++++++++++++++++++++++++++++++++++-
 1 file changed, 39 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 231c629..23b6d86 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13950,7 +13950,7 @@ recognize TestCases.")
   (package-with-python2 python-mando))
 
 (define-public python-mando-0.3.1
-  ;; python-radon (version 1.5.0) has a requirement
+  ;; python-radon has a requirement
   ;; for mando<0.4,>=0.3
   (package
     (inherit python-mando)
@@ -13965,3 +13965,41 @@ recognize TestCases.")
        (sha256
         (base32
          "17jlkdpqw22z1nyml5ybslilqkzmnk0dxxjml8bfghav1l5hbwd2"))))))
+
+(define-public python-radon
+  ;; xenon has a hard requirement for radon>=1.4.0,<1.5
+  (package
+    (name "python-radon")
+    (version "1.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "radon" version))
+       (sha256
+        (base32
+         "15xyzavfj1zwb5rn07fs2wfi6ccys9b5q0s8hmnpqz712mifl92g"))))
+    (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:
+@itemize @bullet
+@item raw metrics: SLOC, comment lines, blank lines, &c.
+@item Cyclomatic Complexity (i.e.  McCabe’s Complexity)
+@item Halstead metrics (all of them)
+@item the Maintainability Index (a Visual Studio metric)
+@end itemize")
+    (license license:expat)))
+
+(define-public python2-radon
+  (package-with-python2 python-radon))
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2017-04-17 19:20 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-14 10:13 [PATCH 01/20] gnu: Add python-radon Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 02/20] gnu: Add python-httpbin Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 03/20] gnu: Add python-pytest-httpbin Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 04/20] gnu: Add python-sphinx-rtd-theme-0.1.9 Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 05/20] gnu: Add python-sphinx-1.3.3 Muriithi Frederick Muriuki
2017-04-15 17:28   ` Hartmut Goebel
2017-04-15 17:38     ` Hartmut Goebel
2017-04-17 19:15       ` Leo Famulari
2017-04-14 10:13 ` [PATCH 06/20] gnu: Add python-coverage-4.0.3 Muriithi Frederick Muriuki
2017-04-15 17:29   ` Hartmut Goebel
2017-04-14 10:13 ` [PATCH 07/20] gnu: Add python-urllib3-1.12 Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 08/20] gnu: Add python-sure Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 09/20] gnu: Add python-couleur Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 10/20] gnu: Add python-misaka Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 11/20] gnu: Add python-steadymark Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 12/20] gnu: Add python-requests-2.8.1 Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 13/20] gnu: Add python-rednose-0.4.3 Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 14/20] gnu: Add python-nose-randomly Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 15/20] gnu: Add python-pbr-2.0.0 Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 16/20] gnu: Add python-mock-1.3.0 Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 17/20] gnu: Add python-httpretty Muriithi Frederick Muriuki
2017-04-17 19:11   ` Leo Famulari
2017-04-14 10:13 ` [PATCH 18/20] gnu: Add python-pyyaml-3.11 Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 19/20] gnu: Add python-requests-2.10.0 Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 20/20] gnu: Add python-xenon Muriithi Frederick Muriuki
2017-04-14 10:36 ` [PATCH 01/20] gnu: Add python-radon ng0
     [not found]   ` <CALjrZwaHDnWrCNq6v2f=yV5MoMTu3=na3jmYapLsB7Go57P=uw@mail.gmail.com>
2017-04-14 11:47     ` Frederick Muriithi
2017-04-14 11:55       ` ng0
2017-04-15 17:24 ` Hartmut Goebel
2017-04-17 19:19 ` Leo Famulari

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.