From bfffb715e7311cded920fcbcd09bd1d856a1b576 Mon Sep 17 00:00:00 2001 From: Muriithi Frederick Muriuki Date: Fri, 14 Apr 2017 11:57:45 +0300 Subject: [PATCH 11/20] gnu: Add python-steadymark * gnu/packages/python.scm (python-steadymark): New variable. --- gnu/packages/python.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0e3860f..9bae47b 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -14244,3 +14244,37 @@ written in C. It features a fast HTML renderer and functionality to make custom (define-public python2-misaka (package-with-python2 python-misaka)) + +(define-public python-steadymark + (package + (name "python-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" ,python-couleur) + ("python-sure" ,python-sure) + ("python-misaka" ,python-misaka))) + (arguments + `(;; These tests seem to depend on python-couleurs tests, which + ;; are dependent on python2-specific features, preventing those, + ;; and hence, these tests from running + #:tests? #f)) + (home-page + "http://github.com/gabrielfalcao/steadymark") + (synopsis + "Markdown-based test runner for python. Good for github projects") + (description + "Steadymark allows testing of code snippets in documentation written in +github-flavoured markdown, to ensure that the examples in the documentation are up-to-date +and correct.") + (license license:expat))) + +(define-public python2-steadymark + (package-with-python2 python-steadymark)) -- 2.10.2