[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
57/166: gnu: Add python-pip-run.
From: |
guix-commits |
Subject: |
57/166: gnu: Add python-pip-run. |
Date: |
Tue, 19 Apr 2022 09:12:19 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 5c1bc9d13868669eb62fbf704d1dcc96c2ab0047
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")
- 29/166: gnu: Add python-fontparts-bootstrap., (continued)
- 29/166: gnu: Add python-fontparts-bootstrap., guix-commits, 2022/04/19
- 49/166: gnu: python-mypy: Update to 0.942 and fix search path., guix-commits, 2022/04/19
- 28/166: gnu: Add python-booleanoperations., guix-commits, 2022/04/19
- 45/166: gnu: Add python-path-bootstrap., guix-commits, 2022/04/19
- 16/166: gnu: Add texlive-csplain., guix-commits, 2022/04/19
- 83/166: gnu: Add python-compreffor., guix-commits, 2022/04/19
- 18/166: gnu: Add texlive-zref., guix-commits, 2022/04/19
- 76/166: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/04/19
- 41/166: gnu: Add python-types-freezegun., guix-commits, 2022/04/19
- 42/166: gnu: Add python-types-pytz., guix-commits, 2022/04/19
- 57/166: gnu: Add python-pip-run.,
guix-commits <=
- 43/166: gnu: Add python-pytest-freezegun., guix-commits, 2022/04/19
- 87/166: gnu: Add font-sil-ezra., guix-commits, 2022/04/19
- 40/166: gnu: Add python-autocommand., guix-commits, 2022/04/19
- 39/166: gnu: Add python-jaraco-functools-bootstrap., guix-commits, 2022/04/19
- 54/166: gnu: Add python-jaraco-functools., guix-commits, 2022/04/19
- 32/166: gnu: Add python-fontparts., guix-commits, 2022/04/19
- 21/166: gnu: Add python-opentype-sanitizer., guix-commits, 2022/04/19
- 60/166: gnu: python-factory-boy: Update to 3.2.1., guix-commits, 2022/04/19
- 73/166: gnu: python-jupyter-packaging: Update to 0.12.0, run test suite., guix-commits, 2022/04/19
- 30/166: gnu: Add python-fontpens., guix-commits, 2022/04/19