[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
57/233: gnu: Add python-pip-run.
From: |
guix-commits |
Subject: |
57/233: gnu: Add python-pip-run. |
Date: |
Sun, 24 Apr 2022 23:39:42 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 726a3c07c752c23a648e68ec8cfb8a71a4315f49
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Apr 6 01:09:32 2022 -0400
gnu: Add python-pip-run.
* gnu/packages/python-xyz.scm (python-pip-run): New variable.
---
gnu/packages/python-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index dc410da132..0f6731efe7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12850,6 +12850,44 @@ $ rm -rf /tmp/env
@end example")
(license license:expat))))
+(define-public python-pip-run
+ (package/inherit python-pip-run-bootstrap
+ (name "python-pip-run")
+ (arguments
+ (substitute-keyword-arguments (package-arguments python-pip-run-bootstrap)
+ ((#:tests? _ #f)
+ #t)
+ ((#:phases phases #~%standard-phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-k"
+ (string-append
+ ;; Do not test the myproject.toml build as it tries
+ ;; to pull dependencies from the internet.
+ "not project "
+ ;; These tests attempt to install dependencies from
+ ;; the network and fail.
+ "and not test_pkg_imported "
+ "and not test_pkg_loaded_from_alternate_index
")))))))))
+ (propagated-inputs
+ (modify-inputs (package-propagated-inputs python-pip-run-bootstrap)
+ (replace "python-path-bootstrap" python-path)))
+ (native-inputs
+ (modify-inputs (package-native-inputs python-pip-run-bootstrap)
+ (append python-nbformat
+ python-pygments
+ python-pytest
+ python-pytest-black
+ python-pytest-checkdocs
+ python-pytest-cov
+ python-pytest-enabler
+ python-pytest-flake8
+ python-pytest-mypy)))
+ (properties (alist-delete 'hidden? (package-properties
+ python-pip-run-bootstrap)))))
+
(define-public python-tlsh
(package
(name "python-tlsh")
- 25/233: gnu: python-fonttools-with-test: Rename to python-fonttools-full., (continued)
- 25/233: gnu: python-fonttools-with-test: Rename to python-fonttools-full., guix-commits, 2022/04/24
- 44/233: gnu: Add python-pytest-enabler-bootstrap., guix-commits, 2022/04/24
- 46/233: gnu: Add python-pip-run-bootstrap., guix-commits, 2022/04/24
- 59/233: gnu: Add python-pytest-perf., guix-commits, 2022/04/24
- 54/233: gnu: Add python-jaraco-functools., guix-commits, 2022/04/24
- 27/233: gnu: Add python-fontpens-bootstrap., guix-commits, 2022/04/24
- 41/233: gnu: Add python-types-freezegun., guix-commits, 2022/04/24
- 45/233: gnu: Add python-path-bootstrap., guix-commits, 2022/04/24
- 48/233: gnu: python-pytest-black: Update to 0.3.12., guix-commits, 2022/04/24
- 72/233: gnu: Add python-scikit-build., guix-commits, 2022/04/24
- 57/233: gnu: Add python-pip-run.,
guix-commits <=
- 60/233: gnu: python-factory-boy: Update to 3.2.1., guix-commits, 2022/04/24
- 63/233: gnu: Add psautohint-font-data., guix-commits, 2022/04/24
- 61/233: gnu: python-faker: Update to 13.3.4 and honor TESTS?., guix-commits, 2022/04/24
- 62/233: gnu: Add python-pytest-randomly., guix-commits, 2022/04/24
- 69/233: gnu: python-pathpy: Deprecate by python-path., guix-commits, 2022/04/24
- 71/233: gnu: python-pytest-cov: Update to 3.0.0., guix-commits, 2022/04/24
- 74/233: gnu: python-scipy: Move input fields below arguments field., guix-commits, 2022/04/24
- 75/233: gnu: python-scipy: Update to 1.8.0 and enable parallel build., guix-commits, 2022/04/24
- 78/233: gnu: Add python-afdko., guix-commits, 2022/04/24
- 80/233: gnu: Add skia., guix-commits, 2022/04/24