Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/jags/
Date: Sat, 28 Nov 2015 17:41:40
Message-Id: 1446195915.241a72969aecd4e8c67dadfede0b867f51b4df92.jlec@gentoo
1 commit: 241a72969aecd4e8c67dadfede0b867f51b4df92
2 Author: Xavier Fernández i Marín <xavier.fim <AT> gmail <DOT> com>
3 AuthorDate: Fri Oct 30 09:05:15 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 30 09:05:15 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=241a7296
7
8 sci-mathematics/jags Version bump (solves bug #562644).
9
10 sci-mathematics/jags/Manifest | 1 +
11 sci-mathematics/jags/jags-4.0.0.ebuild | 47 ++++++++++++++++++++++++++++++++++
12 2 files changed, 48 insertions(+)
13
14 diff --git a/sci-mathematics/jags/Manifest b/sci-mathematics/jags/Manifest
15 index 345adf7..a6e7e9e 100644
16 --- a/sci-mathematics/jags/Manifest
17 +++ b/sci-mathematics/jags/Manifest
18 @@ -1 +1,2 @@
19 DIST JAGS-3.4.0.tar.gz 1677450 SHA256 2beaa9a2672c2c95efc55ffa4c8b597a872f20232373daebd17ad539d3d7d82b SHA512 7a330ea41eab63b23d8ae3622c6920f0dc3dba653a18256957b9b862bb86b746ff706e9e9bf3f806524250b439161a6df4ad05af682354073f9b0074f9825896 WHIRLPOOL 48f2bf92f80ea0558697701320e142a61b3eb5cfefe234973a6a189096b7887ec5ea829f8f6183bf9ad4a0f6fb07d769c710b721ec1e211772cbeaea0187c8e2
20 +DIST JAGS-4.0.0.tar.gz 1880476 SHA256 a1d572269029d90d4e8b25757fd7ae9678994bd682937ec505ddcf06185d2c4c SHA512 bbe4f4600dff0fc1db6f8548b8d386ea804174d69788646681de6d006a0e0ab018fb01257b5737f871d10c8b59865950fb91b6a9cad5d1e6addc415004c6f82c WHIRLPOOL d1f2ad15834252c63300259c789f69ca0fa008d0c2008d504db2c394642f7a63180baae76bc272a33a92c83addc373fd9ce026063ea74b40397ac902c2272aed
21
22 diff --git a/sci-mathematics/jags/jags-4.0.0.ebuild b/sci-mathematics/jags/jags-4.0.0.ebuild
23 new file mode 100644
24 index 0000000..a790fd6
25 --- /dev/null
26 +++ b/sci-mathematics/jags/jags-4.0.0.ebuild
27 @@ -0,0 +1,47 @@
28 +# Copyright 1999-2013 Gentoo Foundation
29 +# Distributed under the terms of the GNU General Public License v2
30 +# $Id$
31 +
32 +EAPI=5
33 +
34 +inherit autotools-utils toolchain-funcs
35 +
36 +MYP="JAGS-${PV}"
37 +
38 +DESCRIPTION="Just Another Gibbs Sampler for Bayesian MCMC simulation"
39 +HOMEPAGE="http://mcmc-jags.sourceforge.net/"
40 +SRC_URI="mirror://sourceforge/project/mcmc-jags/JAGS/4.x/Source/${MYP}.tar.gz"
41 +LICENSE="GPL-2"
42 +IUSE="doc"
43 +
44 +SLOT="0"
45 +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
46 +
47 +RDEPEND="
48 + virtual/blas
49 + virtual/lapack"
50 +DEPEND="${RDEPEND}
51 + virtual/pkgconfig
52 + doc? (
53 + virtual/latex-base
54 + dev-texlive/texlive-latexextra
55 + )"
56 +
57 +S="${WORKDIR}/${MYP}"
58 +
59 +src_configure() {
60 + local myeconfargs=(
61 + --with-blas="$($(tc-getPKG_CONFIG) --libs blas)"
62 + --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)"
63 + )
64 + autotools-utils_src_configure
65 +}
66 +
67 +src_compile() {
68 + autotools-utils_src_compile all $(use doc && echo docs)
69 +}
70 +
71 +src_install() {
72 + autotools-utils_src_install
73 + use doc && dodoc "${BUILD_DIR}"/doc/manual/*.pdf
74 +}