[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55104] [PATCH 056/232] gnu: Add python-path.
From: |
Maxim Cournoyer |
Subject: |
[bug#55104] [PATCH 056/232] gnu: Add python-path. |
Date: |
Sun, 24 Apr 2022 23:56:22 -0400 |
* 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 @@ (define-public python-path-bootstrap
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")
--
2.34.0
- [bug#55104] [PATCH 028/232] gnu: Add python-booleanoperations., (continued)
- [bug#55104] [PATCH 028/232] gnu: Add python-booleanoperations., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 045/232] gnu: Add python-path-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 046/232] gnu: Add python-pip-run-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 029/232] gnu: Add python-fontparts-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 044/232] gnu: Add python-pytest-enabler-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 033/232] gnu: Add python-cu2qu., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 026/232] gnu: Add python-mutatormath., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 023/232] gnu: Add python-fontmath., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 037/232] gnu: Add python-pytest-mypy., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 055/232] gnu: Add python-pytest-enabler., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 056/232] gnu: Add python-path.,
Maxim Cournoyer <=
- [bug#55104] [PATCH 040/232] gnu: Add python-autocommand., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 041/232] gnu: Add python-types-freezegun., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 057/232] gnu: Add python-pip-run., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 085/232] gnu: Add python-sfdlib., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 094/232] gnu: pylint: Run tests in parallel., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 092/232] gnu: Add python-untangle., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 009/232] gnu: python-prompt-toolkit: Update to 3.0.29., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 024/232] gnu: Add python-unicodedata2., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 025/232] gnu: python-fonttools-with-test: Rename to python-fonttools-full., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 039/232] gnu: Add python-jaraco-functools-bootstrap., Maxim Cournoyer, 2022/04/25