[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
57/242: gnu: Add python-pip-run.
From: |
guix-commits |
Subject: |
57/242: gnu: Add python-pip-run. |
Date: |
Wed, 11 May 2022 18:02:51 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit a175fc8f90785ecec0e4cec843e109ba7b0ad5a8
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 1fb96e0200..7c105d6d5b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12856,6 +12856,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")
- 61/242: gnu: python-faker: Update to 13.3.4 and honor TESTS?., (continued)
- 61/242: gnu: python-faker: Update to 13.3.4 and honor TESTS?., guix-commits, 2022/05/11
- 51/242: gnu: python-pytest-checkdocs: Update to 2.7.1., guix-commits, 2022/05/11
- 12/242: gnu: Add texlive-paralist., guix-commits, 2022/05/11
- 09/242: gnu: python-prompt-toolkit: Update to 3.0.29., guix-commits, 2022/05/11
- 14/242: gnu: Add texlive-metalogo., guix-commits, 2022/05/11
- 35/242: gnu: Add python-ufonormalizer., guix-commits, 2022/05/11
- 43/242: gnu: Add python-pytest-freezegun., guix-commits, 2022/05/11
- 42/242: gnu: Add python-types-pytz., guix-commits, 2022/05/11
- 45/242: gnu: Add python-path-bootstrap., guix-commits, 2022/05/11
- 58/242: gnu: Add python-tempora., guix-commits, 2022/05/11
- 57/242: gnu: Add python-pip-run.,
guix-commits <=
- 66/242: gnu: Add python-xdoctest., guix-commits, 2022/05/11
- 98/242: gnu: python-greenlet: Update to 1.1.2., guix-commits, 2022/05/11
- 101/242: gnu: Add python-ipyparallel-bootstrap., guix-commits, 2022/05/11
- 112/242: gnu: Add texlive-lm-math., guix-commits, 2022/05/11
- 114/242: gnu: Add python-jupyter-server-mathjax., guix-commits, 2022/05/11
- 18/242: gnu: Add texlive-zref., guix-commits, 2022/05/11
- 10/242: gnu: python-ipython: Update to 8.2.0 [fixes CVE-2022-21699]., guix-commits, 2022/05/11
- 15/242: gnu: Add texlive-makecmds., guix-commits, 2022/05/11
- 16/242: gnu: Add texlive-csplain., guix-commits, 2022/05/11
- 11/242: gnu: python-nbformat: Update to 5.3.0., guix-commits, 2022/05/11