1 |
bicatali 08/09/02 08:41:09 |
2 |
|
3 |
Added: metadata.xml Manifest pythia-8.1.08.ebuild |
4 |
pythia-6.4.18.ebuild ChangeLog |
5 |
Log: |
6 |
Initial import. Thanks Benjamin Bannier for his good work on bug #231484 |
7 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.23-gentoo-r9 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sci-physics/pythia/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/pythia/metadata.xml?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/pythia/metadata.xml?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: metadata.xml |
16 |
=================================================================== |
17 |
<?xml version="1.0" encoding="UTF-8"?> |
18 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 |
<pkgmetadata> |
20 |
<herd>sci-physics</herd> |
21 |
<longdescription lang="en"> |
22 |
PYTHIA is a program for the generation of high-energy physics |
23 |
events, i.e. for the description of collisions at high energies |
24 |
between elementary particles such as e+, e-, p and pbar in various |
25 |
combinations. It contains theory and models for a number of physics |
26 |
aspects, including hard and soft interactions, parton distributions, |
27 |
initial- and final-state parton showers, multiple interactions, |
28 |
fragmentation and decay. It is largely based on original research, |
29 |
but also borrows many formulae and other knowledge from the |
30 |
literature. |
31 |
</longdescription> |
32 |
</pkgmetadata> |
33 |
|
34 |
|
35 |
|
36 |
1.1 sci-physics/pythia/Manifest |
37 |
|
38 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/pythia/Manifest?rev=1.1&view=markup |
39 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/pythia/Manifest?rev=1.1&content-type=text/plain |
40 |
|
41 |
Index: Manifest |
42 |
=================================================================== |
43 |
DIST lutp0613man2.pdf 2902047 RMD160 a45a1fcd47db9dc4ec3448018038b441174bc55d SHA1 4601580d13482d9230026dad6f943d01bf3ffd74 SHA256 03d637310ea80f0d7aea761492bd38452c602890d8cf913a1ec9edacd79fa43d |
44 |
DIST main60.f 4035 RMD160 3fc58ae918a52c7ebcc2cd1b875e16e42866bda4 SHA1 0e3f21a0388df366dbbcabcca26d1d4c1b0b6dec SHA256 d713b8b267c4405cc9d31c58bba267ae3378902a26fa52393003bf35fd56902c |
45 |
DIST pythia-6.4.18.f.gz 575245 RMD160 215355c6f4c2459ae7d7d3c6bb4314cd6331f136 SHA1 afe2355c13013163075f0efba046018c06229369 SHA256 06f55c461233ba633a99200370914f729fa109d583ff15003c26149a714797f1 |
46 |
DIST pythia6.tar.gz 567451 RMD160 a6bd12a24f85436e64c51482c71469335c20372b SHA1 f2401d493bb4d5e059a1c4c48517c1679d74a437 SHA256 ebc90b8ec94897d8b09030341323d2c7c6e5c7c65077f98b96c8cff00d40a5ce |
47 |
DIST pythia8108.tgz 1694925 RMD160 b8cb8c9002984cd103f28bef9d5b58dbc705d40b SHA1 7c120f339ae23983cf3b1f5f6f294c22ff96ae29 SHA256 1314f7b27b8569b1dca38eea8389c54ae1b718616fd2750d83f32984a1159715 |
48 |
DIST update_notes-6.4.18.txt 68019 RMD160 2f579ff64538128d60c5625afc13061dd4429e84 SHA1 ae73f097e2640b09e8b69c003699f2dac50eeaa7 SHA256 464b71451d8f1b4847ba2c649f3c9d556b4a11f24c2ae29b2e7f1d03086a00a2 |
49 |
EBUILD pythia-6.4.18.ebuild 1579 RMD160 eb1eb5e47d4dfd5c9294effe162a2dae9bfeb32b SHA1 1b60340df32a35a77676e10722ab8a5cdf514e5a SHA256 bebf71ba0ddb81c8d6339186f1c020d0d4c8efaab92016dd5d2b25b417ac13c0 |
50 |
EBUILD pythia-8.1.08.ebuild 1727 RMD160 b5a6f3a485213b026d5962dd7d29d3fc36eb0bb3 SHA1 938bb5e4fe8824b82f406c5ff9843357c494c9a0 SHA256 cb24a84079e9657b76fdc6872c0533a20c0136d7bde86dfe26f07411f66b5ede |
51 |
MISC ChangeLog 372 RMD160 7d5cca54ae1b2032907f17a1ede19a791955d4f8 SHA1 c93f873b5c58ce3ad26ad6a08c6d62ef0dba4f01 SHA256 d07facd631e8a70048cf6bea4f433b9a49d41bfbb5e4b16c2ee0d90b3e82f0e7 |
52 |
MISC metadata.xml 762 RMD160 5c94c90c55793428747700856612569ec7429a06 SHA1 24f78f22cf1c54e2421878a50b08f5568ba07bdb SHA256 e1637aebfee347ed7f4848db2b73d1062d84fb529322b74887c56235b98900ed |
53 |
|
54 |
|
55 |
|
56 |
1.1 sci-physics/pythia/pythia-8.1.08.ebuild |
57 |
|
58 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/pythia/pythia-8.1.08.ebuild?rev=1.1&view=markup |
59 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/pythia/pythia-8.1.08.ebuild?rev=1.1&content-type=text/plain |
60 |
|
61 |
Index: pythia-8.1.08.ebuild |
62 |
=================================================================== |
63 |
# Copyright 1999-2008 Gentoo Foundation |
64 |
# Distributed under the terms of the GNU General Public License v2 |
65 |
# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/pythia-8.1.08.ebuild,v 1.1 2008/09/02 08:41:08 bicatali Exp $ |
66 |
|
67 |
inherit versionator multilib toolchain-funcs |
68 |
|
69 |
MV=$(get_major_version) |
70 |
MY_P=${PN}$(replace_all_version_separators "" ${PV}) |
71 |
|
72 |
DESCRIPTION="Lund Monte Carlo high-energy physics event generator" |
73 |
HOMEPAGE="http://home.thep.lu.se/~torbjorn/Pythia.html" |
74 |
SRC_URI="http://home.thep.lu.se/~torbjorn/${PN}${MV}/${MY_P}.tgz" |
75 |
|
76 |
LICENSE="GPL-2" |
77 |
SLOT="8" |
78 |
KEYWORDS="~amd64 ~sparc ~x86" |
79 |
IUSE="doc" |
80 |
|
81 |
DEPEND="" |
82 |
|
83 |
S="${WORKDIR}/${MY_P}" |
84 |
|
85 |
src_compile() { |
86 |
# evil hand-rolled stuff (no autoconf) |
87 |
./configure \ |
88 |
--enable-shared \ |
89 |
|| die "configure failed" |
90 |
# add user's flags TODO can this be done better? |
91 |
echo CXXFLAGS+="${CXXFLAGS}" >> config.mk |
92 |
emake CXX=$(tc-getCXX) || die "emake failed" |
93 |
} |
94 |
|
95 |
src_test() { |
96 |
cd "${S}"/examples |
97 |
./configure \ |
98 |
--enable-shared \ |
99 |
|| die "configure for examples failed" |
100 |
echo CXXFLAGS+=${CXXFLAGS} >> config.mk |
101 |
emake CXX=$(tc-getCXX) || die "emake examples failed" |
102 |
./runmains || die "test of examples failed" |
103 |
} |
104 |
|
105 |
src_install() { |
106 |
dolib.so lib/*so || die "shared lib install failed" |
107 |
dolib.a lib/archive/* || die "static lib install failed" |
108 |
|
109 |
insinto /usr/include/${PN} |
110 |
doins include/* || die "headers install failed" |
111 |
|
112 |
insinto /usr/share/${PN} |
113 |
doins -r xmldoc || die "xmldoc install failed" |
114 |
echo PYTHIA8DATA=/usr/share/${PN}/xmldoc >> 99pythia8 |
115 |
doenvd 99pythia8 |
116 |
|
117 |
insinto /usr/share/doc/${PF} |
118 |
dodoc GUIDELINES AUTHORS README |
119 |
if use doc; then |
120 |
doins -r worksheet.pdf examples htmldoc || die "doc install failed" |
121 |
fi |
122 |
} |
123 |
|
124 |
pkg_postinst() { |
125 |
elog "pythia-8 ebuild is still under development." |
126 |
elog "Help us improve the ebuild in:" |
127 |
elog "http://bugs.gentoo.org/show_bug.cgi?id=231484" |
128 |
} |
129 |
|
130 |
|
131 |
|
132 |
1.1 sci-physics/pythia/pythia-6.4.18.ebuild |
133 |
|
134 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/pythia/pythia-6.4.18.ebuild?rev=1.1&view=markup |
135 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/pythia/pythia-6.4.18.ebuild?rev=1.1&content-type=text/plain |
136 |
|
137 |
Index: pythia-6.4.18.ebuild |
138 |
=================================================================== |
139 |
# Copyright 1999-2008 Gentoo Foundation |
140 |
# Distributed under the terms of the GNU General Public License v2 |
141 |
# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/pythia-6.4.18.ebuild,v 1.1 2008/09/02 08:41:08 bicatali Exp $ |
142 |
|
143 |
inherit fortran versionator autotools |
144 |
|
145 |
MV=$(get_major_version) |
146 |
MY_PN=${PN}${MV} |
147 |
|
148 |
DESCRIPTION="Lund Monte Carlo high-energy physics event generator" |
149 |
HOMEPAGE="http://projects.hepforge.org/pythia6/" |
150 |
|
151 |
# pythia6 from root is needed for some files to interface pythia6 with root |
152 |
SRC_URI="http://www.hepforge.org/archive/${MY_PN}/${P}.f.gz |
153 |
ftp://root.cern.ch/root/pythia6.tar.gz |
154 |
http://www.hepforge.org/archive/${MY_PN}/update_notes-${PV}.txt |
155 |
doc? ( http://home.thep.lu.se/~torbjorn/pythia/lutp0613man2.pdf |
156 |
http://home.thep.lu.se/~torbjorn/pythia/main60.f )" |
157 |
|
158 |
LICENSE="public-domain" |
159 |
SLOT="6" |
160 |
KEYWORDS="~amd64 ~sparc ~x86" |
161 |
IUSE="doc" |
162 |
DEPEND="" |
163 |
|
164 |
S="${WORKDIR}" |
165 |
|
166 |
FORTRAN="gfortran ifc g77" |
167 |
|
168 |
src_unpack() { |
169 |
unpack ${A} |
170 |
cat > configure.ac <<-EOF |
171 |
AC_INIT(${PN},${PV}) |
172 |
AM_INIT_AUTOMAKE |
173 |
AC_PROG_F77 |
174 |
AC_PROG_LIBTOOL |
175 |
AC_CONFIG_FILES(Makefile) |
176 |
AC_OUTPUT |
177 |
EOF |
178 |
cat > Makefile.am <<-EOF |
179 |
lib_LTLIBRARIES = lib${MY_PN}.la |
180 |
lib${MY_PN}_la_SOURCES = ${P}.f \ |
181 |
= pythia6/tpythia6_called_from_cc.F \ |
182 |
= pythia6/pythia6_common_address.c |
183 |
EOF |
184 |
eautoreconf |
185 |
} |
186 |
|
187 |
src_install() { |
188 |
emake DESTDIR="${D}" install || die "emake install failed" |
189 |
dodoc "${DISTDIR}"/update_notes-${PV}.txt |
190 |
if use doc; then |
191 |
insinto /usr/share/doc/${PF}/ |
192 |
doins "${DISTDIR}"/{lutp0613man2.pdf,main60.f} || die |
193 |
fi |
194 |
} |
195 |
|
196 |
pkg_postinst() { |
197 |
elog "pythia-6 ebuild is still under development." |
198 |
elog "Help us improve the ebuild in:" |
199 |
elog "http://bugs.gentoo.org/show_bug.cgi?id=231484" |
200 |
} |
201 |
|
202 |
|
203 |
|
204 |
1.1 sci-physics/pythia/ChangeLog |
205 |
|
206 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/pythia/ChangeLog?rev=1.1&view=markup |
207 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/pythia/ChangeLog?rev=1.1&content-type=text/plain |
208 |
|
209 |
Index: ChangeLog |
210 |
=================================================================== |
211 |
# ChangeLog for sci-physics/pythia |
212 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
213 |
# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.1 2008/09/02 08:41:08 bicatali Exp $ |
214 |
|
215 |
*pythia-8.1.08 (02 Sep 2008) |
216 |
*pythia-6.4.18 (02 Sep 2008) |
217 |
|
218 |
02 Sep 2008; Sébastien Fabbro <bicatali@g.o> +metadata.xml, |
219 |
+pythia-6.4.18.ebuild, +pythia-8.1.08.ebuild: |
220 |
Initial import. Thanks Benjamin Bannier for his good work on bug #231484 |