[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55104] [PATCH 070/232] gnu: python-pytest-shutil: Adjust to use pyt
From: |
Maxim Cournoyer |
Subject: |
[bug#55104] [PATCH 070/232] gnu: python-pytest-shutil: Adjust to use python-path. |
Date: |
Sun, 24 Apr 2022 23:56:36 -0400 |
* 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 @@ (define-public python-pytest-shutil
(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 @@ (define-public python-pytest-shutil
(("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")
--
2.34.0
- [bug#55104] [PATCH 078/232] gnu: Add python-afdko., (continued)
- [bug#55104] [PATCH 078/232] gnu: Add python-afdko., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 087/232] gnu: Add font-sil-ezra., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 090/232] gnu: python-click: Update to 8.1.2 and honor TESTS?., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 091/232] gnu: python-flask: Update to 2.1.1., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 088/232] gnu: Add texlive-bidi., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 095/232] gnu: python-trio: Update to 0.20.0., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 098/232] gnu: python-greenlet: Update to 1.1.2., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 099/232] gnu: Add python-pytest-forked-next., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 100/232] gnu: python-pytest-xdist-next: Update to 2.5.0., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 101/232] gnu: Add python-ipyparallel-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 070/232] gnu: python-pytest-shutil: Adjust to use python-path.,
Maxim Cournoyer <=
- [bug#55104] [PATCH 074/232] gnu: python-scipy: Move input fields below arguments field., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 082/232] gnu: Add python-ufolib2., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 076/232] gnu: Add java-antlr4-runtime-cpp., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 084/232] gnu: Add python-ufo2ft., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 097/232] gnu: Add python-debugpy., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 030/232] gnu: Add python-fontpens., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 031/232] gnu: Add python-defcon., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 052/232] gnu: Add python-jaraco-classes., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 072/232] gnu: Add python-scikit-build., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 081/232] gnu: Add python-skia-pathops., Maxim Cournoyer, 2022/04/25