[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 20/20] gnu: Add python-xenon
From: |
Muriithi Frederick Muriuki |
Subject: |
[PATCH 20/20] gnu: Add python-xenon |
Date: |
Fri, 14 Apr 2017 13:13:20 +0300 |
* gnu/packages/python.scm (python-xenon): 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 fe911de..a0dc4fb 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14463,3 +14463,36 @@ This is also for repeatable fuzzy data in tests -
factory boy uses faker for lot
(define-public python2-requests-2.10.0
(package-with-python2 python-requests-2.10.0))
+
+(define-public python-xenon
+ (package
+ (name "python-xenon")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "xenon" version))
+ (sha256
+ (base32
+ "1c03nis488ls50cgcq7ghbj55nxsi6a9683lsvg6z6vaj4smc8g8"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-pyyaml" ,python-pyyaml-3.11)
+ ("python-radon" ,python-radon)
+ ("python-requests" ,python-requests-2.10.0)
+ ("python-pyyaml" ,python-pyyaml)
+ ("python-httpretty" ,python-httpretty)
+ ("python-flake8" ,python-flake8)
+ ("python-tox" ,python-tox)))
+ (home-page "https://xenon.readthedocs.org/")
+ (synopsis
+ "Monitor code metrics for Python on your CI server")
+ (description
+ "Xenon is a monitoring tool based on Radon. It monitors code’s
complexity. Ideally,
+ Xenon is run every time code is committed. Through command line options,
various
+ thresholds can be set for the complexity of code. It will fail (i.e. it
will exit with
+ a non-zero exit code) when any of these requirements is not met")
+ (license license:expat)))
+
+(define-public python2-xenon
+ (package-with-python2 python-xenon))
--
2.10.2
- [PATCH 11/20] gnu: Add python-steadymark, (continued)
- [PATCH 11/20] gnu: Add python-steadymark, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 12/20] gnu: Add python-requests-2.8.1, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 13/20] gnu: Add python-rednose-0.4.3, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 14/20] gnu: Add python-nose-randomly, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 15/20] gnu: Add python-pbr-2.0.0, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 16/20] gnu: Add python-mock-1.3.0, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 17/20] gnu: Add python-httpretty, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 18/20] gnu: Add python-pyyaml-3.11, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 19/20] gnu: Add python-requests-2.10.0, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 20/20] gnu: Add python-xenon,
Muriithi Frederick Muriuki <=
- Re: [PATCH 01/20] gnu: Add python-radon, ng0, 2017/04/14
- Re: [PATCH 01/20] gnu: Add python-radon, Hartmut Goebel, 2017/04/15
- Re: [PATCH 01/20] gnu: Add python-radon, Leo Famulari, 2017/04/17