[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
56/233: gnu: Add python-path.
From: |
guix-commits |
Subject: |
56/233: gnu: Add python-path. |
Date: |
Sun, 24 Apr 2022 23:39:41 -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")
- 18/233: gnu: Add texlive-zref., (continued)
- 18/233: gnu: Add texlive-zref., guix-commits, 2022/04/24
- 19/233: gnu: Add python-pcpp., guix-commits, 2022/04/24
- 21/233: gnu: Add python-opentype-sanitizer., guix-commits, 2022/04/24
- 31/233: gnu: Add python-defcon., guix-commits, 2022/04/24
- 24/233: gnu: Add python-unicodedata2., guix-commits, 2022/04/24
- 38/233: gnu: Add python-jaraco-context-bootstrap., guix-commits, 2022/04/24
- 47/233: gnu: python-importlib-metadata: Update to 4.11.3., guix-commits, 2022/04/24
- 49/233: gnu: python-mypy: Update to 0.942 and fix search path., guix-commits, 2022/04/24
- 52/233: gnu: Add python-jaraco-classes., guix-commits, 2022/04/24
- 58/233: gnu: Add python-tempora., guix-commits, 2022/04/24
- 56/233: gnu: Add python-path.,
guix-commits <=
- 64/233: gnu: Add psautohint., guix-commits, 2022/04/24
- 33/233: gnu: Add python-cu2qu., guix-commits, 2022/04/24
- 34/233: gnu: Add python-ufoprocessor., guix-commits, 2022/04/24
- 35/233: gnu: Add python-ufonormalizer., guix-commits, 2022/04/24
- 36/233: gnu: Add python-types-toml., guix-commits, 2022/04/24
- 37/233: gnu: Add python-pytest-mypy., guix-commits, 2022/04/24
- 40/233: gnu: Add python-autocommand., guix-commits, 2022/04/24
- 25/233: gnu: python-fonttools-with-test: Rename to python-fonttools-full., guix-commits, 2022/04/24
- 44/233: gnu: Add python-pytest-enabler-bootstrap., guix-commits, 2022/04/24
- 46/233: gnu: Add python-pip-run-bootstrap., guix-commits, 2022/04/24