1 |
bicatali 10/01/08 02:25:14 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: lhapdf-5.8.1.ebuild |
5 |
Removed: lhapdf-5.7.1.ebuild |
6 |
Log: |
7 |
Version bump and added missing file for test |
8 |
(Portage version: 2.2_rc61/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 sci-physics/lhapdf/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/metadata.xml?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/metadata.xml?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/metadata.xml?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/metadata.xml,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- metadata.xml 24 Jul 2009 23:08:26 -0000 1.2 |
24 |
+++ metadata.xml 8 Jan 2010 02:25:13 -0000 1.3 |
25 |
@@ -16,6 +16,8 @@ |
26 |
installation of LHAPDF. |
27 |
</longdescription> |
28 |
<use> |
29 |
- <flag name='data'>Install all Parton Density Function data sets system-wide</flag> |
30 |
+ <flag name='data'>Install all Parton Density Function data sets |
31 |
+ system-wide</flag> |
32 |
+ <flag name='octave'>Add bindings for <pkg>sci-mathematics/octave</pkg></flag> |
33 |
</use> |
34 |
</pkgmetadata> |
35 |
|
36 |
|
37 |
|
38 |
1.8 sci-physics/lhapdf/ChangeLog |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/ChangeLog?rev=1.8&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/ChangeLog?rev=1.8&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/ChangeLog?r1=1.7&r2=1.8 |
43 |
|
44 |
Index: ChangeLog |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v |
47 |
retrieving revision 1.7 |
48 |
retrieving revision 1.8 |
49 |
diff -u -r1.7 -r1.8 |
50 |
--- ChangeLog 16 Nov 2009 20:19:32 -0000 1.7 |
51 |
+++ ChangeLog 8 Jan 2010 02:25:13 -0000 1.8 |
52 |
@@ -1,6 +1,12 @@ |
53 |
# ChangeLog for sci-physics/lhapdf |
54 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.7 2009/11/16 20:19:32 bicatali Exp $ |
56 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
57 |
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.8 2010/01/08 02:25:13 bicatali Exp $ |
58 |
+ |
59 |
+*lhapdf-5.8.1 (08 Jan 2010) |
60 |
+ |
61 |
+ 08 Jan 2010; Sébastien Fabbro <bicatali@g.o> -lhapdf-5.7.1.ebuild, |
62 |
+ +lhapdf-5.8.1.ebuild: |
63 |
+ Version bump and added missing file for test |
64 |
|
65 |
*lhapdf-5.8.0 (16 Nov 2009) |
66 |
|
67 |
|
68 |
|
69 |
|
70 |
1.1 sci-physics/lhapdf/lhapdf-5.8.1.ebuild |
71 |
|
72 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/lhapdf-5.8.1.ebuild?rev=1.1&view=markup |
73 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/lhapdf-5.8.1.ebuild?rev=1.1&content-type=text/plain |
74 |
|
75 |
Index: lhapdf-5.8.1.ebuild |
76 |
=================================================================== |
77 |
# Copyright 1999-2010 Gentoo Foundation |
78 |
# Distributed under the terms of the GNU General Public License v2 |
79 |
# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/lhapdf-5.8.1.ebuild,v 1.1 2010/01/08 02:25:13 bicatali Exp $ |
80 |
|
81 |
EAPI=2 |
82 |
|
83 |
DESCRIPTION="Les Houches Parton Density Function unified library" |
84 |
HOMEPAGE="http://projects.hepforge.org/lhapdf/" |
85 |
SRC_URI="http://www.hepforge.org/archive/lhapdf/${P}.tar.gz |
86 |
test? ( |
87 |
http://svn.hepforge.org/${PN}/pdfsets/tags/${PV}/cteq61.LHgrid |
88 |
http://svn.hepforge.org/${PN}/pdfsets/tags/${PV}/MRST2004nlo.LHgrid |
89 |
http://svn.hepforge.org/${PN}/pdfsets/tags/${PV}/cteq61.LHpdf |
90 |
octave? ( http://svn.hepforge.org/${PN}/pdfsets/tags/${PV}/cteq5l.LHgrid ) )" |
91 |
|
92 |
LICENSE="GPL-2" |
93 |
SLOT="0" |
94 |
KEYWORDS="~amd64 ~x86" |
95 |
IUSE="cxx doc examples octave python test" |
96 |
|
97 |
RDEPEND="octave? ( sci-mathematics/octave )" |
98 |
DEPEND="${RDEPEND} |
99 |
doc? ( app-doc/doxygen[latex] ) |
100 |
python? ( dev-lang/swig )" |
101 |
|
102 |
src_prepare() { |
103 |
# do not create extra latex docs |
104 |
sed -i \ |
105 |
-e 's/GENERATE_LATEX.*=YES/GENERATE_LATEX = NO/g' \ |
106 |
ccwrap/Doxyfile || die |
107 |
} |
108 |
|
109 |
src_configure() { |
110 |
econf \ |
111 |
$(use_enable cxx ccwrap) \ |
112 |
$(use_enable cxx old-ccwrap ) \ |
113 |
$(use_enable python pyext) \ |
114 |
$(use_enable doc doxygen) |
115 |
} |
116 |
|
117 |
src_test() { |
118 |
# need to make a bogus link for octave test |
119 |
ln -s "${DISTDIR}" PDFsets |
120 |
LHAPATH="${DISTDIR}" \ |
121 |
LD_LIBRARY_PATH="${PWD}/lib/.libs:${LD_LIBRARY_PATH}" \ |
122 |
emake check || die "emake check failed" |
123 |
} |
124 |
|
125 |
src_install() { |
126 |
emake DESTDIR="${D}" install || die "emake install failed" |
127 |
dodoc README TODO AUTHORS ChangeLog |
128 |
|
129 |
# leftover |
130 |
rm -rf "${D}"/usr/share/${PN}/doc || die |
131 |
if use doc && use cxx; then |
132 |
# default doc install buggy |
133 |
insinto /usr/share/doc/${PF} |
134 |
doins -r ccwrap/doxy/html || die |
135 |
fi |
136 |
if use examples; then |
137 |
insinto /usr/share/doc/${PF}/examples |
138 |
doins examples/*.{f,cc} || die |
139 |
fi |
140 |
} |
141 |
|
142 |
pkg_postinst() { |
143 |
elog "To install data files, you have to run as root:" |
144 |
elog "${ROOT}usr/bin/lhapdf-getdata --dest=${ROOT}usr/share/lhapdf --all" |
145 |
} |
146 |
|
147 |
pkg_postrm() { |
148 |
if [ -d "${ROOT}usr/share/lhapdf" ]; then |
149 |
ewarn "The data directory has not been removed, probably because" |
150 |
ewarn "you still have installed data files." |
151 |
fi |
152 |
} |