summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-11-20 08:25:12 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-11-20 08:25:12 +0000
commitbd7879f161d8096ed01820b3ab8cb2e830a341d6 (patch)
tree9812eeab00f0346857b10a520271253e30cd476c /sci-physics
parentVersion bump (diff)
downloadhistorical-bd7879f161d8096ed01820b3ab8cb2e830a341d6.tar.gz
historical-bd7879f161d8096ed01820b3ab8cb2e830a341d6.tar.bz2
historical-bd7879f161d8096ed01820b3ab8cb2e830a341d6.zip
Version bumps
Package-Manager: portage-2.1.9.24/cvs/Linux x86_64
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/pythia/ChangeLog9
-rw-r--r--sci-physics/pythia/Manifest12
-rw-r--r--sci-physics/pythia/pythia-6.4.24.ebuild69
-rw-r--r--sci-physics/pythia/pythia-8.1.45.ebuild90
4 files changed, 175 insertions, 5 deletions
diff --git a/sci-physics/pythia/ChangeLog b/sci-physics/pythia/ChangeLog
index 1464c85be8c5..5d2c133d9705 100644
--- a/sci-physics/pythia/ChangeLog
+++ b/sci-physics/pythia/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-physics/pythia
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.31 2010/08/26 16:28:30 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.32 2010/11/20 08:25:12 bicatali Exp $
+
+*pythia-8.1.45 (20 Nov 2010)
+*pythia-6.4.24 (20 Nov 2010)
+
+ 20 Nov 2010; SĂ©bastien Fabbro <bicatali@gentoo.org> +pythia-6.4.24.ebuild,
+ +pythia-8.1.45.ebuild:
+ Version bumps
*pythia-8.1.42 (26 Aug 2010)
diff --git a/sci-physics/pythia/Manifest b/sci-physics/pythia/Manifest
index 94e293694ce6..6f1e6797b183 100644
--- a/sci-physics/pythia/Manifest
+++ b/sci-physics/pythia/Manifest
@@ -5,21 +5,25 @@ DIST lutp0613man2.pdf 2902047 RMD160 a45a1fcd47db9dc4ec3448018038b441174bc55d SH
DIST pythia-6.4.18-examples.tar.bz2 36366 RMD160 92142cd1edd6344a59466168c95b5880fd3af00e SHA1 55f4dbae8edca3523ad0bd230dabd51167baf222 SHA256 17b1809fb0cffba20115c2bc1032c24d8efece25bd3f1f632f88265ade4dd084
DIST pythia-6.4.22.tar.bz2 553375 RMD160 7b906cb3553202ea60a4a2f699547fe4ab1b84d7 SHA1 02192eea6bb6bd5c11412efa96bbb4aff6da0cb0 SHA256 50f02383147f11a48772d27a963d4a776a3c82ff344bfe852228988ca4129776
DIST pythia-6.4.23.tar.bz2 561440 RMD160 6482df3fa85dd1b1b7ab67590853a9f4cffb1bfa SHA1 f46d92c96c50f9f2b6e9c43069417baa771640da SHA256 7d81ff42753f6ca6e60def7ed36df181b0bd4355c6bf50c5e5ebfbde071c6ed1
+DIST pythia-6.4.24.tar.bz2 568813 RMD160 80bb463adc755f0cc7508539aa8436cb652cfccd SHA1 0bc1e3f071e3f13165adcef68c6591f378d656e4 SHA256 683e85100ef98bef2a1ef526eb83aadc7fc0ed3a96e92b595a0b6dece779e4df
DIST pythia6.tar.gz 567451 RMD160 a6bd12a24f85436e64c51482c71469335c20372b SHA1 f2401d493bb4d5e059a1c4c48517c1679d74a437 SHA256 ebc90b8ec94897d8b09030341323d2c7c6e5c7c65077f98b96c8cff00d40a5ce
DIST pythia8108.tgz 1694925 RMD160 b8cb8c9002984cd103f28bef9d5b58dbc705d40b SHA1 7c120f339ae23983cf3b1f5f6f294c22ff96ae29 SHA256 1314f7b27b8569b1dca38eea8389c54ae1b718616fd2750d83f32984a1159715
DIST pythia8135.tgz 5091260 RMD160 eecbd48ab03477de92b532bbf9a2c928255810a3 SHA1 40e56df0f7479d47753d20f0821f344065edbf4e SHA256 ad988d40d5df6d6436fe87c1f0939805dd0fe6129d762882ab05c728989bf4a0
DIST pythia8142.tgz 4803047 RMD160 0b8262929b525f60d5a9f7da6ba20d19ceffde97 SHA1 5d947ee0907769908949c6733a2774bd099b3f85 SHA256 0e4efa3bdae462ac678aa29a166f5b9891dbc85c131673d4a7b7df2ce31c1897
+DIST pythia8145.tgz 4813223 RMD160 190c62e291560a9fab3b59f4d9775dfc1087808a SHA1 9835435356c24596a1b2d94d3a76aaa2738e908a SHA256 6a8f17e043ce743ff8a6a05cf31b26f18a72f680d3bc2d9bcbaca674110138b5
EBUILD pythia-6.4.22.ebuild 1987 RMD160 decbc2346eae4233a1253e68cc1f58426ac04846 SHA1 225372ca1a0b74922441436eaa494261e9c7b1ef SHA256 555a86ae4312096f053ea664ee3abc0db7b88bbc5339bce3e1dabf9b8a9aa110
EBUILD pythia-6.4.23.ebuild 1988 RMD160 5fa265ff9ac2176bc8e48f08994693e89eacae81 SHA1 af6adf0d09def09f29ec8daede5abcce75e0c443 SHA256 183eb7b76ba3cd1c4229819452cc1e5840bbdf26013fe6bbfebfc67f3c36e663
+EBUILD pythia-6.4.24.ebuild 2061 RMD160 ea26e177ee161c0e0bf0a94519d090796369ac56 SHA1 fe626fb96797168f8f0c7b11ab3bea2c36dd3357 SHA256 b553f5cfa1eb7c7236d3569fc37629a02f5a530f475ba514147df793f19e8261
EBUILD pythia-8.1.08-r1.ebuild 1874 RMD160 1ea02989a798465826cf671568510c1fd2ce844e SHA1 c66f70fbf634017c06cae9fda445d821159a6bc3 SHA256 921f687013d7c01917c7d76bd1d099319823726438256658a27d153a53989c52
EBUILD pythia-8.1.35.ebuild 2117 RMD160 0a97aa1e82354eb401b498f84eb191936380f6fa SHA1 8fde5139cf0f866f4d575654e9cc3e5858b5e62a SHA256 9126d404fce9a4cac68e35cba84927ee823f052802164cafe9ec955a8c964763
EBUILD pythia-8.1.42.ebuild 2122 RMD160 f98fe5f3de7aadc5ac774fe2c5845f0b6a6d54ef SHA1 ece03ae48c4ab87ccaf9e68328a892134d524d2b SHA256 0f3b77595dd4a744cb7866180727dc3bab8159e879e1d572b4fc3c76291b32fa
-MISC ChangeLog 4295 RMD160 980d4b49e5623a628d46ddcf80c0f9454b016fd1 SHA1 96e7849f665f5c5716a4ce03eb5611f9fd9ff1d2 SHA256 4c0a503544d1e0ab94602a85afa5a513be0194b5dc376f179bd67cb275f75c52
+EBUILD pythia-8.1.45.ebuild 2389 RMD160 6385ac8cd2c8b840b7a14521c5e09298050f1e1c SHA1 6c3e0d774f62da0a623aacabfaf68bf6d473df82 SHA256 3db8d8689d6f09d0ef6bff967b297790ddd3fdfa255fea387bb424fbfd4a166b
+MISC ChangeLog 4474 RMD160 ab636f16c77df219402be5ae5711a7a020cf9d53 SHA1 1d1dc54ce026c8ce9650983da15e39e751aa31de SHA256 2f505ec66c2da655ceb8d033cb6e75a06aacfeb2982bf954d0fccf504e1ecabd
MISC metadata.xml 894 RMD160 f5a14a2a8897a78169e1337bdf95aa52c3fbb4b0 SHA1 ae2432ca7098c360862a470193edd692fa24794b SHA256 bf610680f4c8ba31c905668ff4b4108d7eb3cf40fd72d7fadd45e6a51e4d8aba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAkx2oYMACgkQ1ycZbhPLE2DvOACbBAmv4RZEG7K7yuARSvbC3cvd
-BhQAnRjI4SN5iZ4Bdm7Kcami0nBOf6mC
-=mLbe
+iEYEARECAAYFAkznhfEACgkQ1ycZbhPLE2C27wCgsM2C7e5p8ZNqYA7DLQxI3gi5
+oL4An3kqbNK5llnxeydkADTyOsCTfu3j
+=qNTy
-----END PGP SIGNATURE-----
diff --git a/sci-physics/pythia/pythia-6.4.24.ebuild b/sci-physics/pythia/pythia-6.4.24.ebuild
new file mode 100644
index 000000000000..7716c5227b3d
--- /dev/null
+++ b/sci-physics/pythia/pythia-6.4.24.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/pythia-6.4.24.ebuild,v 1.1 2010/11/20 08:25:12 bicatali Exp $
+
+EAPI=2
+inherit versionator autotools
+
+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://projects.hepforge.org/pythia6/"
+
+# pythia6 from root is needed for some files to interface pythia6 with root.
+# To produce a split version on mirror do, 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="mirror://gentoo/${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 )"
+
+LICENSE="public-domain"
+SLOT="6"
+KEYWORDS="~amd64 ~hppa ~sparc ~x86"
+IUSE="doc examples static-libs"
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+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
+ AC_PROG_LIBTOOL
+ 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
+ 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() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc update_notes.txt README
+ insinto /usr/share/doc/${PF}/
+ if use doc; then
+ doins "${DISTDIR}"/lutp${DOC_PV}man2.pdf || die
+ fi
+ if use examples; then
+ doins -r "${WORKDIR}"/examples || die
+ fi
+}
diff --git a/sci-physics/pythia/pythia-8.1.45.ebuild b/sci-physics/pythia/pythia-8.1.45.ebuild
new file mode 100644
index 000000000000..df37efcf3c07
--- /dev/null
+++ b/sci-physics/pythia/pythia-8.1.45.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/pythia-8.1.45.ebuild,v 1.1 2010/11/20 08:25:12 bicatali Exp $
+
+EAPI=2
+
+inherit eutils versionator
+
+MV=$(get_major_version)
+MY_P=${PN}$(replace_all_version_separators "" ${PV})
+
+DESCRIPTION="Lund Monte Carlo high-energy physics event generator"
+HOMEPAGE="http://home.thep.lu.se/~torbjorn/Pythia.html"
+SRC_URI="http://home.thep.lu.se/~torbjorn/${PN}${MV}/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="8"
+KEYWORDS="~amd64 ~hppa ~sparc ~x86"
+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=/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 "${S}"/examples
+ # use emake for parallel instead of long runmains
+ emake \
+ $(ls main0{1..9}*.cc | sed -e 's/.cc//') \
+ || die "emake tests failed"
+ for i in main0{1..9}*.exe; do
+ ./${i} > ${i}.out || die "test ${i} failed"
+ done
+ if use hepmc; then
+ emake main31 main32 || die "emake tests for hepmc failed"
+ ./main31.exe > main31.exe.out || die
+ ./main32.exe main32.cmnd hepmcout32.dat > main32.exe.out || die
+ fi
+ emake clean && rm -f main*out
+}
+
+src_install() {
+ dolib.so lib/*so || die "shared lib install failed"
+ if use static-libs; then
+ dolib.a lib/archive/* || die "static lib install failed"
+ fi
+
+ insinto /usr/include/${PN}
+ doins include/* || die "headers install failed"
+
+ # xmldoc needed by root
+ insinto /usr/share/${PN}
+ doins -r xmldoc || die "xmldoc install failed"
+ echo PYTHIA8DATA=/usr/share/${PN}/xmldoc >> 99pythia8
+ doenvd 99pythia8
+
+ insinto /usr/share/doc/${PF}
+ dodoc GUIDELINES AUTHORS README
+ if use doc; then
+ doins worksheet.pdf || die "doc install failed"
+ mv htmldoc html
+ doins -r html || die "html doc install failed"
+ fi
+ if use examples; then
+ doins -r examples || die "examples install failed"
+ fi
+}