summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-02-14 22:21:39 +0000
committerSam James <sam@gentoo.org>2021-02-15 00:30:36 +0000
commit5dc9cc7955341410c2e988997e17c564c3663d87 (patch)
tree4e0112d2e6b602f518b4ab8704b6702bc64ce68e /dev-libs/squareball
parentdev-libs/pcc-libs: fix double KEYWORDS (diff)
downloadgentoo-5dc9cc7955341410c2e988997e17c564c3663d87.tar.gz
gentoo-5dc9cc7955341410c2e988997e17c564c3663d87.tar.bz2
gentoo-5dc9cc7955341410c2e988997e17c564c3663d87.zip
dev-libs/squareball: 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@gentoo.org>
Diffstat (limited to 'dev-libs/squareball')
-rw-r--r--dev-libs/squareball/squareball-0.2.0.ebuild6
-rw-r--r--dev-libs/squareball/squareball-9999.ebuild6
2 files changed, 6 insertions, 6 deletions
diff --git a/dev-libs/squareball/squareball-0.2.0.ebuild b/dev-libs/squareball/squareball-0.2.0.ebuild
index 58abed1015b2..aeb29384561f 100644
--- a/dev-libs/squareball/squareball-0.2.0.ebuild
+++ b/dev-libs/squareball/squareball-0.2.0.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=6
@@ -14,10 +14,10 @@ DESCRIPTION="A general-purpose library for C99"
HOMEPAGE="https://github.com/rafaelmartins/squareball"
SRC_URI="https://github.com/rafaelmartins/${PN}/releases/download/v${PV}/${P}.tar.xz"
-KEYWORDS="~amd64 ~x86"
if [[ ${PV} = *9999* ]]; then
SRC_URI=""
- KEYWORDS=""
+else
+ KEYWORDS="~amd64 ~x86"
fi
LICENSE="BSD"
diff --git a/dev-libs/squareball/squareball-9999.ebuild b/dev-libs/squareball/squareball-9999.ebuild
index 58abed1015b2..aeb29384561f 100644
--- a/dev-libs/squareball/squareball-9999.ebuild
+++ b/dev-libs/squareball/squareball-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=6
@@ -14,10 +14,10 @@ DESCRIPTION="A general-purpose library for C99"
HOMEPAGE="https://github.com/rafaelmartins/squareball"
SRC_URI="https://github.com/rafaelmartins/${PN}/releases/download/v${PV}/${P}.tar.xz"
-KEYWORDS="~amd64 ~x86"
if [[ ${PV} = *9999* ]]; then
SRC_URI=""
- KEYWORDS=""
+else
+ KEYWORDS="~amd64 ~x86"
fi
LICENSE="BSD"