unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Frederick Muriithi <fredmanglis@gmail.com>
To: 26524@debbugs.gnu.org
Subject: bug#26524: [PATCH] gnu: Add python-radon
Date: Thu, 25 May 2017 11:42:38 +0300	[thread overview]
Message-ID: <CALjrZwby3xCeG=y+VRbR7kHoXeXZFyCTUtK9-OCXM=LGgcB5JQ@mail.gmail.com> (raw)
In-Reply-To: <CALjrZwYuOOjD0U9ePOu=pN9Xskd4XObdpHPa6QQUWAeGp-VLGw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: 0001-gnu-Add-python-radon.patch --]
[-- Type: text/x-patch, Size: 1937 bytes --]

From 0081505cb53811073d175b0f012cb6e6932d7913 Mon Sep 17 00:00:00 2001
From: Muriithi Frederick Muriuki <fredmanglis@gmail.com>
Date: Thu, 25 May 2017 11:25:34 +0300
Subject: [PATCH] gnu: Add python-radon

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index dc1efd62a..07f10c13c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14622,3 +14622,40 @@ substitute for redis.")
 
 (define-public python2-fakeredis
   (package-with-python2 python-fakeredis))
+
+(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:
+@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.13.0


  parent reply	other threads:[~2017-05-25  8:44 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-15 18:59 bug#26524: Add conda and dependencies Frederick Muriithi
2017-04-23 13:21 ` Ricardo Wurmus
2017-04-27 12:34   ` Frederick Muriithi
2017-04-27 13:09     ` Ricardo Wurmus
2017-04-27 15:55 ` bug#26524: [PATCH 1/3] gnu: Add python-radon Muriithi Frederick Muriuki
2017-04-27 15:55   ` bug#26524: [PATCH 2/3] gnu: Add python-httpbin Muriithi Frederick Muriuki
2017-04-27 15:55   ` bug#26524: [PATCH 3/3] gnu: Add python-pytest-httpbin Muriithi Frederick Muriuki
2017-05-25  8:42 ` Frederick Muriithi [this message]
2017-05-27 17:47   ` bug#26524: [PATCH] gnu: Add python-radon Leo Famulari
2017-05-28 15:32 ` bug#26524: [PATCH 1/5] gnu: Add python-sure Muriithi Frederick Muriuki
2017-05-28 15:32   ` bug#26524: [PATCH 2/5] gnu: Add python2-couleur Muriithi Frederick Muriuki
2017-06-04 12:29     ` Marius Bakke
2017-05-28 15:32   ` bug#26524: [PATCH 3/5] gnu: Add python-misaka Muriithi Frederick Muriuki
2017-06-04 12:38     ` Marius Bakke
2017-05-28 15:32   ` bug#26524: [PATCH 4/5] gnu: Add python2-steadymark Muriithi Frederick Muriuki
2017-06-04 12:44     ` Marius Bakke
2017-05-28 15:32   ` bug#26524: [PATCH 5/5] gnu: Add python-nose-randomly Muriithi Frederick Muriuki
2017-06-04 12:54     ` Marius Bakke
2017-06-04 12:15   ` bug#26524: [PATCH 1/5] gnu: Add python-sure Marius Bakke
2017-06-11  1:07 ` bug#26524: [PATCH 1/3] gnu: python-sphinx-rtd-theme: Update to 0.2.4 Muriithi Frederick Muriuki
2017-06-11  1:07   ` bug#26524: [PATCH 2/3] gnu: Add python2-rednose Muriithi Frederick Muriuki
2017-06-11  1:07   ` bug#26524: [PATCH 3/3] gnu: Add python2-httpretty Muriithi Frederick Muriuki
2017-06-12 19:33     ` [bug#26524] " Marius Bakke
2017-06-13 12:45       ` Frederick Muriithi
2017-06-14 18:05         ` Marius Bakke

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='CALjrZwby3xCeG=y+VRbR7kHoXeXZFyCTUtK9-OCXM=LGgcB5JQ@mail.gmail.com' \
    --to=fredmanglis@gmail.com \
    --cc=26524@debbugs.gnu.org \
    /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).