[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
53/232: gnu: Add python-jaraco-context.
From: |
guix-commits |
Subject: |
53/232: gnu: Add python-jaraco-context. |
Date: |
Sun, 24 Apr 2022 23:58:32 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 19570f4930bb1705abe78c8142ec93345d53b1ee
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
- 29/232: gnu: Add python-fontparts-bootstrap., (continued)
- 29/232: gnu: Add python-fontparts-bootstrap., guix-commits, 2022/04/24
- 30/232: gnu: Add python-fontpens., guix-commits, 2022/04/24
- 34/232: gnu: Add python-ufoprocessor., guix-commits, 2022/04/24
- 41/232: gnu: Add python-types-freezegun., guix-commits, 2022/04/24
- 42/232: gnu: Add python-types-pytz., guix-commits, 2022/04/24
- 46/232: gnu: Add python-pip-run-bootstrap., guix-commits, 2022/04/24
- 47/232: gnu: python-importlib-metadata: Update to 4.11.3., guix-commits, 2022/04/24
- 52/232: gnu: Add python-jaraco-classes., guix-commits, 2022/04/24
- 50/232: gnu: Add python-types-docutils., guix-commits, 2022/04/24
- 49/232: gnu: python-mypy: Update to 0.942 and fix search path., guix-commits, 2022/04/24
- 53/232: gnu: Add python-jaraco-context.,
guix-commits <=
- 54/232: gnu: Add python-jaraco-functools., guix-commits, 2022/04/24
- 57/232: gnu: Add python-pip-run., guix-commits, 2022/04/24
- 59/232: gnu: Add python-pytest-perf., guix-commits, 2022/04/24
- 63/232: gnu: Add psautohint-font-data., guix-commits, 2022/04/24
- 66/232: gnu: Add python-xdoctest., guix-commits, 2022/04/24
- 70/232: gnu: python-pytest-shutil: Adjust to use python-path., guix-commits, 2022/04/24
- 72/232: gnu: Add python-scikit-build., guix-commits, 2022/04/24
- 75/232: gnu: python-scipy: Update to 1.8.0 and enable parallel build., guix-commits, 2022/04/24
- 25/232: gnu: python-fonttools-with-test: Rename to python-fonttools-full., guix-commits, 2022/04/24
- 27/232: gnu: Add python-fontpens-bootstrap., guix-commits, 2022/04/24