[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
32/103: gnu: python-urwidtrees: Remove dependency on mock.
From: |
guix-commits |
Subject: |
32/103: gnu: python-urwidtrees: Remove dependency on mock. |
Date: |
Wed, 5 Jan 2022 09:44:31 -0500 (EST) |
lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit c75b342e0517b488b4e2cb04c95c7447f0d7be5c
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 942d8db51a..9fd5968a67 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8768,7 +8768,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))
(home-page "https://github.com/pazz/urwidtrees")
(synopsis "Tree widgets for urwid")
- 68/103: gnu: python-flake8-pie: Fix build., (continued)
- 68/103: gnu: python-flake8-pie: Fix build., guix-commits, 2022/01/05
- 74/103: gnu: python-entrypoints: Fix build and enable tests., guix-commits, 2022/01/05
- 77/103: gnu: python-qstylizer: Remove obsolete argument., guix-commits, 2022/01/05
- 93/103: gnu: python-pytest-httpbin: Disable tests., guix-commits, 2022/01/05
- 92/103: gnu: python-cairocffi: Disable tests., guix-commits, 2022/01/05
- 95/103: gnu: python-progressbar2: Disable tests., guix-commits, 2022/01/05
- 96/103: gnu: python-click-5: Disable failing test., guix-commits, 2022/01/05
- 98/103: gnu: btrfs-progs: Add missing input., guix-commits, 2022/01/05
- 102/103: gnu: tensorflow: Add missing module., guix-commits, 2022/01/05
- 101/103: gnu: Add missing module import., guix-commits, 2022/01/05
- 32/103: gnu: python-urwidtrees: Remove dependency on mock.,
guix-commits <=
- 34/103: gnu: python-pycosat: Run tests., guix-commits, 2022/01/05
- 41/103: gnu: calibre: Remove old build flag., guix-commits, 2022/01/05
- 43/103: gnu: openmolar: Remove old build flag., guix-commits, 2022/01/05
- 42/103: gnu: epour: Remove old build flag., guix-commits, 2022/01/05
- 49/103: gnu: python-pytest-xvfb: Remove obsolete test target., guix-commits, 2022/01/05
- 52/103: gnu: Add python-pytest-expect., guix-commits, 2022/01/05
- 53/103: gnu: python-lzo: Remove deprecated argument and add test input., guix-commits, 2022/01/05
- 54/103: gnu: python-argon2-cffi: Do not override 'build., guix-commits, 2022/01/05
- 58/103: gnu: python-httptools: Disable tests., guix-commits, 2022/01/05
- 59/103: gnu: python-venusian: Remove obsolete argument., guix-commits, 2022/01/05