[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
57/204: gnu: Add python-pip-run.
From: |
guix-commits |
Subject: |
57/204: gnu: Add python-pip-run. |
Date: |
Wed, 20 Apr 2022 02:03:19 -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")
- 95/204: gnu: python-trio: Update to 0.20.0., (continued)
- 95/204: gnu: python-trio: Update to 0.20.0., guix-commits, 2022/04/20
- 98/204: gnu: python-greenlet: Update to 1.1.2., guix-commits, 2022/04/20
- 103/204: gnu: python-jupyter-core: Update to 4.10.0., guix-commits, 2022/04/20
- 105/204: gnu: python-ipykernel: Update to 6.13.0., guix-commits, 2022/04/20
- 112/204: gnu: Add texlive-lm-math., guix-commits, 2022/04/20
- 144/204: gnu: python-falcon: Update to 3.1.0., guix-commits, 2022/04/20
- 43/204: gnu: Add python-pytest-freezegun., guix-commits, 2022/04/20
- 45/204: gnu: Add python-path-bootstrap., guix-commits, 2022/04/20
- 46/204: gnu: Add python-pip-run-bootstrap., guix-commits, 2022/04/20
- 55/204: gnu: Add python-pytest-enabler., guix-commits, 2022/04/20
- 57/204: gnu: Add python-pip-run.,
guix-commits <=
- 61/204: gnu: python-faker: Update to 13.3.4 and honor TESTS?., guix-commits, 2022/04/20
- 50/204: gnu: Add python-types-docutils., guix-commits, 2022/04/20
- 66/204: gnu: Add python-xdoctest., guix-commits, 2022/04/20
- 69/204: gnu: python-pathpy: Deprecate by python-path., guix-commits, 2022/04/20
- 78/204: gnu: Add python-afdko., guix-commits, 2022/04/20
- 81/204: gnu: Add python-skia-pathops., guix-commits, 2022/04/20
- 84/204: gnu: Add python-ufo2ft., guix-commits, 2022/04/20
- 99/204: gnu: Add python-pytest-forked-next., guix-commits, 2022/04/20
- 107/204: gnu: python-ipyparallel: Update to 8.2.1., guix-commits, 2022/04/20
- 51/204: gnu: python-pytest-checkdocs: Update to 2.7.1., guix-commits, 2022/04/20