1 |
commit: ef29e6468585fba55d26e9a00c06f8840cc93adf |
2 |
Author: Alexey Sokolov <sokolov <AT> google <DOT> com> |
3 |
AuthorDate: Tue Jan 9 21:25:48 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 10 08:15:33 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef29e646 |
7 |
|
8 |
net-irc/znc: Remove l10n/linguas variables. |
9 |
|
10 |
Simply install all available locales instead. |
11 |
|
12 |
Closes: https://github.com/gentoo/gentoo/pull/6808 |
13 |
|
14 |
net-irc/znc/znc-9999.ebuild | 11 +---------- |
15 |
1 file changed, 1 insertion(+), 10 deletions(-) |
16 |
|
17 |
diff --git a/net-irc/znc/znc-9999.ebuild b/net-irc/znc/znc-9999.ebuild |
18 |
index bfe3e235cf9..de34be1322e 100644 |
19 |
--- a/net-irc/znc/znc-9999.ebuild |
20 |
+++ b/net-irc/znc/znc-9999.ebuild |
21 |
@@ -4,9 +4,8 @@ |
22 |
EAPI=6 |
23 |
|
24 |
PYTHON_COMPAT=( python3_{4,5,6} ) |
25 |
-PLOCALES="de ru" |
26 |
|
27 |
-inherit cmake-utils l10n python-single-r1 readme.gentoo-r1 systemd user |
28 |
+inherit cmake-utils python-single-r1 readme.gentoo-r1 systemd user |
29 |
|
30 |
GTEST_VER="1.8.0" |
31 |
GTEST_URL="https://github.com/google/googletest/archive/release-${GTEST_VER}.tar.gz -> gtest-${GTEST_VER}.tar.gz" |
32 |
@@ -66,14 +65,6 @@ pkg_setup() { |
33 |
} |
34 |
|
35 |
src_prepare() { |
36 |
- l10n_find_plocales_changes "${S}/src/po" "${PN}." '.po' |
37 |
- |
38 |
- remove_locale() { |
39 |
- # Some language/module pairs can be missing |
40 |
- rm -f src/po/${PN}.${1}.po modules/po/*.${1}.po || die |
41 |
- } |
42 |
- l10n_for_each_disabled_locale_do remove_locale |
43 |
- |
44 |
# Let SWIG rebuild modperl/modpython to make user patching easier. |
45 |
if [[ ${PV} != *9999* ]]; then |
46 |
rm modules/modperl/generated.tar.gz || die |