[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
70/233: gnu: python-pytest-shutil: Adjust to use python-path.
From: |
guix-commits |
Subject: |
70/233: gnu: python-pytest-shutil: Adjust to use python-path. |
Date: |
Sun, 24 Apr 2022 23:39:44 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 8143df8ca55a6015adab9aad27fb7baefc0c7e1b
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Apr 6 15:23:25 2022 -0400
gnu: python-pytest-shutil: Adjust to use python-path.
* gnu/packages/python-check.scm (python-pytest-shutil)
[phases]{use-path-instead-of-path.py}: New phase.
[propagated-inputs]: Replace python-path.py with python-path.
---
gnu/packages/python-check.scm | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 564d41c323..6966d96c64 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1079,6 +1079,12 @@ isort.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'use-path-instead-of-path.py
+ ;; path.py is obsolete.
+ (lambda _
+ (substitute* "setup.py"
+ (("'path.py'")
+ "'path'"))))
(add-after 'unpack 'patch-tests
(lambda _
(mkdir "/tmp/bin")
@@ -1086,11 +1092,9 @@ isort.")
(("dirname = '/bin'")
"dirname = '/tmp/bin'")
(("bindir = os.path.realpath\\('/bin'\\)")
- "bindir = os.path.realpath('/tmp/bin')"))
- #t)))))
+ "bindir = os.path.realpath('/tmp/bin')")))))))
(propagated-inputs
- (list python-contextlib2 python-execnet python-pathpy
- python-termcolor))
+ (list python-contextlib2 python-execnet python-path python-termcolor))
(native-inputs
(list python-mock python-pytest python-setuptools-git))
(home-page "https://github.com/manahl/pytest-plugins")
- 50/233: gnu: Add python-types-docutils., (continued)
- 50/233: gnu: Add python-types-docutils., guix-commits, 2022/04/24
- 51/233: gnu: python-pytest-checkdocs: Update to 2.7.1., guix-commits, 2022/04/24
- 42/233: gnu: Add python-types-pytz., guix-commits, 2022/04/24
- 39/233: gnu: Add python-jaraco-functools-bootstrap., guix-commits, 2022/04/24
- 53/233: gnu: Add python-jaraco-context., guix-commits, 2022/04/24
- 55/233: gnu: Add python-pytest-enabler., guix-commits, 2022/04/24
- 65/233: gnu: Add python-ordered-set., guix-commits, 2022/04/24
- 66/233: gnu: Add python-xdoctest., guix-commits, 2022/04/24
- 67/233: gnu: Add python-ubelt., guix-commits, 2022/04/24
- 68/233: gnu: python-setuptools: Update to 62.0.0., guix-commits, 2022/04/24
- 70/233: gnu: python-pytest-shutil: Adjust to use python-path.,
guix-commits <=
- 73/233: gnu: python-jupyter-packaging: Update to 0.12.0, run test suite., guix-commits, 2022/04/24
- 76/233: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/04/24
- 77/233: gnu: Add python-fonttools-next., guix-commits, 2022/04/24
- 79/233: gnu: Add python-cffsubr., guix-commits, 2022/04/24
- 83/233: gnu: Add python-compreffor., guix-commits, 2022/04/24
- 85/233: gnu: Add python-sfdlib., guix-commits, 2022/04/24
- 87/233: gnu: Add font-sil-ezra., guix-commits, 2022/04/24
- 86/233: gnu: Add font-amiri., guix-commits, 2022/04/24
- 88/233: gnu: Add texlive-bidi., guix-commits, 2022/04/24
- 89/233: gnu: Add font-gfs-ambrosia., guix-commits, 2022/04/24