[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
35/150: gnu: python-urwidtrees: Remove dependency on mock.
From: |
guix-commits |
Subject: |
35/150: gnu: python-urwidtrees: Remove dependency on mock. |
Date: |
Sun, 24 Apr 2022 05:12:19 -0400 (EDT) |
lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit db4b04619ce5d8c33c64c021a9bc14ebe9632ef9
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Wed Dec 29 09:45:58 2021 +0100
gnu: python-urwidtrees: Remove dependency on mock.
Not used during runtime.
* gnu/packages/python-xyz.scm (python-urwidtrees)[arguments]: Add new
phase 'remove-mock-runtime-dependency.
---
gnu/packages/python-xyz.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 821b25ebd3..b7f2d8f84e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9205,7 +9205,14 @@ distance between two or more sequences by many
algorithms.")
"1y1vysx7jg0vbrarlsykhf7nmr8fc6k1fva1q3i98xq2m30s6r68"))))
(build-system python-build-system)
(arguments
- '(#:tests? #f)) ; no tests
+ '(#:tests? #f ; no tests
+ #:phases
+ (modify-phases %standard-phases
+ ;; mock is a false runtime dependency and can be removed.
+ (add-after 'unpack 'remove-mock-runtime-dependency
+ (lambda _
+ (substitute* "setup.py"
+ (("'mock',?") "")))))))
(propagated-inputs (list python-urwid))
(native-inputs (list python-mock))
(home-page "https://github.com/pazz/urwidtrees")
- 143/150: gnu: python-libsass: Fix 'sanity-check phase., (continued)
- 143/150: gnu: python-libsass: Fix 'sanity-check phase., guix-commits, 2022/04/24
- 137/150: gnu: python-importmagic: Add missing test input., guix-commits, 2022/04/24
- 139/150: gnu: python-jinja2-cli: Disable tests., guix-commits, 2022/04/24
- 140/150: gnu: python-jupyter-packaging: Disable failing tests., guix-commits, 2022/04/24
- 145/150: gnu: python-lunr: Disable tests., guix-commits, 2022/04/24
- 146/150: gnu: meson: Match shebang instead of setuptools-specific line., guix-commits, 2022/04/24
- 148/150: gnu: python-parsedatetime: Explicit test-backend., guix-commits, 2022/04/24
- 03/150: python-build-system: Use PEP 517-compatible builds., guix-commits, 2022/04/24
- 17/150: gnu: python-testpath: Remove custom build phases., guix-commits, 2022/04/24
- 09/150: gnu: python-flit: Inherit from python-flit-core., guix-commits, 2022/04/24
- 35/150: gnu: python-urwidtrees: Remove dependency on mock.,
guix-commits <=
- 52/150: gnu: python-pytest-xvfb: Remove obsolete test target., guix-commits, 2022/04/24
- 50/150: gnu: python-pytest-benchmark: Disable tests., guix-commits, 2022/04/24
- 53/150: gnu: python-pytest-qt: Remove obsolete test target., guix-commits, 2022/04/24
- 51/150: gnu: python-entrypoint2: Remove obsolete test target., guix-commits, 2022/04/24
- 57/150: gnu: python-argon2-cffi: Do not override 'build., guix-commits, 2022/04/24
- 69/150: gnu: python-three-merge: Remove obsolete argument., guix-commits, 2022/04/24
- 64/150: gnu: python-pyls-black: Remove obsolete argument., guix-commits, 2022/04/24
- 85/150: gnu: python-libxml2: Fix build., guix-commits, 2022/04/24
- 83/150: gnu: python-gssapi: Disable tests., guix-commits, 2022/04/24
- 76/150: gnu: python-pytest-catchlog: Disable tests., guix-commits, 2022/04/24