[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
53/166: gnu: Add python-jaraco-context.
From: |
guix-commits |
Subject: |
53/166: gnu: Add python-jaraco-context. |
Date: |
Tue, 19 Apr 2022 09:12:18 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 7394f9d0418b03cb340f06f350f2ab9cb5a328fc
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Apr 6 00:12:13 2022 -0400
gnu: Add python-jaraco-context.
* gnu/packages/python-xyz.scm (python-jaraco-context): New variable.
---
gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d04a7e7334..67d6f5f934 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8574,6 +8574,35 @@ class constructs.")
procedures.")
(license license:expat))))
+(define-public python-jaraco-context
+ (package/inherit python-jaraco-context-bootstrap
+ (name "python-jaraco-context")
+ (arguments
+ (substitute-keyword-arguments
+ (package-arguments python-jaraco-context-bootstrap)
+ ((#:tests? _ #f)
+ #t)
+ ((#:phases phases #~%standard-phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; Do not test the myproject.toml build as it tries to pull
+ ;; dependencies from the Internet.
+ (invoke "pytest" "-vv" "-k" "not project"))))))))
+ (native-inputs
+ (modify-inputs
+ (package-native-inputs python-jaraco-context-bootstrap)
+ (append python-pytest
+ python-pytest-black
+ python-pytest-checkdocs
+ python-pytest-cov
+ python-pytest-enabler-bootstrap ;OK since not propagated
+ python-pytest-flake8
+ python-pytest-mypy)))
+ (properties (alist-delete 'hidden? (package-properties
+ python-jaraco-context-bootstrap)))))
+
;;; Variant used to break a cycle with python-pytest-enabler.
(define-public python-jaraco-functools-bootstrap
(hidden-package
- 39/166: gnu: Add python-jaraco-functools-bootstrap., (continued)
- 39/166: gnu: Add python-jaraco-functools-bootstrap., guix-commits, 2022/04/19
- 54/166: gnu: Add python-jaraco-functools., guix-commits, 2022/04/19
- 32/166: gnu: Add python-fontparts., guix-commits, 2022/04/19
- 21/166: gnu: Add python-opentype-sanitizer., guix-commits, 2022/04/19
- 60/166: gnu: python-factory-boy: Update to 3.2.1., guix-commits, 2022/04/19
- 73/166: gnu: python-jupyter-packaging: Update to 0.12.0, run test suite., guix-commits, 2022/04/19
- 30/166: gnu: Add python-fontpens., guix-commits, 2022/04/19
- 80/166: gnu: Add skia., guix-commits, 2022/04/19
- 84/166: gnu: Add python-ufo2ft., guix-commits, 2022/04/19
- 15/166: gnu: Add texlive-makecmds., guix-commits, 2022/04/19
- 53/166: gnu: Add python-jaraco-context.,
guix-commits <=
- 67/166: gnu: Add python-ubelt., guix-commits, 2022/04/19
- 35/166: gnu: Add python-ufonormalizer., guix-commits, 2022/04/19
- 56/166: gnu: Add python-path., guix-commits, 2022/04/19
- 75/166: gnu: python-scipy: Update to 1.8.0 and enable parallel build., guix-commits, 2022/04/19
- 22/166: gnu: Add python-defcon-bootstrap., guix-commits, 2022/04/19
- 79/166: gnu: Add python-cffsubr., guix-commits, 2022/04/19
- 59/166: gnu: Add python-pytest-perf., guix-commits, 2022/04/19
- 90/166: gnu: python-click: Update to 8.1.2 and honor TESTS?., guix-commits, 2022/04/19
- 63/166: gnu: Add psautohint-font-data., guix-commits, 2022/04/19
- 64/166: gnu: Add psautohint., guix-commits, 2022/04/19