[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:12:21 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit f624de4f3fbf5c97e2ba69972d227ddd262de362
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")
- 17/166: gnu: Add texlive-cs., (continued)
- 17/166: gnu: Add texlive-cs., guix-commits, 2022/04/19
- 155/166: gnu: python-pynndescent: Update to 0.5.6., guix-commits, 2022/04/19
- 152/166: gnu: python-pandas: Build and run tests in parallel., guix-commits, 2022/04/19
- 159/166: gnu: python-sparqlwrapper: Update to 2.0.0., guix-commits, 2022/04/19
- 164/166: gnu: python-types-dataclasses: Fix typo., guix-commits, 2022/04/19
- 52/166: gnu: Add python-jaraco-classes., guix-commits, 2022/04/19
- 48/166: gnu: python-pytest-black: Update to 0.3.12., guix-commits, 2022/04/19
- 72/166: gnu: Add python-scikit-build., guix-commits, 2022/04/19
- 44/166: gnu: Add python-pytest-enabler-bootstrap., guix-commits, 2022/04/19
- 31/166: gnu: Add python-defcon., guix-commits, 2022/04/19
- 70/166: gnu: python-pytest-shutil: Adjust to use python-path.,
guix-commits <=
- 88/166: gnu: Add texlive-bidi., guix-commits, 2022/04/19
- 108/166: gnu: python-anyio: Update to 3.5.0., guix-commits, 2022/04/19
- 34/166: gnu: Add python-ufoprocessor., guix-commits, 2022/04/19
- 50/166: gnu: Add python-types-docutils., guix-commits, 2022/04/19
- 25/166: gnu: python-fonttools-with-test: Rename to python-fonttools-full., guix-commits, 2022/04/19
- 36/166: gnu: Add python-types-toml., guix-commits, 2022/04/19
- 65/166: gnu: Add python-ordered-set., guix-commits, 2022/04/19
- 99/166: gnu: Add python-pytest-forked-next., guix-commits, 2022/04/19
- 82/166: gnu: Add python-ufolib2., guix-commits, 2022/04/19
- 94/166: gnu: pylint: Run tests in parallel., guix-commits, 2022/04/19