dev-db/postgresql: Remove linguas_* from IUSE.
authorUlrich Müller <ulm@gentoo.org>
Sat, 6 Jan 2018 16:19:49 +0000 (17:19 +0100)
committerUlrich Müller <ulm@gentoo.org>
Sat, 6 Jan 2018 16:22:40 +0000 (17:22 +0100)
Also move definition of supported locales to a local variable.
How could this possibly have worked, with an assignment of the
LINGUAS variable in global scope?

Package-Manager: Portage-2.3.19, Repoman-2.3.6

28 files changed:
dev-db/postgresql/postgresql-10.0-r1.ebuild
dev-db/postgresql/postgresql-10.0.ebuild
dev-db/postgresql/postgresql-10.1.ebuild
dev-db/postgresql/postgresql-9.2.19.ebuild
dev-db/postgresql/postgresql-9.2.22.ebuild
dev-db/postgresql/postgresql-9.2.23-r1.ebuild
dev-db/postgresql/postgresql-9.2.23.ebuild
dev-db/postgresql/postgresql-9.2.24.ebuild
dev-db/postgresql/postgresql-9.3.15.ebuild
dev-db/postgresql/postgresql-9.3.18.ebuild
dev-db/postgresql/postgresql-9.3.19-r1.ebuild
dev-db/postgresql/postgresql-9.3.19.ebuild
dev-db/postgresql/postgresql-9.3.20.ebuild
dev-db/postgresql/postgresql-9.4.10.ebuild
dev-db/postgresql/postgresql-9.4.13.ebuild
dev-db/postgresql/postgresql-9.4.14-r1.ebuild
dev-db/postgresql/postgresql-9.4.14.ebuild
dev-db/postgresql/postgresql-9.4.15.ebuild
dev-db/postgresql/postgresql-9.5.10.ebuild
dev-db/postgresql/postgresql-9.5.5.ebuild
dev-db/postgresql/postgresql-9.5.8.ebuild
dev-db/postgresql/postgresql-9.5.9-r1.ebuild
dev-db/postgresql/postgresql-9.5.9.ebuild
dev-db/postgresql/postgresql-9.6.4.ebuild
dev-db/postgresql/postgresql-9.6.5-r1.ebuild
dev-db/postgresql/postgresql-9.6.5.ebuild
dev-db/postgresql/postgresql-9.6.6.ebuild
dev-db/postgresql/postgresql-9999.ebuild

index 18fea4c814b0b2d02edb3b7f3fd404fecb166110..1fc58e6071afdcad4c7d10522acc59acf68b661a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -21,21 +21,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN
-                zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl python +readline
          selinux +server systemd ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index f8c09bb804cce5ac68c0b5965cfb8fea9be692ee..c3b086316a3f403c1d170a25895e669632381826 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -21,21 +21,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN
-                zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl python +readline
          selinux +server systemd ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index f4041b02f992801714ca6e48cccecb7564bf28c3..0a9959f34067f8308d4a7ce5073ad283fed2b914 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -21,21 +21,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN
-                zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl python +readline
          selinux +server systemd ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index 008123508d64d3e309ddbeb80115bac4f001f3de..2300704b2044ca4e6f291728b84b22b2de39bdd3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index 6da7c31e6c4ee4503357d75719446f879d1b3bf1..af4ae8663d1227b2b855604b19eef8e4be0d1e39 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index e51086d898b3962b219dc3cfea3d2729048f7ffe..3b6ee92300e5488c7540fdee0e334f40f5927ce4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server systemd ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index b32870c3a84a81883c8f9034ec7ba13ba980a29a..553284151503ce9fdc9c037a83c8cffd85827ab6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index b49e5f7a544b1a908b2f15bf4ceb39e7ad81fa6b..1159151f7afe823871916c62097c9c476ac84cc7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server systemd ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index 8a187562c900ef72de6d849ae1e2a4a50feccbd1..4f8c108842a14fd55c29d80945ba7ec5d7560f27 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index 37b53c36ff12f8a95ec2c0533f62eeefe2cab022..ef402d99bd307b8379f2e752a75553605caaecf7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index ff42ac626f75f9dbd8842883b300d1586b24e1f5..8a1a8f9bea7a172a360dcf7574660a930b248943 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server systemd ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index 41dc55cea8725b640f31386b995c444501ec2f6c..b84e6edd3dbcf0ab28a9f374c0fccb786ad644e9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index 5afb997c778af0d1c9ed868b269cd0ba4bd3446e..9962b3bd00555da649dab74738025caed2dcac10 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server systemd ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index 61f957f53221ac4f5b725434e937e58dc53f27d0..bba0449641effaf0c2e2d972473e4333ded26149 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index f17788a2300cf9abde873aab7ceaa3b212b7fead..552f2428fda6a46d2f2881f8abdc4148102ad1ce 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index d77190ea0a5029d50c21f497c661f07cf4a2b92e..c799ad1927af0233e4fc099fe9d8aa1c46ccba77 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server systemd ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index a5ce342394d878a9606664a47e72bc10e082c1fc..c287bfe08a6d768bfb1806c3131c8637e0791382 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index 7283bd89cbeb91968dae904faf1c509ea915fc4f..13530394ab52e7ebdd9213c0131d61402bb038c2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server systemd ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index 360d90c28bc8dcf6decce1bd837bb88bad97307f..28e6fc826d3bcd2bdb11ea8dbe0ad42ab1fb35bc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server systemd ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index 1393518bebd86309c3ce7e9b7fba3d2bcfe2f440..81221d49db5b930c2fbd54361c2bc7849a205f4d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index 0e5a7b5009f51b2327620715e5173bc09198eaf1..fa7874ed7e5aa60298270efe2348f095c1e31573 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index 721f27ae0f954e8a66921604249edc9962b36847..6f8aca3f8ae46ccb987921aaf71ad755562bcca9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server systemd ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index 5db745095a88b99c74f9db8b05b59703dae97882..68ba88f280d433fd3b9b359c6845a51d38bb8e33 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -18,21 +18,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index 98b451d44981a3249e62268a84374ff88ba8082c..f588eee23f35adddcb8b6e20a9ff862231f6861c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -21,21 +21,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server systemd ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index df077d0dfb87742e6050b588bf91f0fb4d9290d8..a777d660e8f6fba6f3da5f0fbdedb546b905fdaf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -21,21 +21,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server systemd ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index 66369e14a212c1336f8ee97678022ce67aaa6605..821aa3eeee05e4f409e576fd0bf2963e48b55cce 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -21,21 +21,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server systemd ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index eb48559dd4d77b051583793b0edfc955c07b172a..08aa80472d1eeefe00eeac4a2978c73819530bbe 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -21,21 +21,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server systemd ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}
index af236abbcc1165b2ef554b8dae368b6a7faae43e..151af8e7d5742a2375a2b513a3ab271da70a142f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -19,21 +19,17 @@ LICENSE="POSTGRESQL GPL-2"
 DESCRIPTION="PostgreSQL RDBMS"
 HOMEPAGE="http://www.postgresql.org/"
 
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
-                zh_CN zh_TW"
 IUSE="kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
          +readline selinux +server systemd ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
-       IUSE+=" linguas_${lingua}"
-done
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 wanted_languages() {
-       local enable_langs
+       local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+               sk sl sv tr zh_CN zh_TW"
+       local enable_langs lingua
 
-       for lingua in ${LINGUAS} ; do
-               use linguas_${lingua} && enable_langs+="${lingua} "
+       for lingua in ${linguas} ; do
+               has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
        done
 
        echo -n ${enable_langs}