texlive[68198] trunk: l3build (7sep23)
commits+karl at tug.org
commits+karl at tug.org
Thu Sep 7 22:14:13 CEST 2023
Revision: 68198
http://tug.org/svn/texlive?view=revision&revision=68198
Author: karl
Date: 2023-09-07 22:14:13 +0200 (Thu, 07 Sep 2023)
Log Message:
-----------
l3build (7sep23)
Modified Paths:
--------------
trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua
trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md
trunk/Master/texmf-dist/doc/latex/l3build/README.md
trunk/Master/texmf-dist/doc/latex/l3build/l3build.pdf
trunk/Master/texmf-dist/doc/man/man1/l3build.1
trunk/Master/texmf-dist/doc/man/man1/l3build.man1.pdf
trunk/Master/texmf-dist/scripts/l3build/l3build-check.lua
trunk/Master/texmf-dist/scripts/l3build/l3build.lua
trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx
Modified: trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua 2023-09-07 20:13:57 UTC (rev 68197)
+++ trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua 2023-09-07 20:14:13 UTC (rev 68198)
@@ -25,7 +25,7 @@
--]]
-- Version information
-release_date = "2023-09-05"
+release_date = "2023-09-07"
-- File operations are aided by the LuaFileSystem module
local lfs = require("lfs")
@@ -118,15 +118,22 @@
end
epoch = normalise_epoch(epoch)
-- LuaTeX needs the `-utc` option
-if next(specialformats) and next(specialformats.latex)
- and next (specialformats.latex.luatex) then
- local options = specialformats.latex.luatex.options
- specialformats.latex.luatex.options = (options and (options .. " ") or "") .. "-utc"
+if forcecheckepoch then
+ if next(specialformats) and next(specialformats.latex)
+ and next (specialformats.latex.luatex) then
+ local options = specialformats.latex.luatex.options
+ specialformats.latex.luatex.options = (options and (options .. " ") or "") .. "-utc"
+ end
+ if next(specialformats) and next(specialformats["latex-dev"])
+ and next (specialformats["latex-dev"].luatex) then
+ local options = specialformats["latex-dev"].luatex.options
+ specialformats["latex-dev"].luatex.options = (options and (options .. " ") or "") .. "-utc"
+ end
end
-if next(specialformats) and next(specialformats["latex-dev"])
- and next (specialformats["latex-dev"].luatex) then
- local options = specialformats["latex-dev"].luatex.options
- specialformats["latex-dev"].luatex.options = (options and (options .. " ") or "") .. "-utc"
+if forcedocepoch then
+ if match(typesetexe,"luatex") or match(typesetexe,"lualatex") then
+ typesetopts = typsetopts .. " -utc"
+ end
end
--
Modified: trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md 2023-09-07 20:13:57 UTC (rev 68197)
+++ trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md 2023-09-07 20:14:13 UTC (rev 68198)
@@ -7,6 +7,12 @@
## [Unreleased]
+## [2023-09-07]
+
+### Changed
+- Refine `-utc` support
+- Apply `checkopts` in addition to engine-specific options
+
## [2023-09-05]
### Changed
@@ -691,7 +697,8 @@
- Rationalise short option names: removed `-d`, `-E`, `-r`
- Target `cmdcheck`: specific to LaTeX kernel work
-[Unreleased]: https://github.com/latex3/l3build/compare/2023-09-05...HEAD
+[Unreleased]: https://github.com/latex3/l3build/compare/2023-09-07...HEAD
+[2023-09-07]: https://github.com/latex3/l3build/compare/2023-09-05...2023-09-07
[2023-09-05]: https://github.com/latex3/l3build/compare/2023-07-20...2023-09-05
[2023-07-20]: https://github.com/latex3/l3build/compare/2023-07-17...2023-07-20
[2023-07-17]: https://github.com/latex3/l3build/compare/2023-03-27...2023-07-17
Modified: trunk/Master/texmf-dist/doc/latex/l3build/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/README.md 2023-09-07 20:13:57 UTC (rev 68197)
+++ trunk/Master/texmf-dist/doc/latex/l3build/README.md 2023-09-07 20:14:13 UTC (rev 68198)
@@ -1,7 +1,7 @@
l3build: a testing and building system for LaTeX
=================================================
-Release 2023-09-05
+Release 2023-09-07
Overview
--------
Modified: trunk/Master/texmf-dist/doc/latex/l3build/l3build.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/man/man1/l3build.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/l3build.1 2023-09-07 20:13:57 UTC (rev 68197)
+++ trunk/Master/texmf-dist/doc/man/man1/l3build.1 2023-09-07 20:14:13 UTC (rev 68198)
@@ -1,4 +1,4 @@
-.TH l3build 1 "2023-09-05"
+.TH l3build 1 "2023-09-07"
.SH NAME
l3build \- Checking and building packages
.SH SYNOPSIS
Modified: trunk/Master/texmf-dist/doc/man/man1/l3build.man1.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/scripts/l3build/l3build-check.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build-check.lua 2023-09-07 20:13:57 UTC (rev 68197)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build-check.lua 2023-09-07 20:14:13 UTC (rev 68198)
@@ -753,7 +753,8 @@
if engine_info then
binary = engine_info.binary or binary
format = engine_info.format or format
- checkopts = engine_info.options or checkopts
+ checkopts = (engine_info.options
+ and (checkopts .. " " .. engine_info.options)) or checkopts
tokens = engine_info.tokens and (' "' .. engine_info.tokens .. '" ')
or tokens
end
Modified: trunk/Master/texmf-dist/scripts/l3build/l3build.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build.lua 2023-09-07 20:13:57 UTC (rev 68197)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build.lua 2023-09-07 20:14:13 UTC (rev 68198)
@@ -25,7 +25,7 @@
--]]
-- Version information
-release_date = "2023-09-05"
+release_date = "2023-09-07"
-- File operations are aided by the LuaFileSystem module
local lfs = require("lfs")
@@ -118,15 +118,22 @@
end
epoch = normalise_epoch(epoch)
-- LuaTeX needs the `-utc` option
-if next(specialformats) and next(specialformats.latex)
- and next (specialformats.latex.luatex) then
- local options = specialformats.latex.luatex.options
- specialformats.latex.luatex.options = (options and (options .. " ") or "") .. "-utc"
+if forcecheckepoch then
+ if next(specialformats) and next(specialformats.latex)
+ and next (specialformats.latex.luatex) then
+ local options = specialformats.latex.luatex.options
+ specialformats.latex.luatex.options = (options and (options .. " ") or "") .. "-utc"
+ end
+ if next(specialformats) and next(specialformats["latex-dev"])
+ and next (specialformats["latex-dev"].luatex) then
+ local options = specialformats["latex-dev"].luatex.options
+ specialformats["latex-dev"].luatex.options = (options and (options .. " ") or "") .. "-utc"
+ end
end
-if next(specialformats) and next(specialformats["latex-dev"])
- and next (specialformats["latex-dev"].luatex) then
- local options = specialformats["latex-dev"].luatex.options
- specialformats["latex-dev"].luatex.options = (options and (options .. " ") or "") .. "-utc"
+if forcedocepoch then
+ if match(typesetexe,"luatex") or match(typesetexe,"lualatex") then
+ typesetopts = typsetopts .. " -utc"
+ end
end
--
Modified: trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx 2023-09-07 20:13:57 UTC (rev 68197)
+++ trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx 2023-09-07 20:14:13 UTC (rev 68198)
@@ -251,7 +251,7 @@
% }^^A
% }
%
-% \date{Released 2023-09-05}
+% \date{Released 2023-09-07}
%
% \maketitle
% \tableofcontents
@@ -437,6 +437,7 @@
% To perform the check, the engine typesets each test up to \var{checkruns} times.
% More detail on this in the documentation on |save|.
% Options passed to the binary are defined in the variable \var{checkopts}.
+% These are applied in addition to any
%
% By default, |texmf| trees are searched for input files when checking. This can be disabled by setting \var{checksearch} to |false|: isolation provides confidence that the tests cannot accidentally be running with incorrect files installed in the main distribution or |hometexmf|.
%
More information about the tex-live-commits
mailing list.