[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
66/204: gnu: Add python-xdoctest.
From: |
guix-commits |
Subject: |
66/204: gnu: Add python-xdoctest. |
Date: |
Wed, 20 Apr 2022 02:03:21 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 72a8e4eef0ceda3377d25f665922f8d68295bb08
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 326123dfc6..59e7d5112f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15188,6 +15188,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")
- 105/204: gnu: python-ipykernel: Update to 6.13.0., (continued)
- 105/204: gnu: python-ipykernel: Update to 6.13.0., guix-commits, 2022/04/20
- 112/204: gnu: Add texlive-lm-math., guix-commits, 2022/04/20
- 144/204: gnu: python-falcon: Update to 3.1.0., guix-commits, 2022/04/20
- 43/204: gnu: Add python-pytest-freezegun., guix-commits, 2022/04/20
- 45/204: gnu: Add python-path-bootstrap., guix-commits, 2022/04/20
- 46/204: gnu: Add python-pip-run-bootstrap., guix-commits, 2022/04/20
- 55/204: gnu: Add python-pytest-enabler., guix-commits, 2022/04/20
- 57/204: gnu: Add python-pip-run., guix-commits, 2022/04/20
- 61/204: gnu: python-faker: Update to 13.3.4 and honor TESTS?., guix-commits, 2022/04/20
- 50/204: gnu: Add python-types-docutils., guix-commits, 2022/04/20
- 66/204: gnu: Add python-xdoctest.,
guix-commits <=
- 69/204: gnu: python-pathpy: Deprecate by python-path., guix-commits, 2022/04/20
- 78/204: gnu: Add python-afdko., guix-commits, 2022/04/20
- 81/204: gnu: Add python-skia-pathops., guix-commits, 2022/04/20
- 84/204: gnu: Add python-ufo2ft., guix-commits, 2022/04/20
- 99/204: gnu: Add python-pytest-forked-next., guix-commits, 2022/04/20
- 107/204: gnu: python-ipyparallel: Update to 8.2.1., guix-commits, 2022/04/20
- 51/204: gnu: python-pytest-checkdocs: Update to 2.7.1., guix-commits, 2022/04/20
- 58/204: gnu: Add python-tempora., guix-commits, 2022/04/20
- 62/204: gnu: Add python-pytest-randomly., guix-commits, 2022/04/20
- 63/204: gnu: Add psautohint-font-data., guix-commits, 2022/04/20