net-irc/weechat: Test LINGUAS rather than linguas_* USE flags.
authorUlrich Müller <ulm@gentoo.org>
Sun, 7 Jan 2018 12:09:27 +0000 (13:09 +0100)
committerUlrich Müller <ulm@gentoo.org>
Sun, 7 Jan 2018 12:09:56 +0000 (13:09 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

net-irc/weechat/weechat-1.9.1.ebuild
net-irc/weechat/weechat-2.0.1.ebuild
net-irc/weechat/weechat-2.0.ebuild
net-irc/weechat/weechat-9999.ebuild

index e28f1929648bf7a8bd799ec2c280839003830798..39521532b3fc121d970cfbd2e516327d169e732b 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
@@ -25,7 +25,7 @@ PLUGINS="+alias +buflist +charset +exec +fifo +logger +relay +scripts +spell +tr
 # dev-lang/v8 was dropped from Gentoo so we can't enable javascript support
 SCRIPT_LANGS="guile lua +perl +python ruby tcl"
 LANGS=" cs de es fr hu it ja pl pt pt_BR ru tr"
-IUSE="doc nls +ssl test ${LANGS// / linguas_} ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}"
+IUSE="doc nls +ssl test ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="
@@ -76,7 +76,7 @@ src_prepare() {
        # install only required translations
        local i
        for i in ${LANGS} ; do
-               if ! use linguas_${i} ; then
+               if ! has ${i} ${LINGUAS-${i}} ; then
                        sed -i \
                                -e "/${i}.po/d" \
                                po/CMakeLists.txt || die
@@ -86,7 +86,7 @@ src_prepare() {
        # install only required documentation ; en always
        for i in $(grep add_subdirectory doc/CMakeLists.txt \
                        | sed -e 's/.*add_subdirectory(\(..\)).*/\1/' -e '/en/d'); do
-               if ! use linguas_${i} ; then
+               if ! has ${i} ${LINGUAS-${i}} ; then
                        sed -i \
                                -e '/add_subdirectory('${i}')/d' \
                                doc/CMakeLists.txt || die
index 59575ed9f9d6bda025e564c8761501a8ec1b2d0c..dd1313a0c7305370021807242ba6997345eadb7e 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
@@ -25,7 +25,7 @@ PLUGINS="+alias +buflist +charset +exec +fset +fifo +logger +relay +scripts +spe
 # dev-lang/v8 was dropped from Gentoo so we can't enable javascript support
 SCRIPT_LANGS="guile lua +perl php +python ruby tcl"
 LANGS=" cs de es fr hu it ja pl pt pt_BR ru tr"
-IUSE="doc nls +ssl test ${LANGS// / linguas_} ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}"
+IUSE="doc nls +ssl test ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="
@@ -77,7 +77,7 @@ src_prepare() {
        # install only required translations
        local i
        for i in ${LANGS} ; do
-               if ! use linguas_${i} ; then
+               if ! has ${i} ${LINGUAS-${i}} ; then
                        sed -i \
                                -e "/${i}.po/d" \
                                po/CMakeLists.txt || die
@@ -87,7 +87,7 @@ src_prepare() {
        # install only required documentation ; en always
        for i in $(grep add_subdirectory doc/CMakeLists.txt \
                        | sed -e 's/.*add_subdirectory(\(..\)).*/\1/' -e '/en/d'); do
-               if ! use linguas_${i} ; then
+               if ! has ${i} ${LINGUAS-${i}} ; then
                        sed -i \
                                -e '/add_subdirectory('${i}')/d' \
                                doc/CMakeLists.txt || die
index 59575ed9f9d6bda025e564c8761501a8ec1b2d0c..dd1313a0c7305370021807242ba6997345eadb7e 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
@@ -25,7 +25,7 @@ PLUGINS="+alias +buflist +charset +exec +fset +fifo +logger +relay +scripts +spe
 # dev-lang/v8 was dropped from Gentoo so we can't enable javascript support
 SCRIPT_LANGS="guile lua +perl php +python ruby tcl"
 LANGS=" cs de es fr hu it ja pl pt pt_BR ru tr"
-IUSE="doc nls +ssl test ${LANGS// / linguas_} ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}"
+IUSE="doc nls +ssl test ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="
@@ -77,7 +77,7 @@ src_prepare() {
        # install only required translations
        local i
        for i in ${LANGS} ; do
-               if ! use linguas_${i} ; then
+               if ! has ${i} ${LINGUAS-${i}} ; then
                        sed -i \
                                -e "/${i}.po/d" \
                                po/CMakeLists.txt || die
@@ -87,7 +87,7 @@ src_prepare() {
        # install only required documentation ; en always
        for i in $(grep add_subdirectory doc/CMakeLists.txt \
                        | sed -e 's/.*add_subdirectory(\(..\)).*/\1/' -e '/en/d'); do
-               if ! use linguas_${i} ; then
+               if ! has ${i} ${LINGUAS-${i}} ; then
                        sed -i \
                                -e '/add_subdirectory('${i}')/d' \
                                doc/CMakeLists.txt || die
index 59575ed9f9d6bda025e564c8761501a8ec1b2d0c..dd1313a0c7305370021807242ba6997345eadb7e 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
@@ -25,7 +25,7 @@ PLUGINS="+alias +buflist +charset +exec +fset +fifo +logger +relay +scripts +spe
 # dev-lang/v8 was dropped from Gentoo so we can't enable javascript support
 SCRIPT_LANGS="guile lua +perl php +python ruby tcl"
 LANGS=" cs de es fr hu it ja pl pt pt_BR ru tr"
-IUSE="doc nls +ssl test ${LANGS// / linguas_} ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}"
+IUSE="doc nls +ssl test ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="
@@ -77,7 +77,7 @@ src_prepare() {
        # install only required translations
        local i
        for i in ${LANGS} ; do
-               if ! use linguas_${i} ; then
+               if ! has ${i} ${LINGUAS-${i}} ; then
                        sed -i \
                                -e "/${i}.po/d" \
                                po/CMakeLists.txt || die
@@ -87,7 +87,7 @@ src_prepare() {
        # install only required documentation ; en always
        for i in $(grep add_subdirectory doc/CMakeLists.txt \
                        | sed -e 's/.*add_subdirectory(\(..\)).*/\1/' -e '/en/d'); do
-               if ! use linguas_${i} ; then
+               if ! has ${i} ${LINGUAS-${i}} ; then
                        sed -i \
                                -e '/add_subdirectory('${i}')/d' \
                                doc/CMakeLists.txt || die