Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-physics/pythia: pythia-6.4.21.ebuild ChangeLog pythia-6.4.18.ebuild pythia-8.1.20.ebuild
Date: Wed, 09 Sep 2009 21:57:17
Message-Id: E1MlVAB-0000K8-Ki@stork.gentoo.org
1 bicatali 09/09/09 21:57:15
2
3 Modified: ChangeLog
4 Added: pythia-6.4.21.ebuild
5 Removed: pythia-6.4.18.ebuild pythia-8.1.20.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.2_rc40/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.13 sci-physics/pythia/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/pythia/ChangeLog?rev=1.13&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/pythia/ChangeLog?rev=1.13&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/pythia/ChangeLog?r1=1.12&r2=1.13
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v
20 retrieving revision 1.12
21 retrieving revision 1.13
22 diff -u -r1.12 -r1.13
23 --- ChangeLog 24 Jun 2009 04:13:58 -0000 1.12
24 +++ ChangeLog 9 Sep 2009 21:57:15 -0000 1.13
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-physics/pythia
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.12 2009/06/24 04:13:58 bicatali Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.13 2009/09/09 21:57:15 bicatali Exp $
30 +
31 +*pythia-6.4.21 (09 Sep 2009)
32 +
33 + 09 Sep 2009; Sébastien Fabbro <bicatali@g.o>
34 + -pythia-6.4.18.ebuild, +pythia-6.4.21.ebuild, -pythia-8.1.20.ebuild:
35 + Version bump
36
37 *pythia-8.1.25 (24 Jun 2009)
38
39
40
41
42 1.1 sci-physics/pythia/pythia-6.4.21.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/pythia/pythia-6.4.21.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/pythia/pythia-6.4.21.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pythia-6.4.21.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/pythia-6.4.21.ebuild,v 1.1 2009/09/09 21:57:15 bicatali Exp $
52
53 EAPI=2
54 inherit fortran versionator autotools
55
56 MV=$(get_major_version)
57 MY_PN=${PN}${MV}
58 DOC_PV=0613
59 EX_PV=6.4.18
60
61 DESCRIPTION="Lund Monte Carlo high-energy physics event generator"
62 HOMEPAGE="http://projects.hepforge.org/pythia6/"
63
64 # pythia6 from root is needed for some files to interface pythia6 with root.
65 # To produce a split version on mirror do:
66 # svn export http://svn.hepforge.org/pythia6/tags/v_6_4_19/ pythia-6.4.19
67 # tar cjf pythia-6.4.19.tar.bz2
68 SRC_URI="mirror://gentoo/${P}.tar.bz2
69 ftp://root.cern.ch/root/pythia6.tar.gz
70 doc? ( http://home.thep.lu.se/~torbjorn/pythia/lutp${DOC_PV}man2.pdf )
71 examples? ( mirror://gentoo/${PN}-${EX_PV}-examples.tar.bz2 )"
72
73 LICENSE="public-domain"
74 SLOT="6"
75 KEYWORDS="~amd64 ~hppa ~sparc ~x86"
76 IUSE="doc examples"
77 DEPEND=""
78 RDEPEND="${DEPEND}"
79
80 src_prepare() {
81 cp ../pythia6/tpythia6_called_from_cc.F .
82 cp ../pythia6/pythia6_common_address.c .
83 cat > configure.ac <<-EOF
84 AC_INIT(${PN},${PV})
85 AM_INIT_AUTOMAKE
86 AC_PROG_F77
87 AC_PROG_LIBTOOL
88 AC_CHECK_LIB(m,sqrt)
89 AC_CONFIG_FILES(Makefile)
90 AC_OUTPUT
91 EOF
92 echo >> Makefile.am "lib_LTLIBRARIES = libpythia6.la"
93 echo >> Makefile.am "libpythia6_la_SOURCES = \ "
94 # replace wildcard from makefile to ls in shell
95 for f in py*.f struct*.f up*.f fh*.f; do
96 echo >> Makefile.am " ${f} \\"
97 done
98 echo >> Makefile.am " ssmssm.f sugra.f visaje.f pdfset.f \\"
99 echo >> Makefile.am " tpythia6_called_from_cc.F pythia6_common_address.c"
100 eautoreconf
101 }
102
103 src_install() {
104 emake DESTDIR="${D}" install || die "emake install failed"
105 dodoc update_notes.txt README
106 insinto /usr/share/doc/${PF}/
107 if use doc; then
108 doins "${DISTDIR}"/lutp${DOC_PV}man2.pdf || die
109 fi
110 if use examples; then
111 doins -r "${WORKDIR}"/examples || die
112 fi
113 }