commit:     d1f2227a1bb81f91bc28691f9718d06ea739c71a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 14 23:29:05 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 15 00:32:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1f2227a

www-apps/blohg: 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>

 www-apps/blohg/blohg-0.13-r4.ebuild | 6 +++---
 www-apps/blohg/blohg-9999.ebuild    | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/www-apps/blohg/blohg-0.13-r4.ebuild 
b/www-apps/blohg/blohg-0.13-r4.ebuild
index f0260ed804d..57732d82f2d 100644
--- a/www-apps/blohg/blohg-0.13-r4.ebuild
+++ b/www-apps/blohg/blohg-0.13-r4.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
@@ -18,10 +18,10 @@ HOMEPAGE="https://github.com/rafaelmartins/blohg";
 
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
        
https://dev.gentoo.org/~rafaelmartins/distfiles/${PN}-patches-${PVR}.tar.xz";
-KEYWORDS="~amd64 ~x86"
 if [[ ${PV} = *9999* ]]; then
        SRC_URI=""
-       KEYWORDS=""
+else
+       KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="GPL-2"

diff --git a/www-apps/blohg/blohg-9999.ebuild b/www-apps/blohg/blohg-9999.ebuild
index f0260ed804d..57732d82f2d 100644
--- a/www-apps/blohg/blohg-9999.ebuild
+++ b/www-apps/blohg/blohg-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
@@ -18,10 +18,10 @@ HOMEPAGE="https://github.com/rafaelmartins/blohg";
 
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
        
https://dev.gentoo.org/~rafaelmartins/distfiles/${PN}-patches-${PVR}.tar.xz";
-KEYWORDS="~amd64 ~x86"
 if [[ ${PV} = *9999* ]]; then
        SRC_URI=""
-       KEYWORDS=""
+else
+       KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="GPL-2"

Reply via email to