diff options
author | Andrew Savchenko <bircoph@gentoo.org> | 2016-04-14 03:28:33 +0300 |
---|---|---|
committer | Andrew Savchenko <bircoph@gentoo.org> | 2016-04-14 03:29:02 +0300 |
commit | 87d0cb1b5fefef7744476c7e774a2ac4f47c8807 (patch) | |
tree | 8499e18002a9f0400493338d13869068bbaa3970 /sci-physics/pythia | |
parent | sys-kernel/gentoo-sources: Linux patch 3.12.58 (diff) | |
download | gentoo-87d0cb1b5fefef7744476c7e774a2ac4f47c8807.tar.gz gentoo-87d0cb1b5fefef7744476c7e774a2ac4f47c8807.tar.bz2 gentoo-87d0cb1b5fefef7744476c7e774a2ac4f47c8807.zip |
sci-physics/pythia: revision bump due to upstream tarball change
See bug 579738.
Package-Manager: portage-2.2.28
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'sci-physics/pythia')
-rw-r--r-- | sci-physics/pythia/Manifest | 1 | ||||
-rw-r--r-- | sci-physics/pythia/pythia-6.4.28-r1.ebuild | 69 |
2 files changed, 70 insertions, 0 deletions
diff --git a/sci-physics/pythia/Manifest b/sci-physics/pythia/Manifest index 32765731149b..b3c074b8e0eb 100644 --- a/sci-physics/pythia/Manifest +++ b/sci-physics/pythia/Manifest @@ -8,6 +8,7 @@ DIST cteq6l1.tar.gz 317834 SHA256 57c9c99d7b83c8ed1ca70480a0ec7bf2183bfa1bd9276a DIST lutp0613man2.pdf 2902047 SHA256 03d637310ea80f0d7aea761492bd38452c602890d8cf913a1ec9edacd79fa43d SHA512 a8439b3b150b6f3924d4d3671a4fad6a815c374b1f46060072ca6c1faa797a2f73f8727920aaa7ae885c4f6f135c8d8f94d43e518cfe25271bb95652112def58 WHIRLPOOL dd74046a145264653efdc1f96c330a0aa1e71b72578f32b114d9041c6a50e6e03aa5b3e028ab737afa01d9f3fc9928fa3589238ff4c232e90c8362201792ef99 DIST pythia-6.4.18-examples.tar.bz2 36366 SHA256 17b1809fb0cffba20115c2bc1032c24d8efece25bd3f1f632f88265ade4dd084 SHA512 ba921379a6df4ca417b60ea5b78af506f13135cdf896fa6beeca9713428ad6f298c94c0fe65fca3e583f8f268dcf84ebe4f1f81b46fd865d5f641f7c1e9fa7e1 WHIRLPOOL 5b53f523d0819400da791d471c207c4d0d6cfd43cbb9423900b593015aa4db68632d97615ffd213493ff0b0306ce7b8c4851e58672e1188df1a61352e1af0d17 DIST pythia-6.4.28.tar.xz 490248 SHA256 6ca6acc172314cf7b56e2a8e18321d28ce57a511e34210a6c64ebbfd5e06d5f4 SHA512 f9db72658f2132ce08d31c8a9f7fe727466b184ef41cc4b762fe2bde48dbdfd7b5df19b21a869e20a1f107c96e9daec115c980e11592968eb2cad666b7c96bdc WHIRLPOOL d6ab42af092348b1ae5c5078c34ef17042b46f728d6c4068cd0930999ccbfefae9b55be05499188525c9fc6499c8cb8c490fe6a37f04bf9b45048f7cf8026cdb +DIST pythia6-20160413.tar.gz 567976 SHA256 d613dcb27c905710e2f13a934913cc5545e3e5d0e477e580107385d9ef260056 SHA512 2a9ea2ae299e8d49bd9750f8c68f0b7f534fb91254c2eebc60ef40828400bdf5e5c4e0956d61807e773a51db873ab4a036c3ac264f904d0bb2b85f4860e538d3 WHIRLPOOL ab69aeb8d3591b3b0adcc22ed249047bac99f05daf74801c6d26d04df1ad6807cb4ce66ce8acf54476ea20eb9cdac2b719fc6d9280d546fe4be1d09f55840d01 DIST pythia6.tar.gz 567451 SHA256 ebc90b8ec94897d8b09030341323d2c7c6e5c7c65077f98b96c8cff00d40a5ce SHA512 baa18023de22c3e90f14d2a5a39efa171905f507a31a90f87c65dca271b3be4c9f0d1a56282f5a04b3efabe0b5b15c964e4569d1f9994a75750e52e0be4360b1 WHIRLPOOL e334779f77e938cde85ecd0fbc2dbf0d86a52fc1ef673c909b8533f779e51d6d6680bc5de3aceeb002015ccfdf03da3f975aaf0cc7a249c462cdd3b206c359a2 DIST pythia8186.tgz 8921248 SHA256 1c0914fc04801ee922c1ad3b544a3cd48b34d9afa4407ae40afbacd009039bd2 SHA512 84729004abbdf522183c27918ae35db037a8954af761a2b452dcff54f82076b1e3bfc7fe9ea0a7cb2c0b6499aedb1c25cc13768d47b24edaa08d631b55d0b86b WHIRLPOOL ecef83d2cb018b1aac55225850cf2a3a8f2b87d08f99bd9c5881f4fa341f012eeabed3b9a43ffda3699daebc54c181d08aac30c1f6b514e98516c29e88a6fbaf DIST pythia8210.tgz 14301345 SHA256 a2564c6011235a286115ba9da065f50c1233229b2f1a824583565dfeec0baa35 SHA512 fe2d02e32fd5d25bcdcc216754b91ca509a189c58f1a06ca8deba975af552586632fc8cf8ad3e62920884ee64c4af596fbe7c6872f5ddbd1f5a0cea4ba4bc90d WHIRLPOOL d2d3f212ed2ad700fa6ae44b2b670cce1623e80382af04072bee884a72ea269346c10728cc77cfa4c9377e8cd775febe9488427cb0b890e52c651efebd66f60c diff --git a/sci-physics/pythia/pythia-6.4.28-r1.ebuild b/sci-physics/pythia/pythia-6.4.28-r1.ebuild new file mode 100644 index 000000000000..197dd1507d2d --- /dev/null +++ b/sci-physics/pythia/pythia-6.4.28-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools fortran-2 versionator + +MV=$(get_major_version) +MY_PN=${PN}${MV} +DOC_PV=0613 +EX_PV=6.4.18 +PYR_P=pythia6-20160413 + +DESCRIPTION="Lund Monte Carlo high-energy physics event generator" +HOMEPAGE="http://pythia6.hepforge.org/" + +# pythia6 from root is needed for some files to interface pythia6 with root. +# To produce a split version, replace the 6.4.x by the current version: +# svn export http://svn.hepforge.org/pythia6/tags/v_6_4_x/ pythia-6.4.x +# tar cJf pythia-6.4.x.tar.xz +SRC_URI=" + https://dev.gentoo.org/~bicatali/distfiles/${P}.tar.xz + https://root.cern.ch/download/pythia6.tar.gz -> ${PYR_P}.tar.gz + doc? ( http://home.thep.lu.se/~torbjorn/pythia/lutp${DOC_PV}man2.pdf ) + examples? ( mirror://gentoo/${PN}-${EX_PV}-examples.tar.bz2 )" + +SLOT="6" +LICENSE="public-domain" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples static-libs" + +src_prepare() { + cp ../pythia6/tpythia6_called_from_cc.F . + cp ../pythia6/pythia6_common_address.c . + cat > configure.ac <<-EOF + AC_INIT(${PN},${PV}) + AM_INIT_AUTOMAKE + AC_PROG_F77 + LT_INIT + AC_CHECK_LIB(m,sqrt) + AC_CONFIG_FILES(Makefile) + AC_OUTPUT + EOF + echo >> Makefile.am "lib_LTLIBRARIES = libpythia6.la" + echo >> Makefile.am "libpythia6_la_SOURCES = \ " + # replace wildcard from makefile to ls in shell + local f + for f in py*.f struct*.f up*.f fh*.f; do + echo >> Makefile.am " ${f} \\" + done + echo >> Makefile.am " ssmssm.f sugra.f visaje.f pdfset.f \\" + echo >> Makefile.am " tpythia6_called_from_cc.F pythia6_common_address.c" + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + dodoc update_notes.txt + use doc && dodoc "${DISTDIR}"/lutp${DOC_PV}man2.pdf + if use examples; then + insinto /usr/share/doc/${PF} + doins -r "${WORKDIR}"/examples + fi +} |