Summary: | app-office/openoffice-bin: Migrate from LINGUAS to L10N USE_EXPAND | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chí-Thanh Christopher Nguyễn <chithanh> |
Component: | Current packages | Assignee: | Chí-Thanh Christopher Nguyễn <chithanh> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ulm |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 586734 |
Description
Chí-Thanh Christopher Nguyễn
2017-12-31 03:21:24 UTC
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=871bc49b84d26598cbe3a3b8a792cea0cefc195d commit 871bc49b84d26598cbe3a3b8a792cea0cefc195d Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2018-01-06 12:54:26 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2018-01-06 12:55:39 +0000 app-office/openoffice-bin: Migrate from LINGUAS to L10N. Closes: https://bugs.gentoo.org/642794 Package-Manager: Portage-2.3.19, Repoman-2.3.6 .../openoffice-bin/openoffice-bin-4.1.4.ebuild | 23 ++++++++++++---------- .../openoffice-bin/openoffice-bin-4.1.5.ebuild | 23 ++++++++++++---------- 2 files changed, 26 insertions(+), 20 deletions(-) Thanks! (In reply to Chí-Thanh Christopher Nguyễn from comment #2) > Thanks! No problem, after you had spotted the problems already. :) Looking at the code again, I now see that although my solution should be correct, it could have been simpler. Instead of for l in ${LANGS}; do if use l10n_${l}; then ... fi done a simple loop over ${L10N} was sufficient (because in EAPI 5 and later, the package manager will reduce L10N to the values that are in IUSE). Unless you object, I would update the ebuild of the unstable version accordingly. |