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.28.ebuild ChangeLog
Date: Tue, 29 Oct 2013 19:52:31
Message-Id: 20131029195225.89F2320047@flycatcher.gentoo.org
1 bicatali 13/10/29 19:52:25
2
3 Modified: ChangeLog
4 Added: pythia-6.4.28.ebuild
5 Log:
6 Version bump - ebuild submitted by Andrew Savchenko, bug #487210
7
8 (Portage version: 2.2.7-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
9
10 Revision Changes Path
11 1.52 sci-physics/pythia/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/pythia/ChangeLog?rev=1.52&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/pythia/ChangeLog?rev=1.52&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/pythia/ChangeLog?r1=1.51&r2=1.52
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v
20 retrieving revision 1.51
21 retrieving revision 1.52
22 diff -u -r1.51 -r1.52
23 --- ChangeLog 7 Jun 2013 15:35:42 -0000 1.51
24 +++ ChangeLog 29 Oct 2013 19:52:25 -0000 1.52
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-physics/pythia
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.51 2013/06/07 15:35:42 bicatali Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.52 2013/10/29 19:52:25 bicatali Exp $
30 +
31 +*pythia-6.4.28 (29 Oct 2013)
32 +
33 + 29 Oct 2013; Sébastien Fabbro <bicatali@g.o> +pythia-6.4.28.ebuild:
34 + Version bump - ebuild submitted by Andrew Savchenko, bug #487210
35
36 *pythia-8.1.76 (07 Jun 2013)
37
38
39
40
41 1.1 sci-physics/pythia/pythia-6.4.28.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/pythia/pythia-6.4.28.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/pythia/pythia-6.4.28.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pythia-6.4.28.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/pythia-6.4.28.ebuild,v 1.1 2013/10/29 19:52:25 bicatali Exp $
51
52 EAPI=5
53
54 inherit autotools fortran-2 versionator
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://pythia6.hepforge.org/"
63
64 # pythia6 from root is needed for some files to interface pythia6 with root.
65 # To produce a split version, replace the 6.4.x by the current version:
66 # svn export http://svn.hepforge.org/pythia6/tags/v_6_4_x/ pythia-6.4.x
67 # tar cJf pythia-6.4.x.tar.xz
68 SRC_URI="
69 http://dev.gentoo.org/~bicatali/distfiles/${P}.tar.xz
70 ftp://root.cern.ch/root/pythia6.tar.gz
71 doc? ( http://home.thep.lu.se/~torbjorn/pythia/lutp${DOC_PV}man2.pdf )
72 examples? ( mirror://gentoo/${PN}-${EX_PV}-examples.tar.bz2 )"
73
74 SLOT="6"
75 LICENSE="public-domain"
76 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
77 IUSE="doc examples static-libs"
78
79 src_prepare() {
80 cp ../pythia6/tpythia6_called_from_cc.F .
81 cp ../pythia6/pythia6_common_address.c .
82 cat > configure.ac <<-EOF
83 AC_INIT(${PN},${PV})
84 AM_INIT_AUTOMAKE
85 AC_PROG_F77
86 LT_INIT
87 AC_CHECK_LIB(m,sqrt)
88 AC_CONFIG_FILES(Makefile)
89 AC_OUTPUT
90 EOF
91 echo >> Makefile.am "lib_LTLIBRARIES = libpythia6.la"
92 echo >> Makefile.am "libpythia6_la_SOURCES = \ "
93 # replace wildcard from makefile to ls in shell
94 local f
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_configure() {
104 econf $(use_enable static-libs static)
105 }
106
107 src_install() {
108 default
109 dodoc update_notes.txt
110 use doc && dodoc "${DISTDIR}"/lutp${DOC_PV}man2.pdf
111 if use examples; then
112 insinto /usr/share/doc/${PF}
113 doins -r "${WORKDIR}"/examples
114 fi
115 }