diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2011-11-25 21:50:37 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2011-11-25 21:50:37 +0000 |
commit | 0128dafb71cfbd49c2649fb8e382a286073da147 (patch) | |
tree | 641328d67355c603ac1e6879df5ab79af6b4278d /sci-physics | |
parent | Removed old (diff) | |
download | historical-0128dafb71cfbd49c2649fb8e382a286073da147.tar.gz historical-0128dafb71cfbd49c2649fb8e382a286073da147.tar.bz2 historical-0128dafb71cfbd49c2649fb8e382a286073da147.zip |
Version bumps
Package-Manager: portage-2.1.10.37/cvs/Linux x86_64
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/pythia/ChangeLog | 9 | ||||
-rw-r--r-- | sci-physics/pythia/Manifest | 14 | ||||
-rw-r--r-- | sci-physics/pythia/pythia-6.4.26.ebuild | 70 | ||||
-rw-r--r-- | sci-physics/pythia/pythia-8.1.57.ebuild | 90 |
4 files changed, 177 insertions, 6 deletions
diff --git a/sci-physics/pythia/ChangeLog b/sci-physics/pythia/ChangeLog index 809f5eabd7b5..2cf3e569eba8 100644 --- a/sci-physics/pythia/ChangeLog +++ b/sci-physics/pythia/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-physics/pythia # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.42 2011/06/21 14:32:06 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.43 2011/11/25 21:50:37 bicatali Exp $ + +*pythia-8.1.57 (25 Nov 2011) +*pythia-6.4.26 (25 Nov 2011) + + 25 Nov 2011; SĂ©bastien Fabbro <bicatali@gentoo.org> +pythia-6.4.26.ebuild, + +pythia-8.1.57.ebuild: + Version bumps 21 Jun 2011; Justin Lecher <jlec@gentoo.org> pythia-8.1.45.ebuild, pythia-8.1.50.ebuild: diff --git a/sci-physics/pythia/Manifest b/sci-physics/pythia/Manifest index eeab97726bfe..6309ea064f88 100644 --- a/sci-physics/pythia/Manifest +++ b/sci-physics/pythia/Manifest @@ -5,19 +5,23 @@ 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.24.tar.bz2 568813 RMD160 80bb463adc755f0cc7508539aa8436cb652cfccd SHA1 0bc1e3f071e3f13165adcef68c6591f378d656e4 SHA256 683e85100ef98bef2a1ef526eb83aadc7fc0ed3a96e92b595a0b6dece779e4df DIST pythia-6.4.25.tar.bz2 574502 RMD160 eb317ec7e64f55080f0aa3a3acfd1d7b03b29fc3 SHA1 8baaf201be016f3fdfd6b84c226f4ad939c383ca SHA256 8da1e5b8ef9190195a81e5b87aae2fea1b359f9b1c85a97a2e473d230856ea9c +DIST pythia-6.4.26.tar.bz2 575296 RMD160 34a3f52f09bd1c304f048803d70bcfc05001c31d SHA1 326fd718e1de929da508659fba7d697ef6255861 SHA256 343245e7d376a914f290c10b5bdd2eeebdb990c8f2f8dcece26dd5ee82405488 DIST pythia6.tar.gz 567451 RMD160 a6bd12a24f85436e64c51482c71469335c20372b SHA1 f2401d493bb4d5e059a1c4c48517c1679d74a437 SHA256 ebc90b8ec94897d8b09030341323d2c7c6e5c7c65077f98b96c8cff00d40a5ce DIST pythia8145.tgz 4813223 RMD160 190c62e291560a9fab3b59f4d9775dfc1087808a SHA1 9835435356c24596a1b2d94d3a76aaa2738e908a SHA256 6a8f17e043ce743ff8a6a05cf31b26f18a72f680d3bc2d9bcbaca674110138b5 DIST pythia8150.tgz 5174717 RMD160 76095a722ba0072db06ab1994cb587d234cd904c SHA1 d7dc5ee5f225b9d1d6ba6341d406a3ab1db0ed24 SHA256 8bfed208556ef3c7b7fd3c32c8d402ac032d94d65e70254ba0ed96b6cc40ee4f +DIST pythia8157.tgz 5481558 RMD160 9e172f27e4e4429d4eb26b0e376b011596a0944e SHA1 8af61f8d200161988cfa0509a0d6056f0873c49c SHA256 b2dc82bd3cd5888490ebe8d1257ea170c07feb2a5fa3cd705c47c9c4ab82b7a5 EBUILD pythia-6.4.24.ebuild 2069 RMD160 9f07748b6ccd56def7c7bb667de5a693133dd1c1 SHA1 0644debcb33e33853f621ef0fcb43fd511c2016e SHA256 81f4c5b55427ea840e6b2183dff826aecfe547466efc4dabc73fac8656451bbf EBUILD pythia-6.4.25.ebuild 2003 RMD160 5f9a87f08b4dedfb5e1fbe57c4e76fa2df70b9ff SHA1 93b0280129cfaadb2781c4c8b2b3e792c5376c98 SHA256 89aeaf8fb37303c1c3aa0ff8e6d638824eefae336ca63de48977f464eac698ce +EBUILD pythia-6.4.26.ebuild 1996 RMD160 06bccef2b9a6294fc74bfbc3de0d957962277d45 SHA1 d8ac95a87cf64690a9e4d35e7aedd8b891057a51 SHA256 7f237193da443d1a4423779f6754af25b087060c6546582a23ec348431d82392 EBUILD pythia-8.1.45.ebuild 2541 RMD160 479ae818967e4ad340dca5f68fab743a08576fd8 SHA1 16d19289caf68e899ae24b0d22a60a346ce586a8 SHA256 74b9b47e6d50cdabef0a6378f2606c02f130281e0e2c4dc0a3973bd31f253d83 EBUILD pythia-8.1.50.ebuild 2244 RMD160 b94bd56ab9451561b0c82ccbce22c4149ee5319e SHA1 9fbb5818054c1b5622d183e120fe41667a2aa6bb SHA256 715bc20cbfbdee334bde9aa5fc6801fe55fb5468b846b5511b55ff5f85210594 -MISC ChangeLog 5944 RMD160 b211ae635291e1ef067bb5d3da28573926ef0e5b SHA1 ed11ef93569c4e2782af6894575e9f2bf08885f1 SHA256 76c8b4240c4ac273d5f6fd15dda3f0c46684041b3f1b62388927d791311b02a8 +EBUILD pythia-8.1.57.ebuild 2248 RMD160 531423f0669538da6c503c9769a3ea015e18da89 SHA1 3a3ee050d4cb9faf8e8a263144f9c7a499d3f177 SHA256 d1a4e493e7428148d32870d445a1fac89060fcdb827852934cfa2f647cb4ec37 +MISC ChangeLog 6127 RMD160 f0854004a53ee086654d15dfd11fa307e0a94b37 SHA1 abc57a86aedae8d4cfedc8a0a200b78639533a9b SHA256 0b2e1fd3bb5b3a0dc01db666b8c71c90e6bc1bc492a7ca5827a894b645ddd775 MISC metadata.xml 894 RMD160 f5a14a2a8897a78169e1337bdf95aa52c3fbb4b0 SHA1 ae2432ca7098c360862a470193edd692fa24794b SHA256 bf610680f4c8ba31c905668ff4b4108d7eb3cf40fd72d7fadd45e6a51e4d8aba -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk4ArToACgkQgAnW8HDreRZUEACgo8KEs824rwpiK/iU76nOiv5I -Kz8An2XHR4ouTDhNJsvBt+tkfiRTAtc8 -=f/C+ +iEYEARECAAYFAk7QDbcACgkQ1ycZbhPLE2BkuwCfRHqPLvD4GnfEjELb9wLeq8cm +jmwAn02hob08rCbS+C7MH8BYP28my/dS +=zN5M -----END PGP SIGNATURE----- diff --git a/sci-physics/pythia/pythia-6.4.26.ebuild b/sci-physics/pythia/pythia-6.4.26.ebuild new file mode 100644 index 000000000000..dc9566dfbb76 --- /dev/null +++ b/sci-physics/pythia/pythia-6.4.26.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2011 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.1 2011/11/25 21:50:37 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://projects.hepforge.org/pythia6/" + +# 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" +IUSE="doc examples static-libs" + +DEPEND="virtual/fortran" +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 + 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.57.ebuild b/sci-physics/pythia/pythia-8.1.57.ebuild new file mode 100644 index 000000000000..334cfa108789 --- /dev/null +++ b/sci-physics/pythia/pythia-8.1.57.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/pythia-8.1.57.ebuild,v 1.1 2011/11/25 21:50:37 bicatali Exp $ + +EAPI=4 + +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" + +SLOT="8" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples +hepmc static-libs" + +DEPEND="hepmc? ( sci-physics/hepmc )" +RDEPEND=" + virtual/fortran +${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 "${S}"/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 main32 + LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}" \ + ./main31.exe > main31.exe.out || die + LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}" \ + ./main32.exe main32.cmnd hepmcout32.dat > main32.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 || die "examples install failed" + fi +} |