[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
53/233: gnu: Add python-jaraco-context.
From: |
guix-commits |
Subject: |
53/233: gnu: Add python-jaraco-context. |
Date: |
Sun, 24 Apr 2022 23:39:41 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit ee197920ed3badfb092ad4cf23361ddfe0440c12
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
- 140/233: gnu: Add python-httpcore-bootstrap., (continued)
- 140/233: gnu: Add python-httpcore-bootstrap., guix-commits, 2022/04/24
- 143/233: gnu: python-uvicorn: Update to 0.17.6., guix-commits, 2022/04/24
- 150/233: gnu: python-falcon: Update to 3.1.0., guix-commits, 2022/04/24
- 156/233: gnu: python-llvmlite: Update to 0.38.0., guix-commits, 2022/04/24
- 26/233: gnu: Add python-mutatormath., guix-commits, 2022/04/24
- 43/233: gnu: Add python-pytest-freezegun., guix-commits, 2022/04/24
- 50/233: gnu: Add python-types-docutils., guix-commits, 2022/04/24
- 51/233: gnu: python-pytest-checkdocs: Update to 2.7.1., guix-commits, 2022/04/24
- 42/233: gnu: Add python-types-pytz., guix-commits, 2022/04/24
- 39/233: gnu: Add python-jaraco-functools-bootstrap., guix-commits, 2022/04/24
- 53/233: gnu: Add python-jaraco-context.,
guix-commits <=
- 55/233: gnu: Add python-pytest-enabler., guix-commits, 2022/04/24
- 65/233: gnu: Add python-ordered-set., guix-commits, 2022/04/24
- 66/233: gnu: Add python-xdoctest., guix-commits, 2022/04/24
- 67/233: gnu: Add python-ubelt., guix-commits, 2022/04/24
- 68/233: gnu: python-setuptools: Update to 62.0.0., guix-commits, 2022/04/24
- 70/233: gnu: python-pytest-shutil: Adjust to use python-path., guix-commits, 2022/04/24
- 73/233: gnu: python-jupyter-packaging: Update to 0.12.0, run test suite., guix-commits, 2022/04/24
- 76/233: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/04/24
- 77/233: gnu: Add python-fonttools-next., guix-commits, 2022/04/24
- 79/233: gnu: Add python-cffsubr., guix-commits, 2022/04/24