[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
70/242: gnu: python-pytest-shutil: Adjust to use python-path.
From: |
guix-commits |
Subject: |
70/242: gnu: python-pytest-shutil: Adjust to use python-path. |
Date: |
Wed, 11 May 2022 18:02:54 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit c2d82965a9f5e388b120cc21c50195aeba9ba183
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 f44ab0ca9a..5469200afc 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1080,6 +1080,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")
@@ -1087,11 +1093,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")
- 02/242: gnu: python-astroid: Propagate python-typing-extensions., (continued)
- 02/242: gnu: python-astroid: Propagate python-typing-extensions., guix-commits, 2022/05/11
- 08/242: gnu: python-jinja2: Update to 3.1.1., guix-commits, 2022/05/11
- 22/242: gnu: Add python-defcon-bootstrap., guix-commits, 2022/05/11
- 29/242: gnu: Add python-fontparts-bootstrap., guix-commits, 2022/05/11
- 40/242: gnu: Add python-autocommand., guix-commits, 2022/05/11
- 37/242: gnu: Add python-pytest-mypy., guix-commits, 2022/05/11
- 46/242: gnu: Add python-pip-run-bootstrap., guix-commits, 2022/05/11
- 53/242: gnu: Add python-jaraco-context., guix-commits, 2022/05/11
- 69/242: gnu: python-pathpy: Deprecate by python-path., guix-commits, 2022/05/11
- 67/242: gnu: Add python-ubelt., guix-commits, 2022/05/11
- 70/242: gnu: python-pytest-shutil: Adjust to use python-path.,
guix-commits <=
- 72/242: gnu: Add python-scikit-build., guix-commits, 2022/05/11
- 78/242: gnu: Add python-afdko., guix-commits, 2022/05/11
- 92/242: gnu: Add python-untangle., guix-commits, 2022/05/11
- 88/242: gnu: Add texlive-bidi., guix-commits, 2022/05/11
- 89/242: gnu: Add font-gfs-ambrosia., guix-commits, 2022/05/11
- 87/242: gnu: Add font-sil-ezra., guix-commits, 2022/05/11
- 74/242: gnu: python-scipy: Move input fields below arguments field., guix-commits, 2022/05/11
- 83/242: gnu: Add python-compreffor., guix-commits, 2022/05/11
- 75/242: gnu: python-scipy: Update to 1.8.0 and enable parallel build., guix-commits, 2022/05/11
- 93/242: gnu: python-black: Update to 22.3.0., guix-commits, 2022/05/11