[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
40/55: gnu: python-distlib: Don't reference the implicit bash input.
From: |
guix-commits |
Subject: |
40/55: gnu: python-distlib: Don't reference the implicit bash input. |
Date: |
Thu, 21 Sep 2023 13:31:39 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit a0aff95db93f2730b57fe3411fdf2e1d8eb194ff
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Sep 10 15:34:49 2023 +0800
gnu: python-distlib: Don't reference the implicit bash input.
* gnu/packages/python-xyz.scm (python-distlib)[inputs]: Add BASH-MINIMAL.
[arguments]: Use SEARCH-INPUT-FILE instead of WHICH.
---
gnu/packages/python-xyz.scm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b574ec2efe..5445318157 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8551,9 +8551,10 @@ and therefore easier to read and write.")
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'no-/bin/sh
- (lambda _
- (substitute* '("distlib/scripts.py" "tests/test_scripts.py")
- (("/bin/sh") (which "sh")))))
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((/bin/sh (search-input-file inputs "bin/sh")))
+ (substitute* '("distlib/scripts.py" "tests/test_scripts.py")
+ (("/bin/sh") /bin/sh)))))
(add-before 'check 'prepare-test-environment
(lambda _
(setenv "HOME" "/tmp")
@@ -8561,6 +8562,8 @@ and therefore easier to read and write.")
(setenv "SKIP_ONLINE" "1"))))))
(native-inputs
(list python-pytest))
+ (inputs
+ (list bash-minimal))
(home-page "https://github.com/pypa/distlib")
(synopsis "Distribution utilities")
(description "Distlib is a library which implements low-level functions
that
- 08/55: gnu: Add python-tracerite., (continued)
- 08/55: gnu: Add python-tracerite., guix-commits, 2023/09/21
- 15/55: gnu: uwufetch: Avoid top-level package references., guix-commits, 2023/09/21
- 17/55: gnu: Add python-dj-email-url., guix-commits, 2023/09/21
- 21/55: gnu: Add python-django-configurations., guix-commits, 2023/09/21
- 23/55: gnu: python-django-picklefield: Update to 3.1.0., guix-commits, 2023/09/21
- 27/55: gnu: graphite-web: Update to 1.1.10., guix-commits, 2023/09/21
- 28/55: gnu: Remove python-django@2.2., guix-commits, 2023/09/21
- 29/55: gnu: python-flex: Update to 6.14.1., guix-commits, 2023/09/21
- 34/55: gnu: python-django@3.2: Update to 3.2.21., guix-commits, 2023/09/21
- 35/55: gnu: python-asgiref: Update to 3.7.2., guix-commits, 2023/09/21
- 40/55: gnu: python-distlib: Don't reference the implicit bash input.,
guix-commits <=
- 52/55: gnu: python-libnacl: Update to 2.1.0., guix-commits, 2023/09/21
- 44/55: gnu: python-uvicorn: Update to 0.23.2., guix-commits, 2023/09/21
- 49/55: gnu: python-incremental: Update to 22.10.0., guix-commits, 2023/09/21
- 46/55: gnu: python-psycopg: Update to 3.1.10., guix-commits, 2023/09/21
- 48/55: gnu: python-txaio: Update to 23.1.1., guix-commits, 2023/09/21
- 11/55: gnu: Add python-sphinx-basic-ng., guix-commits, 2023/09/21
- 16/55: services: nftables: Add 'configuration' action., guix-commits, 2023/09/21
- 22/55: gnu: Add python-django-ninja., guix-commits, 2023/09/21
- 55/55: gnu: python-bwapy: Fix typo., guix-commits, 2023/09/21
- 02/55: gnu: Add python-dirty-equals., guix-commits, 2023/09/21