summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-06-07 15:36:00 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-06-07 15:36:00 +0000
commite868eabf61b1f687ea97119875fa9488173c29f1 (patch)
treeb610882dbb3fea8fda7ae3985204bf7b33676290 /sci-physics
parentPlace upper-bound on harfbuzz dep, bug 472416. Remove old. (diff)
downloadhistorical-e868eabf61b1f687ea97119875fa9488173c29f1.tar.gz
historical-e868eabf61b1f687ea97119875fa9488173c29f1.tar.bz2
historical-e868eabf61b1f687ea97119875fa9488173c29f1.zip
Version bump
Package-Manager: portage-2.2.01.21938-prefix/cvs/Linux x86_64 Manifest-Sign-Key: 0x13CB1360
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/pythia/ChangeLog8
-rw-r--r--sci-physics/pythia/Manifest14
-rw-r--r--sci-physics/pythia/pythia-6.4.26.ebuild68
-rw-r--r--sci-physics/pythia/pythia-8.1.76.ebuild87
4 files changed, 101 insertions, 76 deletions
diff --git a/sci-physics/pythia/ChangeLog b/sci-physics/pythia/ChangeLog
index 783c526c6088..837c3a9c95ba 100644
--- a/sci-physics/pythia/ChangeLog
+++ b/sci-physics/pythia/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-physics/pythia
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.50 2013/01/17 21:07:11 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.51 2013/06/07 15:35:42 bicatali Exp $
+
+*pythia-8.1.76 (07 Jun 2013)
+
+ 07 Jun 2013; SĂ©bastien Fabbro <bicatali@gentoo.org> +pythia-8.1.76.ebuild,
+ -pythia-6.4.26.ebuild:
+ Version bump
*pythia-6.4.27 (17 Jan 2013)
diff --git a/sci-physics/pythia/Manifest b/sci-physics/pythia/Manifest
index 170f2197a9e8..e890245b91df 100644
--- a/sci-physics/pythia/Manifest
+++ b/sci-physics/pythia/Manifest
@@ -4,22 +4,22 @@ Hash: SHA256
DIST lutp0613man2.pdf 2902047 SHA256 03d637310ea80f0d7aea761492bd38452c602890d8cf913a1ec9edacd79fa43d
DIST pythia-6.4.18-examples.tar.bz2 36366 SHA256 17b1809fb0cffba20115c2bc1032c24d8efece25bd3f1f632f88265ade4dd084
DIST pythia-6.4.24.tar.bz2 568813 SHA256 683e85100ef98bef2a1ef526eb83aadc7fc0ed3a96e92b595a0b6dece779e4df
-DIST pythia-6.4.26.tar.bz2 575296 SHA256 343245e7d376a914f290c10b5bdd2eeebdb990c8f2f8dcece26dd5ee82405488 SHA512 eda5411384574f2c8bf73083fc1511c3858ed03fc861e6820ef6dac96c002f02e7273cdfeaa6192bc86c0c7943f1a0493c77a3522bd62810a16d16c752156da1 WHIRLPOOL 54b0b963a485a66b13ed41c8b0176463c4526bcf62ce5d8b504218f456e894d82aada598a20fd1058b5d7ae1b62ccea08510736c1b0865a842ea6719bdd00009
DIST pythia-6.4.27.tar.bz2 582576 SHA256 76d262b9d47f402131a3744b0532334df269465633f56ce49d55f3d4e8af4236 SHA512 38b6b60581b67a4c16261f409620bf226bad2b2e29e4be04eeae527e127bafce4ac4efa7b039637b6b6dc33f44845d2e6f478c9a3043c7efe1120273d59ec43e WHIRLPOOL ef5b65db4bed4740ef7e0e8d6e094438216554008c3e9af817e9a205a43db7c369ac65c63336229068f90f83a62d7910fa7a91f185f85d102c22d72b8765a72e
DIST pythia6.tar.gz 567451 SHA256 ebc90b8ec94897d8b09030341323d2c7c6e5c7c65077f98b96c8cff00d40a5ce SHA512 baa18023de22c3e90f14d2a5a39efa171905f507a31a90f87c65dca271b3be4c9f0d1a56282f5a04b3efabe0b5b15c964e4569d1f9994a75750e52e0be4360b1 WHIRLPOOL e334779f77e938cde85ecd0fbc2dbf0d86a52fc1ef673c909b8533f779e51d6d6680bc5de3aceeb002015ccfdf03da3f975aaf0cc7a249c462cdd3b206c359a2
DIST pythia8145.tgz 4813223 SHA256 6a8f17e043ce743ff8a6a05cf31b26f18a72f680d3bc2d9bcbaca674110138b5
DIST pythia8170.tgz 5446443 SHA256 58fe7c076c68fa88d45a0a0a27c7561714a7d623dea90f991401d6498665caa5 SHA512 fbe4da5c3837fcb7d7ef78608099c7920f36f8beb74eec76afdf4d2b6a12ba79ec89d069a6166f5131572ed13ec54830cc673dcd8833a6df78feafc99aaaf612 WHIRLPOOL cc8784ceaa70c93f9823e69c4992610471f6ddccdba2ac5337c4abf5dd22548f7dd90c8c7cc0146d6a10368151ebadcd656a074cf5d5ada96dd6434b9417d72e
+DIST pythia8176.tgz 5785048 SHA256 6d4422acc78969c5e0f81b505d740f25f10819162cd50ee24ea2095132c5ca3e SHA512 18a5d4aa9c42288fedb2194541c2927c37b99467d77d873c9458dc430dc8db75706347c2232013362789e4ac0f787043080676d3335becd62fc09cdb725abdfb WHIRLPOOL 04e9c8b8a2dff727127188d55afdac7fb9ff6982d8060ca72c39d37e1877141cb0448ad96d660edda8a92953b3847fe5fe37409b929c010c3a50f6cf8a99bbe0
EBUILD pythia-6.4.24.ebuild 2021 SHA256 aca0a1feb71d864e093977d5bb55d11071f96192ee4216e0872452465b7e3411 SHA512 941767d64783da0812121a529c79029834ed25899cef0fc05bbf043bd3a21973a72b1f8347a1f1ccd93d474d4484607e5a3e36421faa56a44849e356dfd306aa WHIRLPOOL 2de3d7295a82c91188e72721acc0c4980752eb6c830fb9f26751dd9dfa4e973f72b63f455b264d444de79833b75ff22eb15cde4f896ae9e427d25e553db7f770
-EBUILD pythia-6.4.26.ebuild 1967 SHA256 89d8ac291369062cc14e6f7ded1fc9004ef307b69057a3ebeb60db6085a71118 SHA512 bc49c9b57bf5f705dc8a46c5a062a97e8e77457c020c046e9e7a5231f188ef36367626af77f040676ae741f28ed2dae53123387a36c2caffeaa82ab184089eea WHIRLPOOL aa086ebb4c03ea52d68a92a94754e9044712ef89f71a2820fdd8b85a01200ca6ef855cd08ac34deb84674030a7a93d59e4f29b3e6f0b7904ea018b662679c5b3
EBUILD pythia-6.4.27.ebuild 1977 SHA256 702a64469d49076740ec7f301f25ab935531b8e80cc067bf6e023b288b882881 SHA512 c4c62ddb84988b4098fc30cc96c3f3f037ed1dba92fe26cdf453d27c8313c796554eb6cb0a3efc0ba4ae6c6cf00631662ca039a5f2188b1d737d3fc4a102e31a WHIRLPOOL 07e34b99bc508c06b818df3011f531eef652fad09c313a20551c59721ce801a9e2d118d26f7fe368969be7a2b718a3f676909e10cc51a40dcc1adfdc19d71fd8
EBUILD pythia-8.1.45.ebuild 2522 SHA256 b5effbf0e687ec0e7bb5dfe5d89759e99ee897d7477eb92e1282b028087878a4 SHA512 f9d144646ee6c0e478d5f2c6d8fe539d55412112e28e6e919e522a1f62d23278abfd4a5fdc9af6d6abe106ab92cc8726a78a3b56212fa5f4b10cae1c3663d52d WHIRLPOOL 0aa67801924114f0c99e24449215fd2d3e79f61afa79450691660c77b7a04db61213a41e6c09b4b23a5844ee4756d9d229822ed4ab143a67b7f497ef2fa0cf00
EBUILD pythia-8.1.70.ebuild 2085 SHA256 484e4d8ac42f4114e1e7048d0054cd54e988ff8763b5e7c5a7b639be29af13a4 SHA512 aee7296dfabb7275d3b017cf576687ecf5c8908e66acf3c83e3b40b2a53721cae37f31a3ad0a66a0b04437d7bd0fa920858afc9c0d97ec059ddda8529496f074 WHIRLPOOL 187a60672e232cdf881f1f974022bb160a3dd25f0228753ac62c3af0681831bea83b007cd948582b48168ff7a5d9bf1fad046284e0657e251c8db240edd91e65
-MISC ChangeLog 7340 SHA256 42666be420cc0725d04771988196fe18be59f2f900e96071a06fa5f5af644460 SHA512 6076fc763b868a9a14a98f06f1449db08d47d8c5ecca0b0d43e0df8798227eadf78c06d805ecc67e9e4c87ac4183c4991db6ba47422af2f4becb066c9ddd2a78 WHIRLPOOL 18d2e1dd06e15bfcbe83a8bf8c7464fc5ad02044f4536f7e823e05a84bfaf1f0a2081ee0bfc8cea6dfed8ee611cfcb0a2cea0dce7609736a6dff16a4eb27a4fd
+EBUILD pythia-8.1.76.ebuild 2085 SHA256 e4cb3e1447306f0fbe3807f7f522eb05cea6bd5e9a9425debf980ae7beda80c9 SHA512 93e0c4a61d195e6fe572163890fe926e6ad59b4dec1096f01a455dfd0be84f910ed33c52aa274b5143bb470f6ef89a72ec293fa672356f4d86536c2991771990 WHIRLPOOL 712ba85395f49851ce31cf37d8e59c6ea5fb11b9d6ffe4b15a843b859761aa8c01a14cc613453559792b4c092741c6691a6d7a70e355401fdf514de3a8abd1d5
+MISC ChangeLog 7489 SHA256 1cc7bc8fe336a9a098d3369b2e7cb1a82bddba18615fc63c401528eced122efc SHA512 86841b8af22d690babeb7e2986e5d6dfb8dd20c68c1602f3a4f2f16927b2b000a3f57083ea24b3a49c0accf590dc66c4afc5f96eeb3edc5b14e883111824d812 WHIRLPOOL 991617ace52f965845440da614f3b176c689f9197df80f6b622ea43bfe73b9be70185b1b516e5aaab96064f3b62676958a4e5b6a5a4e87650e590614987d00e9
MISC metadata.xml 898 SHA256 9c978aa61ebdc90c575b0f32efc05abde46067e001275c72230bcc39b1629de0 SHA512 d386a1247cd5645849d7677f190cc61f88d28fe8fc8a6747314ff2e8f5e59cf01f27bee19e4c5ad3cc42867e09124dc86544ebf3d666c8a598d8a6fffabeb6bd WHIRLPOOL d8fecfb2599e603364d2d95226cf24e3d423f506a40f1816ddb3475c90028b77a1b8441d2b84fcc350ce3227acf4294c45e756095ea62afb7b709e7b392b61a6
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.20 (GNU/Linux)
-iEYEAREIAAYFAlD4aAMACgkQ1ycZbhPLE2DrFACglJTPCkYKkmGvPi4W220tFkzC
-KqsAoJXoh29dEdJhr8ZPB5+Py3k8Vu53
-=5cF1
+iEYEAREIAAYFAlGx/dUACgkQ1ycZbhPLE2CfTQCfQT48vk23LVDXs/QSPjpjKVB5
+J2YAoIOhNxL96WvncnirTVpFysR0b9dM
+=Wotg
-----END PGP SIGNATURE-----
diff --git a/sci-physics/pythia/pythia-6.4.26.ebuild b/sci-physics/pythia/pythia-6.4.26.ebuild
deleted file mode 100644
index adddca4b13e4..000000000000
--- a/sci-physics/pythia/pythia-6.4.26.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/pythia-6.4.26.ebuild,v 1.4 2012/11/30 22:08:58 bicatali Exp $
-
-EAPI=4
-
-inherit autotools fortran-2 versionator
-
-MV=$(get_major_version)
-MY_PN=${PN}${MV}
-DOC_PV=0613
-EX_PV=6.4.18
-
-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.bz2
-SRC_URI="
- http://dev.gentoo.org/~bicatali/${P}.tar.bz2
- ftp://root.cern.ch/root/pythia6.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
-}
diff --git a/sci-physics/pythia/pythia-8.1.76.ebuild b/sci-physics/pythia/pythia-8.1.76.ebuild
new file mode 100644
index 000000000000..00ae6f2c4d79
--- /dev/null
+++ b/sci-physics/pythia/pythia-8.1.76.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/pythia-8.1.76.ebuild,v 1.1 2013/06/07 15:35:42 bicatali Exp $
+
+EAPI=5
+
+inherit eutils fortran-2 versionator
+
+MV=$(get_major_version)
+MY_P=${PN}$(replace_all_version_separators "" ${PV})
+
+DESCRIPTION="Lund Monte Carlo high-energy physics event generator"
+HOMEPAGE="http://pythia8.hepforge.org/"
+SRC_URI="http://home.thep.lu.se/~torbjorn/${PN}${MV}/${MY_P}.tgz"
+
+SLOT="8"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples +hepmc static-libs"
+
+DEPEND="hepmc? ( sci-physics/hepmc )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ use hepmc && export HEPMCVERSION=2 HEPMCLOCATION="${EPREFIX}/usr"
+ # homemade configure script creates a useless config.mk
+ rm -f config.mk
+ cat > config.mk <<-EOF
+ SHAREDLIBS = yes
+ LDFLAGSSHARED = -shared ${LDFLAGS}
+ LDFLAGLIBNAME = -Wl,-soname
+ SHAREDSUFFIX = so
+ EOF
+ if ! use static-libs; then
+ sed -i \
+ -e '/targets.*\.a/d' \
+ -e 's/+=\(.*libpythia8\)/=\1/' \
+ Makefile || die
+ sed -i \
+ -e 's:\.a:\.so:g' \
+ -e 's:$(LIBDIRARCH):$(LIBDIR):g' \
+ examples/Makefile || die
+ fi
+}
+
+src_test() {
+ cd examples
+ # use emake for parallel instead of long runmains
+ emake main0{1..9}
+ for i in main0{1..9}*.exe; do
+ LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}" \
+ ./${i} > ${i}.out || die "test ${i} failed"
+ done
+ if use hepmc; then
+ emake main31
+ LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}" \
+ ./main31.exe > main31.exe.out || die
+ fi
+ emake clean && rm -f main*out
+}
+
+src_install() {
+ dolib.so lib/*so
+ use static-libs && dolib.a lib/archive/*
+
+ insinto /usr/include/${PN}
+ doins include/*
+
+ # xmldoc needed by root
+ insinto /usr/share/${PN}
+ doins -r xmldoc
+
+ echo "PYTHIA8DATA=${EROOT}usr/share/${PN}/xmldoc" >> 99pythia8
+ doenvd 99pythia8
+
+ dodoc GUIDELINES AUTHORS README
+ if use doc; then
+ dodoc worksheet.pdf
+ dohtml -r htmldoc/*
+ fi
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}