summaryrefslogtreecommitdiff
path: root/systems/texlive/tlnet/tlpkg/TeXLive
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-10-05 03:01:34 +0000
committerNorbert Preining <norbert@preining.info>2022-10-05 03:01:34 +0000
commit6925a15396a955498e1d1663204e7fa7da3d1728 (patch)
tree925ce3e30472ef82315230ec2772e2e104642541 /systems/texlive/tlnet/tlpkg/TeXLive
parent30b3429f0e138c93c5f1ba1d1a6d46728c0943e9 (diff)
CTAN sync 202210050301
Diffstat (limited to 'systems/texlive/tlnet/tlpkg/TeXLive')
-rw-r--r--systems/texlive/tlnet/tlpkg/TeXLive/TLPSRC.pm13
1 files changed, 8 insertions, 5 deletions
diff --git a/systems/texlive/tlnet/tlpkg/TeXLive/TLPSRC.pm b/systems/texlive/tlnet/tlpkg/TeXLive/TLPSRC.pm
index 829197fde5..894dc1b5c9 100644
--- a/systems/texlive/tlnet/tlpkg/TeXLive/TLPSRC.pm
+++ b/systems/texlive/tlnet/tlpkg/TeXLive/TLPSRC.pm
@@ -1,4 +1,4 @@
-# $Id: TLPSRC.pm 64018 2022-07-31 22:04:01Z karl $
+# $Id: TLPSRC.pm 64610 2022-10-04 19:52:30Z karl $
# TeXLive::TLPSRC.pm - module for handling tlpsrc files
# Copyright 2007-2021 Norbert Preining
# This file is licensed under the GNU General Public License version 2
@@ -14,7 +14,7 @@ use TeXLive::TLUtils;
use TeXLive::TLPOBJ;
use TeXLive::TLTREE;
-my $svnrev = '$Revision: 64018 $';
+my $svnrev = '$Revision: 64610 $';
my $_modulerevision = ($svnrev =~ m/: ([0-9]+) /) ? $1 : "unknown";
sub module_revision { return $_modulerevision; }
@@ -218,8 +218,8 @@ sub from_file {
} elsif ($line =~ /^execute\s+(.*)$/) {
push (@executes, $1) if ($1 ne "");
- } elsif ($line =~ /^depend\s+(.*)$/) {
- push (@depends, $1) if ($1 ne "");
+ } elsif ($line =~ /^(depend|hard)\s+(.*)$/) {
+ push (@depends, $2) if ($2 ne "");
} elsif ($line =~ /^postaction\s+(.*)$/) {
push (@postactions, $1) if ($1 ne "");
@@ -903,7 +903,10 @@ For example, C<latex.tlpsrc> contains (among others):
depend latex-fonts
depend pdftex
-to ensure these packages are installed if the C<latex> package is.
+to ensure these packages are installed if the C<latex> package is. The
+directive C<hard> is an alias for C<depend>, since that's we specified
+for the C<DEPENDS.txt> files package authors can provide; see
+L<https://www.tug.org/texlive/pkgcontrib.html#deps>.
=head2 C<execute>