pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/shells/guile-gash shells/guile-gash: Update to 0.2.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/c72e8a20a9b3
branches: trunk
changeset: 771337:c72e8a20a9b3
user: nikita <nikita%pkgsrc.org@localhost>
date: Fri Dec 17 13:26:23 2021 +0000
description:
shells/guile-gash: Update to 0.2.0
ChangeLog
2019-12-16 Timothy Sample <samplet%ngyro.com@localhost>
Update the NEWS file.
NEWS: Update for release 0.2.0.
2019-12-16 Timothy Sample <samplet%ngyro.com@localhost>
Make the bootstrap test work with current Guix.
* tests/bootstrap/bash-without-bash.scm (%boot0-inputs): Call the
upstream '%boot0-inputs' to get the list of packages.
2019-12-10 Timothy Sample <samplet%ngyro.com@localhost>
Generate 'version.texi' reproducibly.
* Makefile.am ($(srcdir)/doc/version.texi): New rule (overriding one
provided by Automake).
2019-12-09 Timothy Sample <samplet%ngyro.com@localhost>
Add janneke to the ChangeLog copyright notice.
2019-12-09 Jan Nieuwenhuizen <janneke%gnu.org@localhost>
Timothy Sample <samplet%ngyro.com@localhost>
Allow 'make dist' in a Git worktree.
* Makefile.am (dist-hook, gen-ChangeLog): Test for mere existence of
.git instead of asserting a directory.
2019-12-09 Timothy Sample <samplet%ngyro.com@localhost>
Generate the ChangeLog reproducibly.
* build-aux/gitlog-to-changelog-repro.patch: New file.
* Makefile.am (EXTRA_DIST): Add it.
(build-aux/gitlog-to-changelog-repro): New rule.
(gen-ChangeLog): Use 'gitlog-to-changelog-repro'.
(DISTCLEANFILES): Add 'build-aux/gitlog-to-changelog-repro'.
2019-12-09 Jan Nieuwenhuizen <janneke%gnu.org@localhost>
Timothy Sample <samplet%ngyro.com@localhost>
Generate reproducible source tarballs.
* Makefile.am (dist-hook): Generate a '.tarball-timestamp' file.
(GZIP_ENV): Override, adding '--no-name'.
(am__tar): Override, adding flags to create reproducible source
tarballs.
2019-12-09 Timothy Sample <samplet%ngyro.com@localhost>
Allow running 'make dist' from extracted tarball.
* Makefile (dist-hook): Check for '.git' before generating
'.tarball-manifest'.
2019-12-09 Timothy Sample <samplet%ngyro.com@localhost>
Generate ChangeLog from Git.
* ChangeLog: Update Git log URL and add a copyright notice.
* Makefile.am (gen-ChangeLog): Use 'gitlog-to-changelog' to generate
the ChangeLog.
2019-12-09 Jan Nieuwenhuizen <janneke%gnu.org@localhost>
gash compat textual-ports: Add put-char.
* gash/compat/textual-ports.scm: Add put-char.
2019-12-09 Timothy Sample <samplet%ngyro.com@localhost>
Initialize the current locale on Guile 2.0.
* gash/gash.scm: Initialize the current locale on Guile 2.0.
2019-12-09 Timothy Sample <samplet%ngyro.com@localhost>
Allow one-armed 'if-guile-version-below'.
* gash/compat.scm: Allow one-armed 'if-guile-version-below' syntax and
use it to simplify the conditional definitions throughout.
2019-12-09 Timothy Sample <samplet%ngyro.com@localhost>
Use bindings with regular built-ins.
* gash/shell.scm (sh:exec-let): Save and set variables according to
'bindings' before executing a regular built-in.
2019-12-09 Timothy Sample <samplet%ngyro.com@localhost>
Reap every process in a pipeline.
* gash/shell.scm (waitpid/any): New procedure.
(sh:pipeline): Use it to reap every process spawned while executing a
pipeline.
2019-12-09 Timothy Sample <samplet%ngyro.com@localhost>
Do not leak ports into pipeline processes.
* gash/shell.scm (swap-and-shift-pairs): Remove procedure.
(make-pipes): Remove procedure.
(plumb): Accept another port as an argument and close it when setting
up the child process.
(sh:pipeline): Do not use 'make-pipes' to create all the pipe ports
upfront, but rather create them as needed and give them directly to
'plumb'.
2019-12-09 Jan Nieuwenhuizen <janneke%gnu.org@localhost>
Timothy Sample <samplet%ngyro.com@localhost>
Test executing redirect-created files immediately.
* tests/redirects.org (Files opened for redirect can be executed
immediately): New test.
2019-12-09 Timothy Sample <samplet%ngyro.com@localhost>
Close ports opened for redirects.
* gash/shell.scm (redir->parameter+port): Rename this...
(process-redirect): ...to this, and make it return a list with the
third element being a boolean indicating if the port was opened by us.
(sh:with-redirects): Close ports when the new boolean is set.
2019-12-09 Timothy Sample <samplet%ngyro.com@localhost>
Enable 'glob' specification test
* tests/spec/Makefile.am (TESTS): Add 'glob'.
* tests/spec/oil.scm: Patch one of its tests and filter out eleven
others.
2019-12-09 Timothy Sample <samplet%ngyro.com@localhost>
Respect the 'noglob' option.
* gash/word.scm (expand-pathnames): Do not expand pathnames if the
'noglob' option is set.
2019-12-09 Timothy Sample <samplet%ngyro.com@localhost>
Fix pathname expansion.
The old implementation had several bugs, prompting this complete
rewrite.
* gash/compat/srfi-43.scm (vector-empty?): New procedure.
* gash/pattern.scm (pattern-null?): New procedure.
* gash/word.scm (qword->pattern-string): New procedure.
(qword->pattern): Rewrite using 'qword->pattern-string'.
(find-files): New procedure.
(expand-pathnames): Rewrite using 'find-files' and add a docstring.
* tests/unit/word.scm: Add tests.
(mock): New syntax.
(make-pure-scandir): New procedure.
(with-mocked-files): New syntax.
2019-12-09 Timothy Sample <samplet%ngyro.com@localhost>
Simplify the 'pattern' data structure.
* gash/pattern.scm (<pattern>): Remove the 'start-anchored?' and
'end-anchored?' fields.
(parse-pattern): Replace the fields with empty parts at the start or
end of the parts list.
(pattern-plain?): Instead of checking the fields, just check the
number of parts.
(pattern-match?, pattern-drop, pattern-drop-right): Do not worry about
the fields, because the empty parts ensure the right thing happens.
2019-12-09 Timothy Sample <samplet%ngyro.com@localhost>
Swap semantics of ':+' and '+'.
These were mixed up, with ':+' behaving like '+' and vice versa.
* gash/word.scm (word->qword): Swap implementations of '<sh-ref-and>'
and '<sh-ref-and*>'.
* tests/unit/word.scm: Swap tests.
2019-12-09 Timothy Sample <samplet%ngyro.com@localhost>
Enable 'command-sub' specification test
* tests/spec/Makefile.am (TESTS): Add 'command-sub'.
* tests/spec/oil.scm: Patch four of its tests and filter out another.
2019-12-09 Timothy Sample <samplet%ngyro.com@localhost>
Fix case statements in '$(...)' substitutions.
* gash/parser.scm (make-parser): Fix the 'pattern!' rule so that it
gets reduced before reading an 'RPAREN' token.
2019-12-09 Timothy Sample <samplet%ngyro.com@localhost>
Add test for backquoted commands in heredocs.
* tests/unit/parser.scm: Add test.
2019-12-09 Timothy Sample <samplet%ngyro.com@localhost>
Correctly parse double-quoted backquoted commands.
* gash/lexer.scm (read-backquoted-command): Make the default procedure
accept a 'quoted?' keyword.
(get-backquoted-command): Accept a 'quoted?' keyword and pass it on to
'read-backquoted-command'.
(get-expansion): Accept a 'quoted?' keyword and pass it on to
'get-backquoted-command'.
(get-double-quotation): Set the 'quoted?' keyword when calling
'get-expansion'.
* tests/unit/lexer.scm: Add tests.
* gash/parser.scm (call-with-backquoted-input-port): Accept a
'quoted?' keyword which, if set, adds the double quote character to
the set of escapable characters.
(read-sh/backquoted): Accept a 'quoted?' keyword and pass it on to
'call-with-backquoted-input-port'.
* tests/unit/parser.scm: Add tests.
2019-12-08 Timothy Sample <samplet%ngyro.com@localhost>
Implement asserting references.
* gash/word.scm (word->qword): Add an implementation for the
'<sh-ref-assert>' and '<sh-ref-assert*>' cases.
* tests/variable-operators.org: New file.
* Makefile.am (FULL_TESTS): Add it.
2019-12-08 Timothy Sample <samplet%ngyro.com@localhost>
Reset exit status on assignment.
* gash/eval.scm (eval-word): Add 'on-command-substitution' keyword.
(eval-sh): On '<sh-set!>' reset the exit status unless a command
substitution has occurred.
* tests/assignments.org: Add tests.
2019-12-08 Timothy Sample <samplet%ngyro.com@localhost>
Initialize the 'IFS' variable.
* gash/environment.scm (initial-variables): Initialize 'IFS'.
2019-12-08 Timothy Sample <samplet%ngyro.com@localhost>
Only throw for specific special built-in errors.
* gash/shell.scm (sh:exec-let): Do not throw on special built-in
errors.
* gash/built-ins/break.scm (main),
gash/built-ins/continue.scm (main),
gash/built-ins/return.scm (main),
gash/built-ins/shift.scm (main): Throw on error.
2019-12-08 Timothy Sample <samplet%ngyro.com@localhost>
Make 'trap' handle a numerical action.
* gash/built-ins/utils.scm (string->nonnegative-integer): New procedure.
* gash/built-ins/trap.scm (main): If the first argument is a number,
treat it as if the action were '-'.
2019-12-08 Timothy Sample <samplet%ngyro.com@localhost>
Fix 'string->positive-integer' docstring typo.
* gash/built-ins/utils.scm (string->positive-integer): Fix a typo in
the docstring.
2019-12-08 Timothy Sample <samplet%ngyro.com@localhost>
Make 'read' handle logical lines.
* gash/built-ins/read.scm (read-logical-line): New procedure.
(main): Use it unless given the '-r' option.
* tests/read.org: Add tests.
2019-12-08 Timothy Sample <samplet%ngyro.com@localhost>
Make 'read' handle input field splitting.
* gash/built-ins/read.scm (split-fields): New procedure.
(main): Use it to split the input into fields and assign each field to
its corresponding variable.
* tests/read.org: New file.
* Makefile.am (FULL_TESTS): Add it.
2019-11-24 Timothy Sample <samplet%ngyro.com@localhost>
Handle nested lists when removing quotes.
* gash/word.scm (remove-quotes): Handle nested lists.
(split-fields) <wedge-apart-quote>: Likewise.
* tests/unit/word.scm: Add test.
2019-11-24 Timothy Sample <samplet%ngyro.com@localhost>
Use temporary assignments when calling functions.
* gash/environment.scm (save-variables-excursion): New procedure.
* gash/shell.scm (sh:exec-let): Use it to set up temporary assignments
during the extent of a function.
* tests/temporary-assignments.org: New file.
* Makefile.am (TESTS): Add it.
2019-11-24 Timothy Sample <samplet%ngyro.com@localhost>
Delay bracket expression errors in patterns.
* gash/pattern.scm (parse-matching-bracket-expression): Do not
report errors until a full bracket expression has been parsed.
* tests/unit/pattern.scm: Add test.
2019-11-24 Timothy Sample <samplet%ngyro.com@localhost>
Use '(gash compat)' in '(gash built-ins utils)'.
This was omitted from ffe9fc1f47306dd526a5443689c129859e72d7ae.
* gash/built-ins/utils.scm: Use the '(gash compat)' module.
2019-11-24 Timothy Sample <samplet%ngyro.com@localhost>
Enable 'var-op-strip' specification test
* tests/spec/Makefile.am (TESTS): Add 'var-op-strip'.
* tests/spec/oil.scm: Patch two of its tests and filter out four
others.
2019-11-24 Timothy Sample <samplet%ngyro.com@localhost>
Use UTF-8 when processing specification tests.
* tests/spec/oil.scm: Set the encoding on the input and output ports
to UTF-8.
2019-11-24 Timothy Sample <samplet%ngyro.com@localhost>
Implement pattern-based variable operators.
This commit adds an implementation for the '#', '##', '%', and '%%'
variable operators.
* gash/word.scm (word->qword): Add an implementation for the
'<sh-ref-except-min>', '<sh-ref-except-max>', '<sh-ref-skip-min>',
and '<sh-ref-skip-max>' cases.
2019-11-24 Timothy Sample <samplet%ngyro.com@localhost>
Fix docstring for 'parameter-ref'.
* gash/word.scm (parameter-ref): Fix docstring.
2019-11-24 Timothy Sample <samplet%ngyro.com@localhost>
Remove tests for the '/' variable operator.
This is a Bash-specific feature, which means that it is out of scope
for now.
* tests/variable-patterns.org (slash, slash-string,
slash-string-slash): Delete tests.
2019-11-24 Timothy Sample <samplet%ngyro.com@localhost>
Add pattern dropping procedures.
* gash/pattern.scm (string-contains-part-right): New procedure.
(pattern-drop): New procedure.
(pattern-drop-right): New procedure.
* tests/unit/pattern.scm: Test the dropping procedures.
2019-11-24 Timothy Sample <samplet%ngyro.com@localhost>
Use a record type for patterns.
* gash/compat/srfi-43.scm: New file.
* Makefile.am: Add it.
* gash/pattern.scm (<pattern>): New record type.
(parse-part): New procedure.
(parse-pattern): Return a '<pattern>'.
(pattern-plain?, pattern-match?): Accept a '<pattern>'.
(string-starts-with-part, string-ends-with-part,
string-contains-part): Treat 'part' as a vector.
2019-11-24 Timothy Sample <samplet%ngyro.com@localhost>
Add tests for 'pattern-plain?'.
* tests/unit/pattern.scm: Add tests for 'pattern-plain?'.
2019-11-24 Timothy Sample <samplet%ngyro.com@localhost>
Do not test Bash with the specification tests.
* tests/spec/oil.scm: Disable testing Bash in 'spec.sh'.
2019-08-20 Timothy Sample <samplet%ngyro.com@localhost>
Remove extra import from 'run-test-suite'.
The '(ice-9 textual-ports)' module is not needed, and using it breaks
the test suite on Guile 2.0.
* tests/run-test-suite.in: Do not use '(ice-9 textual-ports)'.
2019-08-03 Timothy Sample <samplet%ngyro.com@localhost>
Add missing '(gash compat)' import.
This was omitted from ffe9fc1f47306dd526a5443689c129859e72d7ae.
* gash/shell.scm: Use the '(gash compat)' module.
2019-08-01 Timothy Sample <samplet%ngyro.com@localhost>
Use the 'site' Guile directories when installing.
Thanks to Ludovic Courtès <ludo%gnu.org@localhost> for patching this in the Guix
package definition.
* build-aux/guile.am (moddir, ccachedir): Use the 'site' directories.
2019-08-01 Timothy Sample <samplet%ngyro.com@localhost>
Use 'sh:exit' for 'errexit'.
* gash/shell.scm (errexit): Exit using 'sh:exit'.
* tests/unit/shell.scm: Make sure exit handlers are called on
'errexit'.
2019-08-01 Timothy Sample <samplet%ngyro.com@localhost>
Do not use 'with-continuation-barrier'.
It turns out that 'with-continuation-barrier' allows delimited
continuations (i.e., prompts) to get through.
* gash/shell.scm (%subshell): Replace 'with-continuation-barrier' with
'dynamic-wind', making sure to preserve exit statuses that were leaked
through before.
* tests/unit/shell.scm (call-with-temporary-directory): Replace
'with-continuation-barrier' with 'dynamic-wind'.
* tests/spec/oil.scm: Enable previously failing tests.
2019-08-01 Timothy Sample <samplet%ngyro.com@localhost>
Fix top-level 'break', 'continue', and 'return'.
* gash/environment.scm (sh:break, sh:continue, sh:return): Wrap
'abort-to-prompt' with 'false-if-exception'.
* gash/built-ins/break.scm (main): Print warning and continue if
'sh:break' returns.
* gash/built-ins/continue.scm (main): Likewise, but for 'sh:continue'.
* gash/built-ins/return.scm (main): Likewise, but for 'sh:return'.
* tests/functions.org (Top-level return): New test.
* tests/spec/oil.scm: Enable previously failing test.
2019-06-15 Timothy Sample <samplet%ngyro.com@localhost>
Handle 'return' errors.
* gash/built-ins/utils.scm (string->exit-status): New procedure.
* gash/built-ins/return.scm (main): Use it to simplify argument
checking; check for too many arguments; and print messages on
errors.
* tests/functions.org (Too many arguments to return): New test.
2019-06-15 Timothy Sample <samplet%ngyro.com@localhost>
Handle 'break' and 'continue' errors.
* gash/built-ins/utils.scm (string->positive-integer): New function.
* gash/built-ins/break.scm (main): Use it to simplify argument
checking; check for too many arguments; and print messages on errors.
* gash/built-ins/continue.scm (main): Ditto.
* gash/shell.scm (sh:exec-let): Throw an error if a special built-in
fails.
* tests/spec/oil.scm: Enable and adjust previously failing tests.
2019-06-15 Timothy Sample <samplet%ngyro.com@localhost>
Aggregate tests into test suites.
This is a big change, but it is conceptually quite simple. In the old
system, the tests were specified each by multiple files ('.sh', '.exit',
'.stdout', and '.stderr'), and run with the 'test.sh' script. In the
new system there are multiple tests per file ('.org') and these test
suite files are run with the 'tests/run-test-suite' script.
* tests/00-exit-0.sh,
tests/00-exit-1.exit,
tests/00-exit-1.sh,
tests/00-exit-2.exit,
tests/00-exit-2.sh,
tests/00-exit-error.exit,
tests/00-exit-error.sh,
tests/00-exit-var.exit,
tests/00-exit-var.sh,
tests/00-exit.sh: Delete files, moving their contents...
* tests/exiting.org: ...here.
* tests/01-script-arg-0.sh,
tests/01-script-arg-length.sh,
tests/01-script-arg-length.stdout,
tests/01-script-arg-list.sh,
tests/01-script-arg-list.stdout,
tests/01-script-backslash-space.sh,
tests/01-script-backslash-twice.exit,
tests/01-script-backslash-twice.sh,
tests/01-script-backslash.exit,
tests/01-script-backslash.sh,
tests/01-script-newline.exit,
tests/01-script-newline.sh,
tests/01-script-semi.exit,
tests/01-script-semi.sh,
tests/01-script-shift.sh,
tests/01-script-shift.stdout: Delete files, moving their contents...
* tests/arguments.org: ...here.
* tests/03-echo-brace.sh,
tests/03-echo-brace.stdout,
tests/03-echo-doublequotes.sh,
tests/03-echo-doublequotes.stdout,
tests/03-echo-escaped-doublequotes.sh,
tests/03-echo-escaped-doublequotes.stdout,
tests/03-echo-nesting.sh,
tests/03-echo-nesting.stdout,
tests/03-echo-quoted-doublequotes.sh,
tests/03-echo-quoted-doublequotes.stdout,
tests/03-echo.sh: Delete files, moving their contents...
* tests/words.org: ...here.
* tests/04-echo-equal.sh,
tests/04-echo-equal.stdout,
tests/04-echo-var.sh,
tests/04-echo-word-at-word.sh,
tests/04-echo-word-at-word.stdout,
tests/04-echo-word-at.sh,
tests/04-echo-word-at.stdout: Delete files, moving their contents...
* tests/variable-words.org: ...here.
* tests/05-assignment-backtick.sh,
tests/05-assignment-backtick.stdout,
tests/05-assignment-double-quote.sh,
tests/05-assignment-doublequoted-doublequotes.sh,
tests/05-assignment-doublequoted-doublequotes.stdout,
tests/05-assignment-echo.sh,
tests/05-assignment-echo.stdout,
tests/05-assignment-empty.sh,
tests/05-assignment-empty.stdout,
tests/05-assignment-singlequote.sh,
tests/05-assignment-variable-word.sh,
tests/05-assignment-variable-word.stdout,
tests/05-assignment-word-variable.sh,
tests/05-assignment-word-variable.stdout,
tests/05-assignment.sh: Delete files, moving their contents...
* tests/assignments.org: ...here.
* tests/06-command-compound-word.sh,
tests/06-command-compound-word.stdout,
tests/06-compound-word.sh,
tests/06-compound-word.stdout: Delete files, moving their contents...
* tests/compound-words.org: ...here.
* tests/07-variable-not-or.sh,
tests/07-variable-not-or.stdout,
tests/07-variable-or-doublequote.sh,
tests/07-variable-or-doublequote.stdout,
tests/07-variable-or-empty.sh,
tests/07-variable-or-empty.stdout,
tests/07-variable-or-slash.sh,
tests/07-variable-or-variable.sh,
tests/07-variable-or-variable.stdout,
tests/07-variable-or.sh,
tests/07-variable-or.stdout: Delete files, moving their contents...
* tests/variable-or.org: ...here.
* tests/08-variable-and.sh,
tests/08-variable-and.stdout,
tests/08-variable-not-and.sh,
tests/08-variable-not-and.stdout: Delete files, moving their contents...
* tests/variable-and.org: ...here.
* tests/10-else-multiple.sh,
tests/10-else.multiple.stdout,
tests/10-if-bracket-false.sh,
tests/10-if-bracket.sh,
tests/10-if-elif.sh,
tests/10-if-else.sh,
tests/10-if-false.sh,
tests/10-if-line.sh,
tests/10-if-multiple.sh,
tests/10-if-multiple.stdout,
tests/10-if-redirect.sh,
tests/10-if-test-false.sh,
tests/10-if-test.sh,
tests/10-if-word-variable.sh,
tests/10-if.sh: Delete files, moving their contents...
* tests/conditionals.org: ...here.
* tests/11-for-done-subshell.sh,
tests/11-for-done-subshell.stdout,
tests/11-for-split-sequence.sh,
tests/11-for-split-sequence.stdout,
tests/11-for.sh,
tests/11-for.stdout: Delete files, moving their contents...
* tests/loops.org: ...here.
* tests/20-and.exit,
tests/20-and.sh,
tests/20-exec.sh,
tests/20-or.sh,
tests/20-pipe-exit-0.sh,
tests/20-pipe-exit-1.exit,
tests/20-pipe-exit-1.sh,
tests/20-pipe-sed-cat.sh,
tests/20-pipe-sed-cat.stdout,
tests/20-pipe-sed.sh,
tests/20-pipe-sed.stdout,
tests/20-semi.exit,
tests/20-semi.sh: Delete files, moving their contents...
* tests/pipes-and-booleans.org: ...here.
* tests/30-for-substitution.sh,
tests/30-for-substitution.stdout,
tests/30-substitution-assignment-at.sh,
tests/30-substitution-assignment-at.stdout,
tests/30-substitution-assignment.sh,
tests/30-substitution-assignment.stdout,
tests/30-substitution-backtick.sh,
tests/30-substitution-backtick.stdout,
tests/30-substitution-redirect.sh,
tests/30-substitution-redirect.stdout,
tests/30-substitution-word.sh,
tests/30-substitution-word.stdout,
tests/30-substitution.sh,
tests/30-substitution.stdout: Delete files, moving their contents...
* tests/command-substitution.org: ...here.
* tests/40-assignment-eval-echo.sh,
tests/40-assignment-eval-echo.stdout,
tests/40-eval-echo-variable.sh,
tests/40-eval-echo-variable.stdout,
tests/40-eval.sh,
tests/40-eval.stdout: Delete files, moving their contents...
* tests/eval.org: ...here.
* tests/41-dot.sh,
tests/41-dot.stdout: Delete files, moving their contents...
* tests/dot.org: ...here.
* tests/42-export-new.sh,
tests/42-export-new.stdout,
tests/42-sh-export-new.sh,
tests/42-sh-export-new.stdout,
tests/42-sh-export.sh,
tests/42-sh-export.stdout,
tests/42-sh.sh,
tests/42-sh.stdout: Delete files, moving their contents...
* tests/exporting.org: ...here.
* tests/data/42-export-new.sh: New file (copied from
'tests/42-export-new.sh').
* tests/43-trap-subshell.sh,
tests/43-trap-subshell.stdout: Delete files, moving their contents...
* tests/signals.org: ...here.
* tests/50-iohere-builtin.sh,
tests/50-iohere.sh,
tests/50-iohere.stdout,
tests/50-redirect-append.sh,
tests/50-redirect-append.stdout,
tests/50-redirect-clobber.sh,
tests/50-redirect-clobber.stdout,
tests/50-redirect-in-out.sh,
tests/50-redirect-in-out.stdout,
tests/50-redirect-in.sh,
tests/50-redirect-merge.sh,
tests/50-redirect-merge.stdout,
tests/50-redirect-pipe.sh,
tests/50-redirect-pipe.stdout,
tests/50-redirect-sed.sh,
tests/50-redirect-sed.stdout,
tests/50-redirect-space.sh,
tests/50-redirect-space.stdout,
tests/50-redirect.sh,
tests/50-redirect.stdout: Delete files, moving their contents...
* tests/redirects.org: ...here.
* tests/60-function-at.sh,
tests/60-function-at.stdout,
tests/60-function.sh,
tests/60-function.stdout,
tests/60-subst.sh: Delete files, moving their contents...
* tests/functions.org: ...here.
* tests/70-hash-hash.sh,
tests/70-hash-hash.stdout,
tests/70-hash.sh,
tests/70-hash.stdout,
tests/70-percent-percent.sh,
tests/70-percent-percent.stdout,
tests/70-percent-space.sh,
tests/70-percent-space.stdout,
tests/70-percent.sh,
tests/70-percent.stdout,
tests/70-slash-string-slash.sh,
tests/70-slash-string.sh,
tests/70-slash-string.stdout,
tests/70-slash.sh,
tests/70-slash.stdout: Delete files, moving their contents...
* tests/variable-patterns.org: ...here.
* tests/100-bracket-file.sh,
tests/100-cd-foo.exit,
tests/100-cd-foo.sh,
tests/100-cd.sh,
tests/100-cd.stdout,
tests/100-test-false.sh,
tests/100-test-file.sh,
tests/100-test.sh: Delete files.
* tests/README: Move this...
* tests/data/README: ...here and adapt to the new directory.
* test.sh: Delete file.
* tests/run-test-suite.in: New file.
* configure.ac: Configure it.
* Makefile.am (TEST_EXTENSIONS): Replace '.sh' with '.org'.
(SH_LOG_COMPILER): Delete variable.
(ORG_LOG_COMPILER): New variable.
(FULL_TESTS, XFAIL_TESTS): Replace '.sh' tests with '.org' tests.
(BROKEN_TESTS): Delete variable.
(TEST_DATA_FILES): Remove '.exit' and '.stdout' files; add
tests/data/42-export-new.sh.
(EXTRA_DIST): Add tests/data/README; remove tests/README,
BROKEN_TESTS, and test.sh.
* .gitignore: Adjust accordingly.
2019-06-07 Timothy Sample <samplet%ngyro.com@localhost>
Update the specification tests.
* tests/spec/oil.scm: Update to the latest commit and filter out some
new failing tests.
2019-06-04 Timothy Sample <samplet%ngyro.com@localhost>
Fix a typo in NEWS.
* NEWS: Fix a typo.
diffstat:
shells/guile-gash/Makefile | 8 +-
shells/guile-gash/PLIST | 160 ++++++++++++++-------------
shells/guile-gash/distinfo | 9 +-
shells/guile-gash/patches/patch-Makefile.am | 16 ++
4 files changed, 106 insertions(+), 87 deletions(-)
diffs (223 lines):
diff -r 97a73e89734b -r c72e8a20a9b3 shells/guile-gash/Makefile
--- a/shells/guile-gash/Makefile Fri Dec 17 12:43:40 2021 +0000
+++ b/shells/guile-gash/Makefile Fri Dec 17 13:26:23 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2020/04/28 11:46:29 nikita Exp $
+# $NetBSD: Makefile,v 1.3 2021/12/17 13:26:23 nikita Exp $
-DISTNAME= gash-0.1
+DISTNAME= gash-0.2.0
PKGNAME= guile-${DISTNAME}
CATEGORIES= shells
MASTER_SITES= http://download.savannah.nongnu.org/releases/gash/
@@ -12,8 +12,8 @@
GNU_CONFIGURE= yes
GUILE_NEED_BOOTSTRAP= yes
-
-USE_TOOLS+= pkg-config
+TEXINFO_REQD= 5.1
+USE_TOOLS+= pkg-config gmake makeinfo
INFO_FILES= YES
diff -r 97a73e89734b -r c72e8a20a9b3 shells/guile-gash/PLIST
--- a/shells/guile-gash/PLIST Fri Dec 17 12:43:40 2021 +0000
+++ b/shells/guile-gash/PLIST Fri Dec 17 13:26:23 2021 +0000
@@ -1,81 +1,83 @@
-@comment $NetBSD: PLIST,v 1.1 2019/11/13 10:04:19 ng0 Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/12/17 13:26:23 nikita Exp $
guile/2.2/bin/gash
guile/2.2/info/gash.info
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/break.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/cd.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/colon.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/command.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/continue.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/dot.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/echo.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/eval.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/exec.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/exit.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/export.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/false.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/pwd.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/read.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/readonly.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/return.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/set.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/shift.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/trap.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/true.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/type.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/umask.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/unset.go
-guile/2.2/lib/guile/2.2/ccache/gash/built-ins/utils.go
-guile/2.2/lib/guile/2.2/ccache/gash/compat.go
-guile/2.2/lib/guile/2.2/ccache/gash/compat/hash-table.go
-guile/2.2/lib/guile/2.2/ccache/gash/compat/textual-ports.go
-guile/2.2/lib/guile/2.2/ccache/gash/config.go
-guile/2.2/lib/guile/2.2/ccache/gash/environment.go
-guile/2.2/lib/guile/2.2/ccache/gash/eval.go
-guile/2.2/lib/guile/2.2/ccache/gash/gash.go
-guile/2.2/lib/guile/2.2/ccache/gash/lexer.go
-guile/2.2/lib/guile/2.2/ccache/gash/parser.go
-guile/2.2/lib/guile/2.2/ccache/gash/pattern.go
-guile/2.2/lib/guile/2.2/ccache/gash/readline.go
-guile/2.2/lib/guile/2.2/ccache/gash/repl.go
-guile/2.2/lib/guile/2.2/ccache/gash/shell.go
-guile/2.2/lib/guile/2.2/ccache/gash/word.go
-guile/2.2/share/guile/2.2/gash/built-ins.scm
-guile/2.2/share/guile/2.2/gash/built-ins/break.scm
-guile/2.2/share/guile/2.2/gash/built-ins/cd.scm
-guile/2.2/share/guile/2.2/gash/built-ins/colon.scm
-guile/2.2/share/guile/2.2/gash/built-ins/command.scm
-guile/2.2/share/guile/2.2/gash/built-ins/continue.scm
-guile/2.2/share/guile/2.2/gash/built-ins/dot.scm
-guile/2.2/share/guile/2.2/gash/built-ins/echo.scm
-guile/2.2/share/guile/2.2/gash/built-ins/eval.scm
-guile/2.2/share/guile/2.2/gash/built-ins/exec.scm
-guile/2.2/share/guile/2.2/gash/built-ins/exit.scm
-guile/2.2/share/guile/2.2/gash/built-ins/export.scm
-guile/2.2/share/guile/2.2/gash/built-ins/false.scm
-guile/2.2/share/guile/2.2/gash/built-ins/pwd.scm
-guile/2.2/share/guile/2.2/gash/built-ins/read.scm
-guile/2.2/share/guile/2.2/gash/built-ins/readonly.scm
-guile/2.2/share/guile/2.2/gash/built-ins/return.scm
-guile/2.2/share/guile/2.2/gash/built-ins/set.scm
-guile/2.2/share/guile/2.2/gash/built-ins/shift.scm
-guile/2.2/share/guile/2.2/gash/built-ins/trap.scm
-guile/2.2/share/guile/2.2/gash/built-ins/true.scm
-guile/2.2/share/guile/2.2/gash/built-ins/type.scm
-guile/2.2/share/guile/2.2/gash/built-ins/umask.scm
-guile/2.2/share/guile/2.2/gash/built-ins/unset.scm
-guile/2.2/share/guile/2.2/gash/built-ins/utils.scm
-guile/2.2/share/guile/2.2/gash/compat.scm
-guile/2.2/share/guile/2.2/gash/compat/hash-table.scm
-guile/2.2/share/guile/2.2/gash/compat/textual-ports.scm
-guile/2.2/share/guile/2.2/gash/config.scm
-guile/2.2/share/guile/2.2/gash/environment.scm
-guile/2.2/share/guile/2.2/gash/eval.scm
-guile/2.2/share/guile/2.2/gash/gash.scm
-guile/2.2/share/guile/2.2/gash/lexer.scm
-guile/2.2/share/guile/2.2/gash/parser.scm
-guile/2.2/share/guile/2.2/gash/pattern.scm
-guile/2.2/share/guile/2.2/gash/readline.scm
-guile/2.2/share/guile/2.2/gash/repl.scm
-guile/2.2/share/guile/2.2/gash/shell.scm
-guile/2.2/share/guile/2.2/gash/word.scm
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/break.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/cd.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/colon.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/command.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/continue.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/dot.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/echo.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/eval.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/exec.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/exit.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/export.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/false.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/pwd.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/read.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/readonly.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/return.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/set.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/shift.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/trap.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/true.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/type.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/umask.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/unset.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/built-ins/utils.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/compat.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/compat/hash-table.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/compat/srfi-43.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/compat/textual-ports.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/config.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/environment.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/eval.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/gash.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/lexer.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/parser.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/pattern.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/readline.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/repl.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/shell.go
+guile/2.2/lib/guile/2.2/site-ccache/gash/word.go
+guile/2.2/share/guile/site/2.2/gash/built-ins.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/break.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/cd.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/colon.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/command.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/continue.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/dot.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/echo.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/eval.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/exec.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/exit.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/export.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/false.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/pwd.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/read.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/readonly.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/return.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/set.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/shift.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/trap.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/true.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/type.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/umask.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/unset.scm
+guile/2.2/share/guile/site/2.2/gash/built-ins/utils.scm
+guile/2.2/share/guile/site/2.2/gash/compat.scm
+guile/2.2/share/guile/site/2.2/gash/compat/hash-table.scm
+guile/2.2/share/guile/site/2.2/gash/compat/srfi-43.scm
+guile/2.2/share/guile/site/2.2/gash/compat/textual-ports.scm
+guile/2.2/share/guile/site/2.2/gash/config.scm
+guile/2.2/share/guile/site/2.2/gash/environment.scm
+guile/2.2/share/guile/site/2.2/gash/eval.scm
+guile/2.2/share/guile/site/2.2/gash/gash.scm
+guile/2.2/share/guile/site/2.2/gash/lexer.scm
+guile/2.2/share/guile/site/2.2/gash/parser.scm
+guile/2.2/share/guile/site/2.2/gash/pattern.scm
+guile/2.2/share/guile/site/2.2/gash/readline.scm
+guile/2.2/share/guile/site/2.2/gash/repl.scm
+guile/2.2/share/guile/site/2.2/gash/shell.scm
+guile/2.2/share/guile/site/2.2/gash/word.scm
diff -r 97a73e89734b -r c72e8a20a9b3 shells/guile-gash/distinfo
--- a/shells/guile-gash/distinfo Fri Dec 17 12:43:40 2021 +0000
+++ b/shells/guile-gash/distinfo Fri Dec 17 13:26:23 2021 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 11:18:37 nia Exp $
+$NetBSD: distinfo,v 1.4 2021/12/17 13:26:23 nikita Exp $
-BLAKE2s (gash-0.1.tar.gz) = 4464c96953edbc82b7a6eaf754ec37f12237aa8cf8ebef95b4844f81fc23812a
-SHA512 (gash-0.1.tar.gz) = 4f90d40eb434e3f735ef727aeeb55d88b1962b0e7d1f02f711961234934a62a40d8f8d8c1004fe8fc825c0b01fab520eaacba28bcf758452e3db3d66098c2c85
-Size (gash-0.1.tar.gz) = 321694 bytes
+BLAKE2s (gash-0.2.0.tar.gz) = c77908192110eb33ac469e47ba77b5b75cfd34ba3e1577b54dcdeb62f9fdff30
+SHA512 (gash-0.2.0.tar.gz) = 8189e6ba4d896e9d1fb467e2b623a0385022312ece725f0b1a467d2d43a971391a15c5dd8f9a56866b3923df89e02f435516c4e9a712081d8d6cb86fff727a09
+Size (gash-0.2.0.tar.gz) = 328228 bytes
+SHA1 (patch-Makefile.am) = 1e555c43f2f7476bcf6ce75baca227856ef0d5db
diff -r 97a73e89734b -r c72e8a20a9b3 shells/guile-gash/patches/patch-Makefile.am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/guile-gash/patches/patch-Makefile.am Fri Dec 17 13:26:23 2021 +0000
@@ -0,0 +1,16 @@
+--- Makefile.am.old 2021-12-17 13:58:49.671952528 +0100
++++ Makefile.am 2021-12-17 13:59:46.045075274 +0100
+@@ -108,10 +108,9 @@
+ $(AM_V_GEN)set -e \
+ LC_ALL=C; export LC_ALL; \
+ TZ=UTC0; export TZ; \
+- timestamp=$$(git log --pretty=format:%ct -- doc/gash.texi \
+- | sort -n -r | head -n 1); \
+- dmy=$$(date --date="@$$timestamp" "+%-d %B %Y"); \
+- my=$$(date --date="@$$timestamp" "+%B %Y"); \
++ timestamp="1559401747"; \
++ dmy=$$(date -d "@$$timestamp" "+%-d %B %Y"); \
++ my=$$(date -d "@$$timestamp" "+%B %Y"); \
+ { echo "@set UPDATED $$dmy"; \
+ echo "@set UPDATED-MONTH $$my"; \
+ echo "@set EDITION $(VERSION)"; \
Home |
Main Index |
Thread Index |
Old Index