dev-lang/rust: don't set KEYWORDS at all for beta releases

Tools like tatt cannot really handle empty KEYWORDS. So don't set
KEYWORDS at all when we don't want keywords.

Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
This commit is contained in:
Thomas Deutschmann
2018-10-01 02:06:49 +02:00
parent 3099d1ddc4
commit d4c1ddb3fa
4 changed files with 3 additions and 7 deletions
+1 -2
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,7 +13,6 @@ if [[ ${PV} = *beta* ]]; then
MY_P="rustc-beta"
SLOT="beta/${PV}"
SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.gz"
KEYWORDS="amd64 x86"
else
ABI_VER="$(get_version_component_range 1-2)"
SLOT="stable/${ABI_VER}"
+1 -2
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,7 +13,6 @@ if [[ ${PV} = *beta* ]]; then
MY_P="rustc-beta"
SLOT="beta/${PV}"
SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.xz"
KEYWORDS="amd64"
else
ABI_VER="$(get_version_component_range 1-2)"
SLOT="stable/${ABI_VER}"
+1 -2
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,7 +13,6 @@ if [[ ${PV} = *beta* ]]; then
MY_P="rustc-beta"
SLOT="beta/${PV}"
SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.xz"
KEYWORDS=""
else
ABI_VER="$(get_version_component_range 1-2)"
SLOT="stable/${ABI_VER}"
-1
View File
@@ -13,7 +13,6 @@ if [[ ${PV} = *beta* ]]; then
MY_P="rustc-beta"
SLOT="beta/${PV}"
SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.xz"
KEYWORDS="x86"
else
ABI_VER="$(get_version_component_range 1-2)"
SLOT="stable/${ABI_VER}"