sci-mathematics/jags: QA: formating and usex() usage
authorJustin Lecher <jlec@gentoo.org>
Sat, 28 Nov 2015 17:39:57 +0000 (18:39 +0100)
committerJustin Lecher <jlec@gentoo.org>
Sat, 28 Nov 2015 17:39:57 +0000 (18:39 +0100)
Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec@gentoo.org>
sci-mathematics/jags/jags-4.0.0.ebuild

index a790fd62f361ac27c7d2169e8e4ae63fb5e6d0ef..83f58091b8d800a64a713691aa5af190525844c5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -11,11 +11,11 @@ MYP="JAGS-${PV}"
 DESCRIPTION="Just Another Gibbs Sampler for Bayesian MCMC simulation"
 HOMEPAGE="http://mcmc-jags.sourceforge.net/"
 SRC_URI="mirror://sourceforge/project/mcmc-jags/JAGS/4.x/Source/${MYP}.tar.gz"
-LICENSE="GPL-2"
-IUSE="doc"
 
 SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
 
 RDEPEND="
        virtual/blas
@@ -25,7 +25,7 @@ DEPEND="${RDEPEND}
        doc? (
                virtual/latex-base
                dev-texlive/texlive-latexextra
-               )"
+       )"
 
 S="${WORKDIR}/${MYP}"
 
@@ -38,7 +38,7 @@ src_configure() {
 }
 
 src_compile() {
-       autotools-utils_src_compile all $(use doc && echo docs)
+       autotools-utils_src_compile all $(usex doc docs "")
 }
 
 src_install() {