[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
56/166: gnu: Add python-path.
From: |
guix-commits |
Subject: |
56/166: gnu: Add python-path. |
Date: |
Tue, 19 Apr 2022 09:17:56 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit bef544a441df165dc63f14fe8e645823d99a7cff
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Apr 6 00:42:34 2022 -0400
gnu: Add python-path.
* gnu/packages/python-xyz.scm (python-path): New variable.
---
gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 842d26d206..dc410da132 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12723,6 +12723,42 @@ objects as first-class entities, allowing common
operations on files to be
invoked on those path objects directly.")
(license license:expat))))
+(define-public python-path
+ (package/inherit python-path-bootstrap
+ (name "python-path")
+ (arguments
+ (substitute-keyword-arguments
+ (package-arguments python-path-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"
+ (string-append
+ "not project "
+ ;; This tests assumes a root user exists.
+ "and not test_get_owner")))))))))
+ (native-inputs
+ (modify-inputs (package-native-inputs python-path-bootstrap)
+ (append python-appdirs
+ python-packaging
+ 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-path-bootstrap)))))
+
(define-public python-pretend
(package
(name "python-pretend")
- 37/166: gnu: Add python-pytest-mypy., (continued)
- 37/166: gnu: Add python-pytest-mypy., guix-commits, 2022/04/19
- 42/166: gnu: Add python-types-pytz., guix-commits, 2022/04/19
- 44/166: gnu: Add python-pytest-enabler-bootstrap., guix-commits, 2022/04/19
- 45/166: gnu: Add python-path-bootstrap., guix-commits, 2022/04/19
- 46/166: gnu: Add python-pip-run-bootstrap., guix-commits, 2022/04/19
- 47/166: gnu: python-importlib-metadata: Update to 4.11.3., guix-commits, 2022/04/19
- 49/166: gnu: python-mypy: Update to 0.942 and fix search path., guix-commits, 2022/04/19
- 52/166: gnu: Add python-jaraco-classes., guix-commits, 2022/04/19
- 53/166: gnu: Add python-jaraco-context., guix-commits, 2022/04/19
- 54/166: gnu: Add python-jaraco-functools., guix-commits, 2022/04/19
- 56/166: gnu: Add python-path.,
guix-commits <=
- 58/166: gnu: Add python-tempora., guix-commits, 2022/04/19
- 60/166: gnu: python-factory-boy: Update to 3.2.1., guix-commits, 2022/04/19
- 63/166: gnu: Add psautohint-font-data., guix-commits, 2022/04/19
- 66/166: gnu: Add python-xdoctest., guix-commits, 2022/04/19
- 69/166: gnu: python-pathpy: Deprecate by python-path., guix-commits, 2022/04/19
- 73/166: gnu: python-jupyter-packaging: Update to 0.12.0, run test suite., guix-commits, 2022/04/19
- 75/166: gnu: python-scipy: Update to 1.8.0 and enable parallel build., guix-commits, 2022/04/19
- 74/166: gnu: python-scipy: Move input fields below arguments field., guix-commits, 2022/04/19
- 80/166: gnu: Add skia., guix-commits, 2022/04/19
- 83/166: gnu: Add python-compreffor., guix-commits, 2022/04/19