[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
56/204: gnu: Add python-path.
From: |
guix-commits |
Subject: |
56/204: gnu: Add python-path. |
Date: |
Wed, 20 Apr 2022 02:03:19 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 368e9dfe12206fd358d8ec79dfccb0ec60cd77ba
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")
- 31/204: gnu: Add python-defcon., (continued)
- 31/204: gnu: Add python-defcon., guix-commits, 2022/04/20
- 33/204: gnu: Add python-cu2qu., guix-commits, 2022/04/20
- 38/204: gnu: Add python-jaraco-context-bootstrap., guix-commits, 2022/04/20
- 39/204: gnu: Add python-jaraco-functools-bootstrap., guix-commits, 2022/04/20
- 40/204: gnu: Add python-autocommand., guix-commits, 2022/04/20
- 44/204: gnu: Add python-pytest-enabler-bootstrap., guix-commits, 2022/04/20
- 49/204: gnu: python-mypy: Update to 0.942 and fix search path., guix-commits, 2022/04/20
- 52/204: gnu: Add python-jaraco-classes., guix-commits, 2022/04/20
- 53/204: gnu: Add python-jaraco-context., guix-commits, 2022/04/20
- 54/204: gnu: Add python-jaraco-functools., guix-commits, 2022/04/20
- 56/204: gnu: Add python-path.,
guix-commits <=
- 42/204: gnu: Add python-types-pytz., guix-commits, 2022/04/20
- 76/204: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/04/20
- 79/204: gnu: Add python-cffsubr., guix-commits, 2022/04/20
- 87/204: gnu: Add font-sil-ezra., guix-commits, 2022/04/20
- 104/204: gnu: python-jupyter-client: Update to 7.2.2., guix-commits, 2022/04/20
- 106/204: gnu: Add python-pytest-tornado., guix-commits, 2022/04/20
- 109/204: gnu: python-nbclient: Update to 0.6.0., guix-commits, 2022/04/20
- 110/204: gnu: python-bleach: Update to 5.0.0., guix-commits, 2022/04/20
- 10/204: gnu: python-ipython: Update to 8.2.0 [fixes CVE-2022-21699]., guix-commits, 2022/04/20
- 11/204: gnu: python-nbformat: Update to 5.3.0., guix-commits, 2022/04/20