unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Muriithi Frederick Muriuki <fredmanglis@gmail.com>
To: 26524@debbugs.gnu.org
Subject: bug#26524: [PATCH 4/5] gnu: Add python2-steadymark
Date: Sun, 28 May 2017 18:32:40 +0300	[thread overview]
Message-ID: <20170528153241.15637-4-fredmanglis@gmail.com> (raw)
In-Reply-To: <20170528153241.15637-1-fredmanglis@gmail.com>

* gnu/packages/python.scm (python2-steadymark): New variable.
---
 gnu/packages/python.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 86cb034e4..f6b336904 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -15013,3 +15013,45 @@ 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 "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" ,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* (#:key inputs #:allow-other-keys)
+             ;; Update requirements from dependecy==version
+             ;; to dependency>=version
+             (substitute* "setup.py"
+               (("==") ">="))
+             #t)))))
+    (home-page
+     "http://github.com/gabrielfalcao/steadymark")
+    (synopsis
+     "Markdown-based test runner for python. Good for github projects")
+    (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)))
-- 
2.13.0

  parent reply	other threads:[~2017-05-28 15:33 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 ` bug#26524: [PATCH] gnu: Add python-radon Frederick Muriithi
2017-05-27 17:47   ` 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   ` Muriithi Frederick Muriuki [this message]
2017-06-04 12:44     ` bug#26524: [PATCH 4/5] gnu: Add python2-steadymark 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=20170528153241.15637-4-fredmanglis@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).