texlive[47629] trunk: l3build (6may18)

commits+karl at tug.org commits+karl at tug.org
Sun May 6 23:43:49 CEST 2018


Revision: 47629
          http://tug.org/svn/texlive?view=revision&revision=47629
Author:   karl
Date:     2018-05-06 23:43:48 +0200 (Sun, 06 May 2018)
Log Message:
-----------
l3build (6may18)

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua
    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-file-functions.lua
    trunk/Master/texmf-dist/scripts/l3build/l3build-variables.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	2018-05-06 21:43:19 UTC (rev 47628)
+++ trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua	2018-05-06 21:43:48 UTC (rev 47629)
@@ -25,7 +25,7 @@
 --]]
 
 -- Version information
-release_date = "2018-03-26"
+release_date = "2018-05-06"
 
 -- File operations are aided by the LuaFileSystem module
 local lfs = require("lfs")

Modified: trunk/Master/texmf-dist/doc/latex/l3build/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/README.md	2018-05-06 21:43:19 UTC (rev 47628)
+++ trunk/Master/texmf-dist/doc/latex/l3build/README.md	2018-05-06 21:43:48 UTC (rev 47629)
@@ -1,7 +1,7 @@
 l3build: a testing and building system for LaTeX3
 =================================================
 
-Release 2018-03-26
+Release 2018-05-06
 
 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	2018-05-06 21:43:19 UTC (rev 47628)
+++ trunk/Master/texmf-dist/doc/man/man1/l3build.1	2018-05-06 21:43:48 UTC (rev 47629)
@@ -1,4 +1,4 @@
-.TH l3build 1 "2018-03-26"
+.TH l3build 1 "2018-05-06"
 .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	2018-05-06 21:43:19 UTC (rev 47628)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build-check.lua	2018-05-06 21:43:48 UTC (rev 47629)
@@ -89,15 +89,10 @@
     maxprintline = maxprintline + 1 -- Deal with an out-by-one error
   end
   local function killcheck(line)
-      -- Skip lines containing file dates
-      if match(line, "[^<]%d%d%d%d/%d%d/%d%d") 
-         or match(line, "[^<]%d%d%d%d%-%d%d%-%d%d") then
-        return true
-      elseif
       -- Skip \openin/\openout lines in web2c 7.x
       -- As Lua doesn't allow "(in|out)", a slightly complex approach:
       -- do a substitution to check the line is exactly what is required!
-        match(
+      if match(
           gsub(line, "^\\openin", "\\openout"), "^\\openout%d%d? = "
         ) then
         return true
@@ -138,6 +133,9 @@
         line = gsub(line, pattern, "../%1")
       end
     end
+    -- Print only 'place-marker' (ISO) dates
+    line = gsub(line, "%d%d%d%d%-%d%d%-%d%d", "YYYY-MM-DD")
+    line = gsub(line, "%d%d%d%d/%d%d/%d%d", "YYYY-MM-DD")
     -- Deal with the fact that "(.aux)" may have still a leading space
     line = gsub(line, "^ %(%.aux%)", "(.aux)")
     -- Merge all of .fd data into one line so will be removed later
@@ -690,6 +688,10 @@
       break
     end
   end
+  -- Clean out any dynamic files
+  for _,filetype in pairs(dynamicfiles) do
+    rm(testdir,filetype)
+  end
   local errlevels = {}
   for i = 1, checkruns do
     errlevels[i] = run(

Modified: trunk/Master/texmf-dist/scripts/l3build/l3build-file-functions.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build-file-functions.lua	2018-05-06 21:43:19 UTC (rev 47628)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build-file-functions.lua	2018-05-06 21:43:48 UTC (rev 47629)
@@ -283,9 +283,7 @@
       for _, file in ipairs(filelist(dir, pattern)) do
         local fullpath = path .. "/" .. file
         if file ~= "." and file ~= ".." and
-          fullpath ~= builddir and
-          (sub(pattern, 1, 1) == "."
-            or sub(file, 1, 1) ~= ".")
+          fullpath ~= builddir
         then
           local fulldir = dir .. "/" .. file
           if criterion(fulldir) then

Modified: trunk/Master/texmf-dist/scripts/l3build/l3build-variables.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build-variables.lua	2018-05-06 21:43:19 UTC (rev 47628)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build-variables.lua	2018-05-06 21:43:48 UTC (rev 47629)
@@ -81,6 +81,7 @@
 cleanfiles         = cleanfiles         or {"*.log", "*.pdf", "*.zip"}
 demofiles          = demofiles          or { }
 docfiles           = docfiles           or { }
+dynamicfiles       = dynamicfiles       or { }
 excludefiles       = excludefiles       or {"*~"}
 installfiles       = installfiles       or {"*.sty","*.cls"}
 makeindexfiles     = makeindexfiles     or {"*.ist"}

Modified: trunk/Master/texmf-dist/scripts/l3build/l3build.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build.lua	2018-05-06 21:43:19 UTC (rev 47628)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build.lua	2018-05-06 21:43:48 UTC (rev 47629)
@@ -25,7 +25,7 @@
 --]]
 
 -- Version information
-release_date = "2018-03-26"
+release_date = "2018-05-06"
 
 -- 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	2018-05-06 21:43:19 UTC (rev 47628)
+++ trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx	2018-05-06 21:43:48 UTC (rev 47629)
@@ -84,6 +84,7 @@
 \luavarset{cleanfiles}        {\{"*.log", "*.pdf", "*.zip"\}}{Files to delete when cleaning}
 \luavarset{demofiles}         {\{\}}{Files which show how to use a module}
 \luavarset{docfiles}          {\{\}}{Files which are part of the documentation but should not be typeset}
+\luavarset{dynamicfiles}      {\{ \}}{Secondary files to cleared before each test is run}
 \luavarset{excludefiles}      {\{"*\string~"\}}{Files to ignore entirely (default for Emacs backup files)}
 \luavarset{installfiles}      {\{"*.sty","*.cls"\}}{Files to install to the \texttt{text} area of the \texttt{texmf} tree}
 \luavarset{makeindexfiles}    {\{"*.ist"\}}{MakeIndex files to be included in a TDS-style zip}
@@ -216,7 +217,7 @@
 %    }^^A
 % }
 %
-% \date{Released 2018-03-26}
+% \date{Released 2018-05-06}
 %
 % \maketitle
 % \tableofcontents
@@ -748,8 +749,6 @@
 %   \item Lines before the \cs{START}, after the \cs{END} and within
 %     \cs{OMIT}/\cs{TIMO} blocks
 %   \item Entirely blank lines, including those consisting only of spaces.
-%   \item Lines containing file dates in format
-%    \texttt{\meta{yyyy}/\meta{mm}/\meta{dd}}.
 %  \item Lines starting \cs{openin} or \cs{openout}.
 % \end{itemize}
 % Modifications made in lines are:
@@ -756,9 +755,11 @@
 % \begin{itemize}
 %   \item Removal spaces at the start of lines.
 %   \item Removal of |./| at start of file names.
+%   \item Conversion of dates (YYYY-MM-DD or YYYY/MM/DD format) to the
+%     place-holder |YYYY-MM-DD|
 %   \item Standardisation of the list of units known to \TeX{} (\pdfTeX{}
 %     and \LuaTeX{} add a small number of additional units which are not
-%     known to \TeX90 or \XeTeX{}, (u)p\TeX{} adds some additoonal non-standard
+%     known to \TeX90 or \XeTeX{}, (u)p\TeX{} adds some additional non-standard
 %     ones)
 %   \item Standardisation of \verb*|\csname\endcsname | to |\csname\endcsname|
 %     (the former is formally correct, but the latter was produced for many



More information about the tex-live-commits mailing list