-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
LICENSE="NPL-1.1"
SLOT="52"
-KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 x86"
IUSE="debug minimal +system-icu test"
-RESTRICT="ia64? ( test )"
+RESTRICT="!test? ( test ) ia64? ( test )"
S="${WORKDIR}/${MY_P%.rc*}"
BUILDDIR="${S}/jsobj"
system-icu? ( >=dev-libs/icu-58.1:= )"
DEPEND="${RDEPEND}"
-pkg_setup(){
+pkg_setup() {
[[ ${MERGE_TYPE} == "binary" ]] || \
moz_pkgsetup