unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 2/5] gnu: Add python-radon
@ 2017-04-05  7:01 Muriithi Frederick Muriuki
  2017-04-05  7:01 ` [PATCH 3/5] gnu: Add python-httpbin Muriithi Frederick Muriuki
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Muriithi Frederick Muriuki @ 2017-04-05  7:01 UTC (permalink / raw)
  To: guix-devel

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9dd045a..9c850db 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13973,3 +13973,36 @@ recognize TestCases.")
        (sha256
         (base32
          "17jlkdpqw22z1nyml5ybslilqkzmnk0dxxjml8bfghav1l5hbwd2"))))))
+
+(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)))
+    (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)))
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [PATCH 1/5] gnu: Add python-mando-0.3.1
@ 2017-03-26  9:56 Muriithi Frederick Muriuki
  2017-03-26  9:56 ` [PATCH 2/5] gnu: Add python-radon Muriithi Frederick Muriuki
  0 siblings, 1 reply; 11+ messages in thread
From: Muriithi Frederick Muriuki @ 2017-03-26  9:56 UTC (permalink / raw)
  To: guix-devel; +Cc: pjotr2017

* gnu/packages/python.scm (python-mando-0.3.1): New variable.
---
 gnu/packages/python.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0c84d8a..df2928d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13982,3 +13982,16 @@ recognize TestCases.")
     "This package is a wrapper around argparse, allowing you to write complete CLI
  applications in seconds while maintaining all the flexibility.")
   (license license:expat)))
+
+(define-public python-mando-0.3.1
+  (package
+    (inherit python-mando)
+    (name "python-mando")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "mando" version))
+       (sha256
+        (base32
+         "0hh4irxpga058q496lcilbqfxwiyxxig1bal633s9bk1plfdy7g5"))))))
-- 
2.10.2

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

end of thread, other threads:[~2017-04-14  7:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-05  7:01 [PATCH 2/5] gnu: Add python-radon Muriithi Frederick Muriuki
2017-04-05  7:01 ` [PATCH 3/5] gnu: Add python-httpbin Muriithi Frederick Muriuki
2017-04-05  7:01 ` [PATCH 4/5] gnu: Add python-pytest-httpbin Muriithi Frederick Muriuki
2017-04-11  4:02   ` Leo Famulari
2017-04-05  7:01 ` [PATCH 5/5] gnu: Add python-sphinx-rtd-theme-0.1.9 Muriithi Frederick Muriuki
2017-04-11  4:04   ` Leo Famulari
2017-04-11  3:53 ` [PATCH 2/5] gnu: Add python-radon Leo Famulari
2017-04-11  4:00   ` Leo Famulari
2017-04-11  4:01 ` Leo Famulari
2017-04-14  7:21   ` Frederick Muriithi
  -- strict thread matches above, loose matches on Subject: below --
2017-03-26  9:56 [PATCH 1/5] gnu: Add python-mando-0.3.1 Muriithi Frederick Muriuki
2017-03-26  9:56 ` [PATCH 2/5] gnu: Add python-radon Muriithi Frederick Muriuki

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).