summary refs log tree commit diff
path: root/gnu/packages/python.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2018-12-31 14:48:16 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-13 10:07:06 +0100
commit9e7f55de45612c7373b15df28aae6316a50fd583 (patch)
tree16519cfb043654802bd101d2268cfc89906e47de /gnu/packages/python.scm
parentc016e390bf7ce607cb370280dd4df1ff30a84793 (diff)
downloadguix-9e7f55de45612c7373b15df28aae6316a50fd583.tar.gz
gnu: Add python-doctest-ignore-unicode.
* gnu/packages/python.scm (python-doctest-ignore-unicode): New variable.
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r--gnu/packages/python.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 86ff4f2044..027cb11a73 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -15038,6 +15038,27 @@ RFC 8265 and RFC 8266.")
     (properties '((upstream-name . "Wikidata")))
     (license license:gpl3+)))
 
+(define-public python-doctest-ignore-unicode
+  (package
+    (name "python-doctest-ignore-unicode")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "doctest-ignore-unicode" version))
+       (sha256
+        (base32
+         "1m9aa4qnyj21lbq4sbvmv1vcz7zksss4rz37ddf2hxv4hk8b547w"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-nose" ,python-nose)))
+    (home-page "https://github.com/gnublade/doctest-ignore-unicode")
+    (synopsis "Ignore Unicode literal prefixes in doctests")
+    (description
+     "This package adds support for a flag to ignore Unicode literal prefixes
+in doctests.")
+    (license license:asl2.0)))
+
 (define-public python-attr
   (package
     (name "python-attr")