[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
56/242: gnu: Add python-path.
From: |
guix-commits |
Subject: |
56/242: gnu: Add python-path. |
Date: |
Thu, 12 May 2022 14:14:07 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 831bf98f6ceed5b1ac400c90f74c3a49587d7d0b
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 458d0d58af..88435942ce 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12739,6 +12739,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")
- 209/242: gnu: python-flask-login: Update to 0.6.0., (continued)
- 209/242: gnu: python-flask-login: Update to 0.6.0., guix-commits, 2022/05/12
- 232/242: gnu: python-matplotlib-documentation: Fix build., guix-commits, 2022/05/12
- 239/242: gnu: Add python-sanic-routing., guix-commits, 2022/05/12
- 08/242: gnu: python-jinja2: Update to 3.1.1., guix-commits, 2022/05/12
- 15/242: gnu: Add texlive-makecmds., guix-commits, 2022/05/12
- 33/242: gnu: Add python-cu2qu., guix-commits, 2022/05/12
- 49/242: gnu: python-mypy: Update to 0.942 and fix search path., guix-commits, 2022/05/12
- 52/242: gnu: Add python-jaraco-classes., guix-commits, 2022/05/12
- 51/242: gnu: python-pytest-checkdocs: Update to 2.7.1., guix-commits, 2022/05/12
- 43/242: gnu: Add python-pytest-freezegun., guix-commits, 2022/05/12
- 56/242: gnu: Add python-path.,
guix-commits <=
- 53/242: gnu: Add python-jaraco-context., guix-commits, 2022/05/12
- 55/242: gnu: Add python-pytest-enabler., guix-commits, 2022/05/12
- 72/242: gnu: Add python-scikit-build., guix-commits, 2022/05/12
- 98/242: gnu: python-greenlet: Update to 1.1.2., guix-commits, 2022/05/12
- 87/242: gnu: Add font-sil-ezra., guix-commits, 2022/05/12
- 105/242: gnu: python-ipykernel: Update to 6.13.0., guix-commits, 2022/05/12
- 89/242: gnu: Add font-gfs-ambrosia., guix-commits, 2022/05/12
- 93/242: gnu: python-black: Update to 22.3.0., guix-commits, 2022/05/12
- 90/242: gnu: python-click: Update to 8.1.2 and honor TESTS?., guix-commits, 2022/05/12
- 78/242: gnu: Add python-afdko., guix-commits, 2022/05/12