summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2016-01-11 22:43:38 -0200
committerGuilherme Amadio <amadio@gentoo.org>2016-01-11 22:55:13 -0200
commit2d01e18eb25f22b5148e6370455897c9003ecd41 (patch)
treed2c45bc240653b03f1ab584dae34957eb107b6b4 /sci-physics/lhapdf
parentdev-python/flask-socketio: version bump to 2.0 (diff)
downloadgentoo-2d01e18eb25f22b5148e6370455897c9003ecd41.tar.gz
gentoo-2d01e18eb25f22b5148e6370455897c9003ecd41.tar.bz2
gentoo-2d01e18eb25f22b5148e6370455897c9003ecd41.zip
sci-physics/lhapdf: bump fortran version to latest 5.9.1
Package-Manager: portage-2.2.26
Diffstat (limited to 'sci-physics/lhapdf')
-rw-r--r--sci-physics/lhapdf/Manifest2
-rw-r--r--sci-physics/lhapdf/lhapdf-5.9.1.ebuild92
2 files changed, 94 insertions, 0 deletions
diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index b67612bca390..9eda0921fc65 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -1,3 +1,4 @@
+DIST CT10.LHgrid 21081519 SHA256 e858cec1f80420698ef3ae1249d5414977ff79ce512fba00af91513f2b7e05a2 SHA512 4196b0899dc7f5803608d9328872b942393d5f5103e8d50a53b35af6f8bac509adbbe83c363ab33a5fbfab3c33156e8ae46131939ad5a8642c558ff209630820 WHIRLPOOL 7939478bdef6aa0e369738a85891188774e92b9e5b4ad5c7ad5089ce824fdeec73ddd726cf3e00ff732edfc3664ac9a263d2758f9f3dc2637de329d837028332
DIST LHAPDF-6.1.5.tar.gz 668112 SHA256 ee5dfac1c32a386c966b28cb6a2d51531d4eaf9945c4cb48431dd3fabef83231 SHA512 a5e1ac38f681ea6e4bcef4540f8bb836ebeae809ae160a2069972b8752a334a850ae5ec226b19a09da775a0c790439548b0a8a671c4a3f5852a75bbb0647c473 WHIRLPOOL 793ffee34a7bcba616816f030b9206bf1431fcf2d56daf8125818ebac0667677488529dcb2d0141ee5af48e9cf748171c997c1a5028218b21c59d37d2e9780b5
DIST LHAPDF-6.1.6.tar.gz 696608 SHA256 c28138232e3219bf89cf626c0e414c6291c6b0777c3a931af18e51867657ebe9 SHA512 371a4062d3f1a4d611d8c09950a1ba7b747df29f04502a1ab9c420c300799143a53eebdecd04293d38b2c481b525c2414ac0fb8e2f8846de65e07992dea18656 WHIRLPOOL cff128bd0ceb0e5c4a0dc8bfb7432102c47035f431d1e39ed8e16b604dde5690f0458ec2a7a1da24ccfa6b524b3eeef512bc7d4b1070d32b1d7e19ac3ef0dd9d
DIST MRST2004nlo.LHgrid 288040 SHA256 bc1aa4f26ebcf4a6a1bd6e3ec5fbd5fa3ff378c116247fa27ccd5e76324368ce SHA512 b554454fa494c86a3ae56168c3d74c5e3c3bd80f10b393153c0adfbb39a3f3837ae2db80534d288784409154034187c9c5212dfc9c21ed1bf32ef89b9266e262 WHIRLPOOL b7f1e6115015cf19c092cf367798fe1d4459d0c9fac84e022034c14fd81d27023a35f30e7e727a35e2d8af409f448508744be76f04b441b22466ebd92c600bdf
@@ -5,5 +6,6 @@ DIST cteq5l.LHgrid 134797 SHA256 83c92bc90fd6e12be9cd76bc032eca26dcedbe90f0c11ae
DIST cteq61.LHgrid 8946864 SHA256 5df10c695504f02c2c9cc1eda9ca77fa8c276554cf2cda5fbdba764bf8f47691 SHA512 ab35c058f1ece8b428d8664ba2e14068541279328b5eb9e13b020642cc804c21f7412414dd74bb3621a5136bfa7d9a60832604c944d1e3519c5a94d3dce2a063 WHIRLPOOL a3a5ef45ea92e45a5764cbb484523b2eff671ad2c04f25b0b03efd631d367f3bf9784b19eacf927d909301c73a85505f9f87a3fd3f242fcf48d6e611fe510478
DIST cteq61.LHpdf 11860 SHA256 0dacfd4d5518b2273ba80ae381af7d46eab4784e84312585f5f149f8fce759f0 SHA512 2769bcaed94aa4b47144cd2c3ce76e0b6ab4fa8af278db5cb3b612f2286200352e829eec3971c8da0b78144483f00bbbf1ae2aae8d1e75045d239fab40289bc0 WHIRLPOOL e24427537b81c438552de53d1ef4ca34c425a241e318ffbeff3f5b632793a2cb6ec4d41bde895e56537c9ace520e012008a5370890c6199b1c29bc4ebc0925ae
DIST lhapdf-5.8.4.tar.gz 1165256 SHA256 75a3b44bd4509bec47806fb5ad4baaa6334a2aa8f51cf2f7195d4f08bd353ca2 SHA512 d2d7a9d315d6ccfb2ae7d0331401a59199ac3eb3902b76775331471494778630891933f1102ce454071e3fbf23d62e977f685f1af7093c3ed96c1f4ce385c3c9 WHIRLPOOL be55f3e9c8cb276ba3c5eb330729004f216112a6cdf8ad05bb4d608f95470a9cffb624e8d8748055e5bf13e48d2480155a86fe02ca7765db8cd03d05567addf7
+DIST lhapdf-5.9.1.tar.gz 1236188 SHA256 86b9b046d7f25627ce2aab6847ef1c5534972f4bae18de98225080cf5086919c SHA512 8e0eafa202d7c486264c06ddac31a2d1fc17c71223cf5b75cd9dae7e434792e8b8f4002bc8a0d00491c0c3fc58513095cbf693dc883c3bf968473a4e6232586a WHIRLPOOL 100c89d69150b84ba812f5ea719b9532980afd84f2f9f75ffc0c64f70766def11eb2d2bf6604be65855cac3419b5e08057bc4be73eb9e77ca4c9bbf68c4f0174
DIST wrapheragrid-lite.f 7785 SHA256 50e1c4113f6312b0e6131870e7739a4bfb251e20f4f5cddd69e27ceb26e47a1f SHA512 57334f4fe0ef96dec742e104bb248adde9fb93fb9146402566ee6fec4bd3ddfb6a5e5ae614f005131bdfbf80fc769263c6508d8c5e510a203da4471e087c3c8c WHIRLPOOL 7c17d2a17c29c8e9b39cdff659da7e593957d6ee6411df7a854f15db04ebeeb1485ad754bc21037f356cf05c166af29a6f35c13ed4428c4596f75b701c93df18
DIST wrapheragrid.f 6931 SHA256 6bd1c4e19de850a2cbe8c548050c772b367f6738f9ba7bb5b6561915833bf5fd SHA512 5ba0f3f1e4d70e632e7eb5a968ead8098e5ffd1412c58a0bb967216836ac05cc5e37cba2b31970062f0668cecbb3b43eaaf7339127427af4fb4ba24bc9bdbbbe WHIRLPOOL 12c5c979f64844404c7214b07a566596336173f04c5dbf1fe935f9c96aebaf83af87db4ec367134800e2f87e5e4d849c396505b8ebc2419a1c2e7131e6e2d042
diff --git a/sci-physics/lhapdf/lhapdf-5.9.1.ebuild b/sci-physics/lhapdf/lhapdf-5.9.1.ebuild
new file mode 100644
index 000000000000..fd4242095a74
--- /dev/null
+++ b/sci-physics/lhapdf/lhapdf-5.9.1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit versionator
+
+MY_PV=$(get_version_component_range 1-3 ${PV})
+MY_PF=${PN}-${MY_PV}
+
+DESCRIPTION="Les Houches Parton Density Function unified library"
+HOMEPAGE="http://projects.hepforge.org/lhapdf/"
+SRC_URI="http://www.hepforge.org/archive/lhapdf/${MY_PF}.tar.gz
+ test? (
+ http://lhapdf.hepforge.org/svn/pdfsets/5/CT10.LHgrid
+ http://lhapdf.hepforge.org/svn/pdfsets/5/cteq61.LHgrid
+ http://lhapdf.hepforge.org/svn/pdfsets/5/MRST2004nlo.LHgrid
+ http://lhapdf.hepforge.org/svn/pdfsets/5/cteq61.LHpdf
+ octave? ( http://lhapdf.hepforge.org/svn/pdfsets/5/cteq5l.LHgrid ) )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cxx doc examples octave python test"
+
+RDEPEND="octave? ( sci-mathematics/octave )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen[latex] )
+ python? ( dev-lang/swig )"
+
+S="${WORKDIR}/${MY_PF}"
+
+src_prepare() {
+ # do not create extra latex docs
+ sed -i \
+ -e 's/GENERATE_LATEX.*=YES/GENERATE_LATEX = NO/g' \
+ ccwrap/Doxyfile || die
+}
+
+src_configure() {
+ local myconf="--enable-ccwrap"
+ ! use octave && ! use cxx && myconf="--disable-ccwrap"
+ econf \
+ $(use_enable cxx old-ccwrap ) \
+ $(use_enable octave) \
+ $(use_enable python pyext) \
+ $(use_enable doc doxygen) \
+ ${myconf}
+}
+
+src_test() {
+ # need to make a bogus link for octave test
+ if use octave; then
+ # remove line that tries to read non-existent help file
+ sed -i -e '/help/d' octave/lhapdf-octave-example1.m \
+ || die 'sed octave example failed'
+ fi
+ ln -s "${DISTDIR}" PDFsets
+ LHAPATH="${PWD}/PDFsets" \
+ LD_LIBRARY_PATH="${PWD}/lib/.libs:${LD_LIBRARY_PATH}" \
+ emake check
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc README TODO AUTHORS ChangeLog
+
+ # leftover
+ rm -rf "${D}"/usr/share/${PN}/doc || die
+ if use doc && use cxx; then
+ # default doc install buggy
+ insinto /usr/share/doc/${PF}
+ doins -r ccwrap/doxy/html
+ fi
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*.{f,cc}
+ fi
+}
+
+pkg_postinst() {
+ elog "To install data files, you have to run as root:"
+ elog "${ROOT}usr/bin/lhapdf-getdata --dest=${ROOT}usr/share/lhapdf/PDFsets --all"
+}
+
+pkg_postrm() {
+ if [ -d "${ROOT}usr/share/lhapdf" ]; then
+ ewarn "The data directory has not been removed, probably because"
+ ewarn "you still have installed data files."
+ fi
+}