From a76656030fb017d569e2307c7ce41b311fe89bcd Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 14 Jun 2015 13:37:12 +0000 Subject: TLPOBJ: merge 'also' and 'topics' into tlpobj catalogue data git-svn-id: svn://tug.org/texlive/trunk@37522 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLPOBJ.pm | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Master') diff --git a/Master/tlpkg/TeXLive/TLPOBJ.pm b/Master/tlpkg/TeXLive/TLPOBJ.pm index ebdc2e22873..974e2325655 100644 --- a/Master/tlpkg/TeXLive/TLPOBJ.pm +++ b/Master/tlpkg/TeXLive/TLPOBJ.pm @@ -757,6 +757,17 @@ sub update_from_catalogue { if (defined($entry->ctan) && $entry->ctan ne "") { $self->cataloguedata->{'ctan'} = $entry->ctan; } + # TODO TODO TODO + # we should rewrite the also fields to TeX Live package names ... + # for now these are CTAN package names! + # warning, we expect that cataloguedata entries are strings, + # so stringify these lists + if (@{$entry->also}) { + $self->cataloguedata->{'also'} = "@{$entry->also}"; + } + if (@{$entry->topics}) { + $self->cataloguedata->{'topics'} = "@{$entry->topics}"; + } #if (defined($entry->texlive)) { # $self->cataloguedata->{'texlive'} = $entry->texlive; #} -- cgit v1.2.3