net-p2p/deluge: fix REQUIRED_USE issues

Closes: https://bugs.gentoo.org/795174
Signed-off-by: Alexander Kurakin <kuraga333@mail.ru>
Closes: https://github.com/gentoo/gentoo/pull/28926
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alexander Kurakin
2023-01-05 05:18:25 +00:00
committed by Sam James
parent 04875ab060
commit a09abda358
3 changed files with 11 additions and 11 deletions
@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -17,9 +17,9 @@ LICENSE="BSD MIT LGPL-3+"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
PLOCALES=( "en" "en-AU" "en-CA" "en-GB" "en-US" "en-ZA" )
IUSE+="${PLOCALES[@]/#/l10n_}"
REQUIRED_USE="|| ( ${IUSE[@]} )"
PLOCALES=( "en-AU" "en-CA" "en-GB" "en-US" "en-ZA" )
IUSE+="+l10n_en ${PLOCALES[@]/#/l10n_}"
REQUIRED_USE="|| ( l10n_en ${PLOCALES[@]/#/l10n_} )"
src_prepare() {
if use l10n_en-GB || use l10n_en; then
@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -17,9 +17,9 @@ LICENSE="BSD MIT LGPL-3+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
PLOCALES=( "en" "en-AU" "en-CA" "en-GB" "en-US" "en-ZA" )
IUSE+="${PLOCALES[@]/#/l10n_}"
REQUIRED_USE="|| ( ${IUSE[@]} )"
PLOCALES=( "en-AU" "en-CA" "en-GB" "en-US" "en-ZA" )
IUSE+="+l10n_en ${PLOCALES[@]/#/l10n_}"
REQUIRED_USE="|| ( l10n_en ${PLOCALES[@]/#/l10n_} )"
src_prepare() {
if use l10n_en-GB || use l10n_en; then
@@ -17,9 +17,9 @@ LICENSE="BSD MIT LGPL-3+"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
PLOCALES=( "en" "en-AU" "en-CA" "en-GB" "en-US" "en-ZA" )
IUSE+="${PLOCALES[@]/#/l10n_}"
REQUIRED_USE="|| ( ${IUSE[@]} )"
PLOCALES=( "en-AU" "en-CA" "en-GB" "en-US" "en-ZA" )
IUSE+="+l10n_en ${PLOCALES[@]/#/l10n_}"
REQUIRED_USE="|| ( l10n_en ${PLOCALES[@]/#/l10n_} )"
src_prepare() {
if use l10n_en-GB || use l10n_en; then