commit:     c148a2bc2eb5b55abe7f2beba23af4d27c9fe0c3
Author:     Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  3 16:03:54 2014 +0000
Commit:     Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
CommitDate: Wed Sep  3 16:03:54 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c148a2bc

sci-physics/tauola: version bump

---
 profiles/package.use.mask              |  4 ++
 sci-physics/tauola/ChangeLog           |  7 +++-
 sci-physics/tauola/tauola-1.1.5.ebuild | 71 ++++++++++++++++++++++++++++++++++
 3 files changed, 81 insertions(+), 1 deletion(-)

diff --git a/profiles/package.use.mask b/profiles/package.use.mask
index d309713..24d51f4 100644
--- a/profiles/package.use.mask
+++ b/profiles/package.use.mask
@@ -16,6 +16,10 @@
 ## =media-video/mplayer-0.90_pre5-r1 foo
 #
 
+# Jauhien Piatlicki <[email protected]> (03 sep 2014)
+# Building of docs fails for this version
+=sci-physics/tauola-1.1.5 doc
+
 # Justin Lecher <[email protected]> (06 Jan 2014)
 # Missing dep dev-python/scikits-cuda
 sci-biology/mne-python cuda

diff --git a/sci-physics/tauola/ChangeLog b/sci-physics/tauola/ChangeLog
index db5d905..f94bace 100644
--- a/sci-physics/tauola/ChangeLog
+++ b/sci-physics/tauola/ChangeLog
@@ -1,7 +1,12 @@
 # ChangeLog for sci-physics/tauola
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*tauola-1.1.5 (03 Sep 2014)
+
+  03 Sep 2014; Jauhien Piatlicki <[email protected]> +tauola-1.1.5.ebuild:
+  version bump
+
   13 Dec 2013; Justin Lecher <[email protected]> tauola-1.1.3.ebuild,
   tauola-1.1.4.ebuild, tauola-9999.ebuild, metadata.xml:
   Some minor formatting improvments

diff --git a/sci-physics/tauola/tauola-1.1.5.ebuild 
b/sci-physics/tauola/tauola-1.1.5.ebuild
new file mode 100644
index 0000000..cd7c854
--- /dev/null
+++ b/sci-physics/tauola/tauola-1.1.5.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils
+
+MYPN=TAUOLA
+
+DESCRIPTION="tau decay Monte Carlo generator"
+HOMEPAGE="http://tauolapp.web.cern.ch/tauolapp/";
+SRC_URI="http://tauolapp.web.cern.ch/tauolapp/resources/${MYPN}.${PV}/${MYPN}.${PV}.tar.gz";
+
+#HepMC interface is licensed under GPL, other code under CPC
+LICENSE="CPC GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples hepmc tau-spinner"
+
+RDEPEND="
+       hepmc? ( sci-physics/hepmc )
+       tau-spinner? ( sci-physics/lhapdf )
+"
+DEPEND="${RDEPEND}
+       doc? (
+               app-doc/doxygen
+               app-text/ghostscript-gpl
+               app-text/texlive )
+"
+
+S="${WORKDIR}/${MYPN}"
+
+src_prepare() {
+       epatch \
+               "${FILESDIR}"/${PN}-1.1.4-makefile.patch \
+               "${FILESDIR}"/${PN}-1.1.3-tau-spinner-makefile.patch
+}
+
+src_configure() {
+       econf \
+               --without-mc-tester \
+               --without-pythia8 \
+               $(use_with hepmc hepmc "${EPREFIX}/usr") \
+               $(use_with tau-spinner) \
+               $(use_with tau-spinner lhapdf "${EPREFIX}/usr")
+}
+
+src_compile() {
+       emake -j1
+       if use doc; then
+               cd "${S}/documentation/doxy_documentation" || die
+               emake
+               cd "${S}/documentation/latex_documentation" || die
+               emake
+       fi
+}
+
+src_install() {
+       emake PREFIX="${D}/usr" install
+
+       if use doc; then
+               dohtml documentation/doxy_documentation/html/*
+               dodoc 
documentation/latex_documentation/Tauola_interface_design.pdf
+       fi
+
+       if use examples; then
+               dodoc -r examples
+               use tau-spinner && docinto tau-spinner && dodoc -r 
TauSpinner/examples
+       fi
+}

Reply via email to