[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: |
Thu, 12 May 2022 14:14:09 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit f2be0c5b2b19a4c867906f4ae1b4393d92cc4b08
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")
- 41/242: gnu: Add python-types-freezegun., (continued)
- 41/242: gnu: Add python-types-freezegun., guix-commits, 2022/05/12
- 46/242: gnu: Add python-pip-run-bootstrap., guix-commits, 2022/05/12
- 34/242: gnu: Add python-ufoprocessor., guix-commits, 2022/05/12
- 40/242: gnu: Add python-autocommand., guix-commits, 2022/05/12
- 37/242: gnu: Add python-pytest-mypy., guix-commits, 2022/05/12
- 50/242: gnu: Add python-types-docutils., guix-commits, 2022/05/12
- 48/242: gnu: python-pytest-black: Update to 0.3.12., guix-commits, 2022/05/12
- 54/242: gnu: Add python-jaraco-functools., guix-commits, 2022/05/12
- 61/242: gnu: python-faker: Update to 13.3.4 and honor TESTS?., guix-commits, 2022/05/12
- 68/242: gnu: python-setuptools: Update to 62.0.0., guix-commits, 2022/05/12
- 70/242: gnu: python-pytest-shutil: Adjust to use python-path.,
guix-commits <=
- 64/242: gnu: Add psautohint., guix-commits, 2022/05/12
- 73/242: gnu: python-jupyter-packaging: Update to 0.12.0, run test suite., guix-commits, 2022/05/12
- 79/242: gnu: Add python-cffsubr., guix-commits, 2022/05/12
- 23/242: gnu: Add python-fontmath., guix-commits, 2022/05/12
- 74/242: gnu: python-scipy: Move input fields below arguments field., guix-commits, 2022/05/12
- 76/242: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/05/12
- 82/242: gnu: Add python-ufolib2., guix-commits, 2022/05/12
- 100/242: gnu: python-pytest-xdist-next: Update to 2.5.0., guix-commits, 2022/05/12
- 94/242: gnu: pylint: Run tests in parallel., guix-commits, 2022/05/12
- 111/242: gnu: Add texlive-unicode-math., guix-commits, 2022/05/12