[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
70/166: gnu: python-pytest-shutil: Adjust to use python-path.
From: |
guix-commits |
Subject: |
70/166: gnu: python-pytest-shutil: Adjust to use python-path. |
Date: |
Tue, 19 Apr 2022 09:17:58 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 66bb7bfb8c8a894a05f86144ea9f22379b15f7af
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")
- 40/166: gnu: Add python-autocommand., (continued)
- 40/166: gnu: Add python-autocommand., guix-commits, 2022/04/19
- 41/166: gnu: Add python-types-freezegun., guix-commits, 2022/04/19
- 39/166: gnu: Add python-jaraco-functools-bootstrap., guix-commits, 2022/04/19
- 50/166: gnu: Add python-types-docutils., guix-commits, 2022/04/19
- 19/166: gnu: Add python-pcpp., guix-commits, 2022/04/19
- 22/166: gnu: Add python-defcon-bootstrap., guix-commits, 2022/04/19
- 28/166: gnu: Add python-booleanoperations., guix-commits, 2022/04/19
- 29/166: gnu: Add python-fontparts-bootstrap., guix-commits, 2022/04/19
- 34/166: gnu: Add python-ufoprocessor., guix-commits, 2022/04/19
- 51/166: gnu: python-pytest-checkdocs: Update to 2.7.1., guix-commits, 2022/04/19
- 70/166: gnu: python-pytest-shutil: Adjust to use python-path.,
guix-commits <=
- 43/166: gnu: Add python-pytest-freezegun., guix-commits, 2022/04/19
- 67/166: gnu: Add python-ubelt., guix-commits, 2022/04/19
- 68/166: gnu: python-setuptools: Update to 62.0.0., guix-commits, 2022/04/19
- 76/166: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/04/19
- 82/166: gnu: Add python-ufolib2., guix-commits, 2022/04/19
- 84/166: gnu: Add python-ufo2ft., guix-commits, 2022/04/19
- 48/166: gnu: python-pytest-black: Update to 0.3.12., guix-commits, 2022/04/19
- 55/166: gnu: Add python-pytest-enabler., guix-commits, 2022/04/19
- 57/166: gnu: Add python-pip-run., guix-commits, 2022/04/19
- 59/166: gnu: Add python-pytest-perf., guix-commits, 2022/04/19