[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
66/242: gnu: Add python-xdoctest.
From: |
guix-commits |
Subject: |
66/242: gnu: Add python-xdoctest. |
Date: |
Wed, 11 May 2022 18:02:53 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 57e0c0e0d9620682539dff20dcf163443182a7e7
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Apr 6 14:14:09 2022 -0400
gnu: Add python-xdoctest.
* gnu/packages/python-xyz.scm (python-xdoctest): New variable.
---
gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3d0373203f..2bdab3768a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15194,6 +15194,36 @@ python-xdo for newer bindings.)")
(define-public python2-xdo
(package-with-python2 python-xdo))
+(define-public python-xdoctest
+ (package
+ (name "python-xdoctest")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "xdoctest" version))
+ (sha256
+ (base32 "0bgbmb9nqv95f9gfxqifqff1qaz5fnanjqy4hv7ygrjp2kksgfvy"))))
+ (build-system python-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; A writable HOME is needed by the
+ ;; 'import_module_from_path' test.
+ (setenv "HOME" "/tmp")
+ (invoke "pytest" "-vv")))))))
+ (propagated-inputs (list python-six))
+ (native-inputs (list python-pytest which))
+ (home-page "https://github.com/Erotemic/xdoctest")
+ (synopsis "Rewrite of the Python builtin doctest module")
+ (description "This package provides a rewrite of the builtin doctest
+module which leverages the Python @acronym{AST, Abstract Syntax Tree} instead
+of @acronym{REGEXPs, regular expressions}.")
+ (license license:asl2.0)))
+
(define-public python-mako
(package
(name "python-mako")
- 51/242: gnu: python-pytest-checkdocs: Update to 2.7.1., (continued)
- 51/242: gnu: python-pytest-checkdocs: Update to 2.7.1., guix-commits, 2022/05/11
- 12/242: gnu: Add texlive-paralist., guix-commits, 2022/05/11
- 09/242: gnu: python-prompt-toolkit: Update to 3.0.29., guix-commits, 2022/05/11
- 14/242: gnu: Add texlive-metalogo., guix-commits, 2022/05/11
- 35/242: gnu: Add python-ufonormalizer., guix-commits, 2022/05/11
- 43/242: gnu: Add python-pytest-freezegun., guix-commits, 2022/05/11
- 42/242: gnu: Add python-types-pytz., guix-commits, 2022/05/11
- 45/242: gnu: Add python-path-bootstrap., guix-commits, 2022/05/11
- 58/242: gnu: Add python-tempora., guix-commits, 2022/05/11
- 57/242: gnu: Add python-pip-run., guix-commits, 2022/05/11
- 66/242: gnu: Add python-xdoctest.,
guix-commits <=
- 98/242: gnu: python-greenlet: Update to 1.1.2., guix-commits, 2022/05/11
- 101/242: gnu: Add python-ipyparallel-bootstrap., guix-commits, 2022/05/11
- 112/242: gnu: Add texlive-lm-math., guix-commits, 2022/05/11
- 114/242: gnu: Add python-jupyter-server-mathjax., guix-commits, 2022/05/11
- 18/242: gnu: Add texlive-zref., guix-commits, 2022/05/11
- 10/242: gnu: python-ipython: Update to 8.2.0 [fixes CVE-2022-21699]., guix-commits, 2022/05/11
- 15/242: gnu: Add texlive-makecmds., guix-commits, 2022/05/11
- 16/242: gnu: Add texlive-csplain., guix-commits, 2022/05/11
- 11/242: gnu: python-nbformat: Update to 5.3.0., guix-commits, 2022/05/11
- 23/242: gnu: Add python-fontmath., guix-commits, 2022/05/11