CVSROOT: /cvs Module name: ports Changes by: e...@cvs.openbsd.org 2018/09/11 15:32:28
Modified files: print/texlive/texmf: Makefile distinfo Added files: print/texlive/texmf/files: .cvsignore tlpdb.py update_plist_hints.py write_plists.py Removed files: print/texlive/texmf/files: mk_plists.py Log message: Overhaul the TeX Live PLIST generation scripts. Although this is a "no functional change" commit, the change does two things: * Removes the dependency on py-texscythe for generating the PLISTs. Instead, I've added a small TLPDB parser which works (unlike py-texsythe) entirely in-memory. This means that generating the PLISTs now takes seconds instead of minutes. * Splits the generation of the PLISTs into two scripts. The first -- update_plist_hints.py -- emits one line for file under the fake install dir, advising which PLIST the file should go in. The second -- write_plists.py -- reads those lines and writes them to the correct PLIST. Eventually write_plists.py will be killed, as we plan to integrate update_plist_hints.py with update-plist(1) itself. At a later date, I will port all of these scripts to Python3, since that seems to be the way the world is going. The idea to integrate with update-plist(1) is espie@'s, and this change is also OK espie@. Many thanks.