[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/12: gnu: tcsh: Update to 6.22.03.
From: |
guix-commits |
Subject: |
09/12: gnu: tcsh: Update to 6.22.03. |
Date: |
Wed, 16 Dec 2020 18:17:28 -0500 (EST) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit bca05d07099703f37eaf3a0eab9b87ea3e472279
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Dec 16 00:28:51 2020 +0100
gnu: tcsh: Update to 6.22.03.
* gnu/packages/patches/tcsh-fix-autotest.patch: Remove test hunk that no
longer applies.
* gnu/packages/shells.scm (tcsh): Update to 6.22.03.
[arguments]: Patch /usr/bin/env invocation. Adjust the test mention above
with a substitution instead.
---
gnu/packages/patches/tcsh-fix-autotest.patch | 11 -----------
gnu/packages/shells.scm | 15 +++++++++++++--
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/patches/tcsh-fix-autotest.patch
b/gnu/packages/patches/tcsh-fix-autotest.patch
index 200867c..9f57906 100644
--- a/gnu/packages/patches/tcsh-fix-autotest.patch
+++ b/gnu/packages/patches/tcsh-fix-autotest.patch
@@ -63,17 +63,6 @@
AT_DATA([comment2.csh],
[[echo testing...@%:@\
---- tests/subst.at
-+++ tests/subst.at
-@@ -54,7 +54,7 @@ AT_CHECK([export HOME=$(getent passwd $(id -un) | awk -F: '{
print $(NF - 1) }')
- , [1
- ])
-
--AT_CHECK([export HOME=$(getent passwd $(id -un) | awk -F: '{ print $(NF - 1)
}'); echo "echo ~$(id -un)/foo; echo \"\$HOME/foo\"" | tcsh -f | uniq dnl
-+AT_CHECK([export HOME=$(getent passwd $(id -un) | awk -F: '{ print $(NF - 1)
}'); echo "echo ~$(id -un)//foo; echo \"\$HOME/foo\"" | tcsh -f | uniq dnl
- | wc -l | tr -d ' \t'], , [1
- ])
-
--- tests/variables.at
+++ tests/variables.at
@@ -666,7 +666,8 @@ set listflags=(-xA $cwd/args.sh)
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 5b3ae21..7d3dcbf 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -16,6 +16,7 @@
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -372,7 +373,7 @@ written by Paul Haahr and Byron Rakitzis.")
(define-public tcsh
(package
(name "tcsh")
- (version "6.22.02")
+ (version "6.22.03")
(source (origin
(method url-fetch)
;; Old tarballs are moved to old/.
@@ -382,7 +383,7 @@ written by Paul Haahr and Byron Rakitzis.")
"old/tcsh-" version ".tar.gz")))
(sha256
(base32
- "0nw8prz1n0lmr82wnpyhrzmki630afn7p9cfgr3vl00vr9c72a7d"))
+ "1dv24bsp6faayinvwds092ylk9sb6894rl9ddm87y31a7mjzsb5y"))
(patches (search-patches "tcsh-fix-autotest.patch"))
(patch-flags '("-p0"))))
(build-system gnu-build-system)
@@ -407,6 +408,16 @@ written by Paul Haahr and Byron Rakitzis.")
;; Take care of pwd
(substitute* '("tests/commands.at" "tests/variables.at")
(("/bin/pwd") (which "pwd")))
+ (substitute* "Makefile"
+ ;; Likewise for /usr/bin/env.
+ (("/usr/bin/env") "env")
+ ;; Don't reset the environment (PATH, etc).
+ (("\\$\\(ENVCMD\\) -") "$(ENVCMD)"))
+ ;; This test does not expect the home directory from
+ ;; /etc/passwd to be '/'.
+ (substitute* "tests/subst.at"
+ (("\\$\\(id -un\\)/foo")
+ "$(id -un)//foo"))
;; The .at files create shell scripts without shebangs. Erk.
(substitute* "tests/commands.at"
(("./output.sh") "/bin/sh output.sh"))
- branch core-updates updated (cc6cb6e -> c78964e), guix-commits, 2020/12/16
- 01/12: gnu: readline: Update to 8.1.0., guix-commits, 2020/12/16
- 03/12: gnu: perl-module-build: Update to 0.4231., guix-commits, 2020/12/16
- 02/12: gnu: expat: Update to 2.2.10., guix-commits, 2020/12/16
- 04/12: gnu: perl-test-needs: Update to 0.002006., guix-commits, 2020/12/16
- 08/12: gnu: gdbm: Fix build with GCC 10., guix-commits, 2020/12/16
- 09/12: gnu: tcsh: Update to 6.22.03.,
guix-commits <=
- 05/12: gnu: Perl: Update to 5.32.0., guix-commits, 2020/12/16
- 07/12: gnu: bdb: Fix building with GCC 9., guix-commits, 2020/12/16
- 06/12: gnu: isl: Update to 0.23., guix-commits, 2020/12/16
- 10/12: gnu: glib: Disable SELinux support., guix-commits, 2020/12/16
- 11/12: gnu: cURL: Don't build with OpenLDAP., guix-commits, 2020/12/16
- 12/12: gnu: Remove 'curl-minimal'., guix-commits, 2020/12/16