[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55104] [PATCH 054/232] gnu: Add python-jaraco-functools.
From: |
Maxim Cournoyer |
Subject: |
[bug#55104] [PATCH 054/232] gnu: Add python-jaraco-functools. |
Date: |
Sun, 24 Apr 2022 23:56:20 -0400 |
* gnu/packages/python-xyz.scm (python-jaraco-functools): 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 67d6f5f934..842d26d206 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8625,6 +8625,36 @@ (define-public python-jaraco-functools-bootstrap
module with a few extra procedures.")
(license license:expat))))
+(define-public python-jaraco-functools
+ (package/inherit python-jaraco-functools-bootstrap
+ (name "python-jaraco-functools")
+ (arguments
+ (substitute-keyword-arguments
+ (package-arguments python-jaraco-functools-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-functools-bootstrap)
+ (append python-jaraco-classes
+ 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-functools-bootstrap)))))
+
(define-public python-jaraco-packaging
(package
(name "python-jaraco-packaging")
--
2.34.0
- [bug#55104] [PATCH 065/232] gnu: Add python-ordered-set., (continued)
- [bug#55104] [PATCH 065/232] gnu: Add python-ordered-set., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 050/232] gnu: Add python-types-docutils., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 067/232] gnu: Add python-ubelt., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 079/232] gnu: Add python-cffsubr., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 077/232] gnu: Add python-fonttools-next., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 086/232] gnu: Add font-amiri., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 089/232] gnu: Add font-gfs-ambrosia., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 096/232] gnu: Add python-pydevd., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 093/232] gnu: python-black: Update to 22.3.0., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 034/232] gnu: Add python-ufoprocessor., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 054/232] gnu: Add python-jaraco-functools.,
Maxim Cournoyer <=
- [bug#55104] [PATCH 058/232] gnu: Add python-tempora., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 061/232] gnu: python-faker: Update to 13.3.4 and honor TESTS?., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 049/232] gnu: python-mypy: Update to 0.942 and fix search path., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 062/232] gnu: Add python-pytest-randomly., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 053/232] gnu: Add python-jaraco-context., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 064/232] gnu: Add psautohint., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 066/232] gnu: Add python-xdoctest., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 068/232] gnu: python-setuptools: Update to 62.0.0., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 069/232] gnu: python-pathpy: Deprecate by python-path., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 051/232] gnu: python-pytest-checkdocs: Update to 2.7.1., Maxim Cournoyer, 2022/04/25