commit:     ef29e6468585fba55d26e9a00c06f8840cc93adf
Author:     Alexey Sokolov <sokolov <AT> google <DOT> com>
AuthorDate: Tue Jan  9 21:25:48 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jan 10 08:15:33 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef29e646

net-irc/znc: Remove l10n/linguas variables.

Simply install all available locales instead.

Closes: https://github.com/gentoo/gentoo/pull/6808

 net-irc/znc/znc-9999.ebuild | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/net-irc/znc/znc-9999.ebuild b/net-irc/znc/znc-9999.ebuild
index bfe3e235cf9..de34be1322e 100644
--- a/net-irc/znc/znc-9999.ebuild
+++ b/net-irc/znc/znc-9999.ebuild
@@ -4,9 +4,8 @@
 EAPI=6
 
 PYTHON_COMPAT=( python3_{4,5,6} )
-PLOCALES="de ru"
 
-inherit cmake-utils l10n python-single-r1 readme.gentoo-r1 systemd user
+inherit cmake-utils python-single-r1 readme.gentoo-r1 systemd user
 
 GTEST_VER="1.8.0"
 
GTEST_URL="https://github.com/google/googletest/archive/release-${GTEST_VER}.tar.gz
 -> gtest-${GTEST_VER}.tar.gz"
@@ -66,14 +65,6 @@ pkg_setup() {
 }
 
 src_prepare() {
-       l10n_find_plocales_changes "${S}/src/po" "${PN}." '.po'
-
-       remove_locale() {
-               # Some language/module pairs can be missing
-               rm -f src/po/${PN}.${1}.po modules/po/*.${1}.po || die
-       }
-       l10n_for_each_disabled_locale_do remove_locale
-
        # Let SWIG rebuild modperl/modpython to make user patching easier.
        if [[ ${PV} != *9999* ]]; then
                rm modules/modperl/generated.tar.gz || die

Reply via email to