texlive[52948] trunk: l3build (27nov19)
commits+karl at tug.org
commits+karl at tug.org
Wed Nov 27 23:05:41 CET 2019
Revision: 52948
http://tug.org/svn/texlive?view=revision&revision=52948
Author: karl
Date: 2019-11-27 23:05:41 +0100 (Wed, 27 Nov 2019)
Log Message:
-----------
l3build (27nov19)
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-install.lua
trunk/Master/texmf-dist/scripts/l3build/l3build-stdmain.lua
trunk/Master/texmf-dist/scripts/l3build/l3build.lua
trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx
trunk/Master/texmf-dist/tex/latex/l3build/regression-test.tex
Modified: trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua 2019-11-27 22:05:18 UTC (rev 52947)
+++ trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua 2019-11-27 22:05:41 UTC (rev 52948)
@@ -25,7 +25,7 @@
--]]
-- Version information
-release_date = "2019-11-01"
+release_date = "2019-11-27"
-- File operations are aided by the LuaFileSystem module
local lfs = require("lfs")
Modified: trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md 2019-11-27 22:05:18 UTC (rev 52947)
+++ trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md 2019-11-27 22:05:41 UTC (rev 52948)
@@ -7,6 +7,16 @@
## [Unreleased]
+## [2019-11-27]
+
+### Changed
+
+- `\ASSERTSTR` no longer needs e-TeX
+
+### Fixed
+
+- Installation of files using the `--full` switch
+
## [2019-11-01]
### Added
@@ -388,7 +398,8 @@
- Rationalise short option names: removed `-d`, `-E`, `-r`
- Target `cmdcheck`: specific to LaTeX3 kernel work
-[Unreleased]: https://github.com/latex3/l3build/compare/2019-11-01...HEAD
+[Unreleased]: https://github.com/latex3/l3build/compare/2019-11-27...HEAD
+[2019-11-27]: https://github.com/latex3/l3build/compare/2019-11-01...2019-11-27
[2019-11-01]: https://github.com/latex3/l3build/compare/2019-10-02...2019-11-01
[2019-10-02]: https://github.com/latex3/l3build/compare/2019-09-30...2019-10-02
[2019-09-30]: https://github.com/latex3/l3build/compare/2019-09-29...2019-09-30
Modified: trunk/Master/texmf-dist/doc/latex/l3build/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/README.md 2019-11-27 22:05:18 UTC (rev 52947)
+++ trunk/Master/texmf-dist/doc/latex/l3build/README.md 2019-11-27 22:05:41 UTC (rev 52948)
@@ -1,7 +1,7 @@
l3build: a testing and building system for LaTeX3
=================================================
-Release 2019-11-01
+Release 2019-11-27
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 2019-11-27 22:05:18 UTC (rev 52947)
+++ trunk/Master/texmf-dist/doc/man/man1/l3build.1 2019-11-27 22:05:41 UTC (rev 52948)
@@ -1,4 +1,4 @@
-.TH l3build 1 "2019-11-01"
+.TH l3build 1 "2019-11-27"
.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-install.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build-install.lua 2019-11-27 22:05:18 UTC (rev 52947)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build-install.lua 2019-11-27 22:05:41 UTC (rev 52948)
@@ -105,6 +105,10 @@
end
function install_files(target,full,dry_run)
+
+ -- Needed so paths are only cleaned out once
+ local cleanpaths = { }
+
local function install_files(source,dir,files,subdir)
subdir = subdir or moduledir
-- For material associated with secondary tools (BibTeX, MakeIndex)
@@ -155,8 +159,12 @@
if next(filenames) then
if not dry_run then
for _,path in pairs(paths) do
- errorlevel = cleandir(target .. "/" .. path)
- if errorlevel ~= 0 then return errorlevel end
+ local dir = target .. "/" .. path
+ if not cleanpaths[dir] then
+ errorlevel = cleandir(dir)
+ if errorlevel ~= 0 then return errorlevel end
+ end
+ cleanpaths[dir] = true
end
end
for _,file in ipairs(filenames) do
@@ -164,9 +172,7 @@
print("- " .. file)
else
local path,file = splitpath(file)
- local installpath = target .. "/" .. path
- mkdir(installpath)
- errorlevel = cp(file,sourcepaths[file],installpath)
+ errorlevel = cp(file,sourcepaths[file],target .. "/" .. path)
if errorlevel ~= 0 then return errorlevel end
end
end
Modified: trunk/Master/texmf-dist/scripts/l3build/l3build-stdmain.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build-stdmain.lua 2019-11-27 22:05:18 UTC (rev 52947)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build-stdmain.lua 2019-11-27 22:05:41 UTC (rev 52948)
@@ -93,7 +93,7 @@
},
install =
{
- desc = "Installs files into the local textmf tree",
+ desc = "Installs files into the local texmf tree",
func = install
},
manifest =
@@ -129,7 +129,7 @@
},
uninstall =
{
- desc = "Uninstalls files from the local textmf tree",
+ desc = "Uninstalls files from the local texmf tree",
func = uninstall
},
unpack=
Modified: trunk/Master/texmf-dist/scripts/l3build/l3build.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build.lua 2019-11-27 22:05:18 UTC (rev 52947)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build.lua 2019-11-27 22:05:41 UTC (rev 52948)
@@ -25,7 +25,7 @@
--]]
-- Version information
-release_date = "2019-11-01"
+release_date = "2019-11-27"
-- File operations are aided by the LuaFileSystem module
local lfs = require("lfs")
Modified: trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx 2019-11-27 22:05:18 UTC (rev 52947)
+++ trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx 2019-11-27 22:05:41 UTC (rev 52948)
@@ -231,7 +231,7 @@
% }^^A
% }
%
-% \date{Released 2019-11-01}
+% \date{Released 2019-11-27}
%
% \maketitle
% \tableofcontents
@@ -930,7 +930,7 @@
% \cs{SHOWFILE} (\eTeX{} only) Shows the content of the file given as an
% argument.
% \item
-% \cs{ASSERT} and \cs{ASSERTSTR} (\eTeX{} only) Asserts if the full expansion
+% \cs{ASSERT} and \cs{ASSERTSTR} Asserts if the full expansion
% of the two required arguments are the same: the \cs{ASSERT} function is
% token-based, the \cs{ASSERTSTR} works on a string basis.
% \end{itemize}
@@ -2306,8 +2306,8 @@
\begingroup
\edef\@tempa{#1}%
\edef\@tempb{#2}%
- \edef\@tempa{\detokenize\expandafter{\@tempa}}%
- \edef\@tempb{\detokenize\expandafter{\@tempb}}%
+ \edef\@tempa{\meaning\@tempa}%
+ \edef\@tempb{\meaning\@tempb}%
\ifx\@tempa\@tempb
\TYPE{PASSED}%
\else
Modified: trunk/Master/texmf-dist/tex/latex/l3build/regression-test.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/l3build/regression-test.tex 2019-11-27 22:05:18 UTC (rev 52947)
+++ trunk/Master/texmf-dist/tex/latex/l3build/regression-test.tex 2019-11-27 22:05:41 UTC (rev 52948)
@@ -189,8 +189,8 @@
\begingroup
\edef\@tempa{#1}%
\edef\@tempb{#2}%
- \edef\@tempa{\detokenize\expandafter{\@tempa}}%
- \edef\@tempb{\detokenize\expandafter{\@tempb}}%
+ \edef\@tempa{\meaning\@tempa}%
+ \edef\@tempb{\meaning\@tempb}%
\ifx\@tempa\@tempb
\TYPE{PASSED}%
\else
More information about the tex-live-commits
mailing list