Gentoo Archives: gentoo-commits

From: Jauhien Piatlicki <jauhien@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/tauola/, profiles/
Date: Wed, 03 Sep 2014 16:06:16
Message-Id: 1409760234.c148a2bc2eb5b55abe7f2beba23af4d27c9fe0c3.jauhien@gentoo
1 commit: c148a2bc2eb5b55abe7f2beba23af4d27c9fe0c3
2 Author: Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 3 16:03:54 2014 +0000
4 Commit: Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 3 16:03:54 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c148a2bc
7
8 sci-physics/tauola: version bump
9
10 ---
11 profiles/package.use.mask | 4 ++
12 sci-physics/tauola/ChangeLog | 7 +++-
13 sci-physics/tauola/tauola-1.1.5.ebuild | 71 ++++++++++++++++++++++++++++++++++
14 3 files changed, 81 insertions(+), 1 deletion(-)
15
16 diff --git a/profiles/package.use.mask b/profiles/package.use.mask
17 index d309713..24d51f4 100644
18 --- a/profiles/package.use.mask
19 +++ b/profiles/package.use.mask
20 @@ -16,6 +16,10 @@
21 ## =media-video/mplayer-0.90_pre5-r1 foo
22 #
23
24 +# Jauhien Piatlicki <jauhien@g.o> (03 sep 2014)
25 +# Building of docs fails for this version
26 +=sci-physics/tauola-1.1.5 doc
27 +
28 # Justin Lecher <jlec@×××××.org> (06 Jan 2014)
29 # Missing dep dev-python/scikits-cuda
30 sci-biology/mne-python cuda
31
32 diff --git a/sci-physics/tauola/ChangeLog b/sci-physics/tauola/ChangeLog
33 index db5d905..f94bace 100644
34 --- a/sci-physics/tauola/ChangeLog
35 +++ b/sci-physics/tauola/ChangeLog
36 @@ -1,7 +1,12 @@
37 # ChangeLog for sci-physics/tauola
38 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
39 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
40 # $Header: $
41
42 +*tauola-1.1.5 (03 Sep 2014)
43 +
44 + 03 Sep 2014; Jauhien Piatlicki <jauhien@g.o> +tauola-1.1.5.ebuild:
45 + version bump
46 +
47 13 Dec 2013; Justin Lecher <jlec@g.o> tauola-1.1.3.ebuild,
48 tauola-1.1.4.ebuild, tauola-9999.ebuild, metadata.xml:
49 Some minor formatting improvments
50
51 diff --git a/sci-physics/tauola/tauola-1.1.5.ebuild b/sci-physics/tauola/tauola-1.1.5.ebuild
52 new file mode 100644
53 index 0000000..cd7c854
54 --- /dev/null
55 +++ b/sci-physics/tauola/tauola-1.1.5.ebuild
56 @@ -0,0 +1,71 @@
57 +# Copyright 1999-2014 Gentoo Foundation
58 +# Distributed under the terms of the GNU General Public License v2
59 +# $Header: $
60 +
61 +EAPI=5
62 +
63 +inherit eutils
64 +
65 +MYPN=TAUOLA
66 +
67 +DESCRIPTION="tau decay Monte Carlo generator"
68 +HOMEPAGE="http://tauolapp.web.cern.ch/tauolapp/"
69 +SRC_URI="http://tauolapp.web.cern.ch/tauolapp/resources/${MYPN}.${PV}/${MYPN}.${PV}.tar.gz"
70 +
71 +#HepMC interface is licensed under GPL, other code under CPC
72 +LICENSE="CPC GPL-2+"
73 +SLOT="0"
74 +KEYWORDS="~amd64 ~x86"
75 +IUSE="doc examples hepmc tau-spinner"
76 +
77 +RDEPEND="
78 + hepmc? ( sci-physics/hepmc )
79 + tau-spinner? ( sci-physics/lhapdf )
80 +"
81 +DEPEND="${RDEPEND}
82 + doc? (
83 + app-doc/doxygen
84 + app-text/ghostscript-gpl
85 + app-text/texlive )
86 +"
87 +
88 +S="${WORKDIR}/${MYPN}"
89 +
90 +src_prepare() {
91 + epatch \
92 + "${FILESDIR}"/${PN}-1.1.4-makefile.patch \
93 + "${FILESDIR}"/${PN}-1.1.3-tau-spinner-makefile.patch
94 +}
95 +
96 +src_configure() {
97 + econf \
98 + --without-mc-tester \
99 + --without-pythia8 \
100 + $(use_with hepmc hepmc "${EPREFIX}/usr") \
101 + $(use_with tau-spinner) \
102 + $(use_with tau-spinner lhapdf "${EPREFIX}/usr")
103 +}
104 +
105 +src_compile() {
106 + emake -j1
107 + if use doc; then
108 + cd "${S}/documentation/doxy_documentation" || die
109 + emake
110 + cd "${S}/documentation/latex_documentation" || die
111 + emake
112 + fi
113 +}
114 +
115 +src_install() {
116 + emake PREFIX="${D}/usr" install
117 +
118 + if use doc; then
119 + dohtml documentation/doxy_documentation/html/*
120 + dodoc documentation/latex_documentation/Tauola_interface_design.pdf
121 + fi
122 +
123 + if use examples; then
124 + dodoc -r examples
125 + use tau-spinner && docinto tau-spinner && dodoc -r TauSpinner/examples
126 + fi
127 +}