unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Muriithi Frederick Muriuki <fredmanglis@gmail.com>
To: guix-devel@gnu.org
Cc: pjotr2017@thebird.nl
Subject: [PATCH 2/5] gnu: Add python-radon
Date: Sun, 26 Mar 2017 12:56:31 +0300	[thread overview]
Message-ID: <20170326095634.4644-2-fredmanglis@gmail.com> (raw)
In-Reply-To: <20170326095634.4644-1-fredmanglis@gmail.com>

* 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 df2928d..d94464c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13995,3 +13995,36 @@ recognize TestCases.")
        (sha256
         (base32
          "0hh4irxpga058q496lcilbqfxwiyxxig1bal633s9bk1plfdy7g5"))))))
+
+(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

  reply	other threads:[~2017-03-26  9:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-26  9:56 [PATCH 1/5] gnu: Add python-mando-0.3.1 Muriithi Frederick Muriuki
2017-03-26  9:56 ` Muriithi Frederick Muriuki [this message]
2017-03-26  9:56 ` [PATCH 3/5] gnu: Add python-httpbin Muriithi Frederick Muriuki
2017-03-26  9:56 ` [PATCH 4/5] gnu: Add python-pytest-httpbin Muriithi Frederick Muriuki
2017-03-26  9:56 ` [PATCH 5/5] gnu: Add python-sphinx-rtd-theme-0.1.9 Muriithi Frederick Muriuki
2017-03-27 18:59   ` Leo Famulari
2017-04-01 13:16     ` Frederick Muriithi
2017-04-01 13:20       ` Frederick Muriithi
2017-03-27 18:58 ` [PATCH 1/5] gnu: Add python-mando-0.3.1 Leo Famulari
2017-04-01 13:19   ` Frederick Muriithi
  -- strict thread matches above, loose matches on Subject: below --
2017-04-05  7:01 [PATCH 2/5] gnu: Add python-radon Muriithi Frederick Muriuki
2017-04-11  3:53 ` Leo Famulari
2017-04-11  4:00   ` Leo Famulari
2017-04-11  4:01 ` Leo Famulari
2017-04-14  7:21   ` Frederick Muriithi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170326095634.4644-2-fredmanglis@gmail.com \
    --to=fredmanglis@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=pjotr2017@thebird.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).