[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/06: gnu: Add python2-steadymark.
From: |
Marius Bakke |
Subject: |
05/06: gnu: Add python2-steadymark. |
Date: |
Sun, 4 Jun 2017 08:54:14 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 5786b47c7ef8a21592281fa60adaf95bb0041be1
Author: Muriithi Frederick Muriuki <address@hidden>
Date: Sun May 28 18:32:40 2017 +0300
gnu: Add python2-steadymark.
* gnu/packages/python.scm (python2-steadymark): New variable.
Signed-off-by: Marius Bakke <address@hidden>
---
gnu/packages/python.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e2163f3..ee21611 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -15011,3 +15011,42 @@ renderers (e.g. man pages or LaTeX).")
(define-public python2-misaka
(package-with-python2 python-misaka))
+
+(define-public python2-steadymark
+ ;; This is forced into being a python2 only variant
+ ;; due to its dependence on couleur that has no support
+ ;; for python3
+ (package
+ (name "python2-steadymark")
+ (version "0.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "steadymark" version))
+ (sha256
+ (base32
+ "1640i9g8dycql3cc8j0bky0jkzj0q39blfbp4lsgpkprkfgcdk8v"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-couleur" ,python2-couleur)
+ ("python-sure" ,python2-sure)
+ ("python-misaka" ,python2-misaka)))
+ (arguments
+ `(#:python ,python-2
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'patch-setup-py
+ (lambda _
+ ;; Update requirements from dependency==version
+ ;; to dependency>=version
+ (substitute* "setup.py"
+ (("==") ">="))
+ #t)))))
+ (home-page "https://github.com/gabrielfalcao/steadymark")
+ (synopsis "Markdown-based test runner for python")
+ (description
+ "@code{Steadymark} allows documentation to be written in github-flavoured
+markdown. The documentation may contain snippets of code surrounded by python
+code blocks and @code{Steadymark} will find these snippets and run them, making
+sure that there are no old malfunctional examples in the documentation
examples.")
+ (license license:expat)))
- branch master updated (c1151ec -> 7e488f9), Marius Bakke, 2017/06/04
- 03/06: gnu: Add python2-couleur., Marius Bakke, 2017/06/04
- 05/06: gnu: Add python2-steadymark.,
Marius Bakke <=
- 04/06: gnu: Add python-misaka., Marius Bakke, 2017/06/04
- 06/06: gnu: Add python-nose-randomly., Marius Bakke, 2017/06/04
- 01/06: gnu: kodi: Update to 18.0_alpha-6-f22d62d., Marius Bakke, 2017/06/04
- 02/06: gnu: Add python-sure., Marius Bakke, 2017/06/04