commit:     e61b2b917ac108ddae1fa2dd551fe66cda777900
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 14 23:27:49 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 15 00:32:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e61b2b91

sys-devel/sparse: fix double KEYWORDS

Double KEYWORDS lines break tools like ekeyword and Nattka.
As per PMS, blank/empty KEYWORDS is implied by not defining
the variable.

See: https://projects.gentoo.org/qa/policy-guide/ebuild-format.html#pg0105
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/sparse/sparse-0.6.2.ebuild | 3 +--
 sys-devel/sparse/sparse-9999.ebuild  | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/sys-devel/sparse/sparse-0.6.2.ebuild 
b/sys-devel/sparse/sparse-0.6.2.ebuild
index 8860a29313e..34da20a600a 100644
--- a/sys-devel/sparse/sparse-0.6.2.ebuild
+++ b/sys-devel/sparse/sparse-0.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,6 @@ HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page";
 if [[ ${PV} == "9999" ]] ; then
        inherit git-r3
        EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git";
-       KEYWORDS=""
 else
        
SRC_URI="https://www.kernel.org/pub/software/devel/${PN}/dist/${P}.tar.xz";
        KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"

diff --git a/sys-devel/sparse/sparse-9999.ebuild 
b/sys-devel/sparse/sparse-9999.ebuild
index 8860a29313e..34da20a600a 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,6 @@ HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page";
 if [[ ${PV} == "9999" ]] ; then
        inherit git-r3
        EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git";
-       KEYWORDS=""
 else
        
SRC_URI="https://www.kernel.org/pub/software/devel/${PN}/dist/${P}.tar.xz";
        KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"

Reply via email to