mail-client/neomutt: Workaround Bug 614746
authorNicolas Bock <nicolasbock@gentoo.org>
Sun, 3 Dec 2017 16:28:28 +0000 (09:28 -0700)
committerNicolas Bock <nicolasbock@gentoo.org>
Sun, 3 Dec 2017 16:29:34 +0000 (09:29 -0700)
Currently a conditional in the ebuild such as

    if [[ ${PV} =~ 9999$ ]]

is not recognized by `ekeyword` [1]. A workaround is to omit the
`KEYWORDS` assignment in the live ebuild branch.

[1] https://bugs.gentoo.org/614746

Package-Manager: Portage-2.3.13, Repoman-2.3.3

mail-client/neomutt/neomutt-9999.ebuild

index 8a0f8bb25dd214c3b1aa17ac8a5378dd12ee6395..406bc5c0cc73c80ecd19ff3cbfff19a029ce1bc5 100644 (file)
@@ -5,11 +5,10 @@ EAPI=6
 
 inherit autotools eutils flag-o-matic
 
-if (( ${PV} == 9999 )); then
+if [[ ${PV} =~ 9999$ ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/neomutt/neomutt.git"
        EGIT_CHECKOUT_DIR="${WORKDIR}/neomutt-${P}"
-       KEYWORDS=""
 else
        SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz"
        KEYWORDS="~amd64 ~x86"