FS#79123 - [texlive-texmf] texlive-langeuropean: list of provides begins with garbage

Attached to Project: Arch Linux
Opened by Christian Cornelssen (ccorn) - Monday, 17 July 2023, 00:23 GMT
Last edited by Antonio Rojas (arojas) - Monday, 17 July 2023, 07:36 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Caleb Maclennan (alerque)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Among the things I happened to notice in  FS#78930  was that texlive-langeuropean 2023.66594-15 has strange entries at the beginning of its list of provides:

```
texlive-longdesc
texlive-German,
texlive-French,
texlive-...)
texlive-have
texlive-their
texlive-own
texlive-collections,
texlive-depending
texlive-armtex ... # correct entries
```

Cause: tlpkg/texlive.tlpdb contains `depend` in a `longdesc`,
and the PKGBUILD's prepare function just greps for `depend` instead of `^depend`:

```
name collection-langeuropean
category Collection
revision 66432
shortdesc Other European languages
longdesc Support for a number of European languages; others (Greek,
longdesc German, French, ...) have their own collections, depending
longdesc simply on the size of the support.
depend armtex
```

The attached patch corrects this.
It also eliminates the grep from the pipeline by modifying the subsequent sed command.

Additional info:
* texlive-texmf 2023.66594-15, makepkg as of pacman 6.0.2-7

Steps to reproduce:
$ pacman -Qip texlive-langeuropean-2023.66594-15-any.pkg.tar.zst
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 17 July 2023, 07:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  texlive-langeuropean 2023.66594-17

Loading...