1 |
bicatali 09/07/24 23:08:26 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: lhapdf-5.7.1.ebuild |
5 |
Log: |
6 |
Version bump. Now installs PDFs data separately with a data use flag. (needs large disk space). Thanks Ben Bannier for his work, bug #278107. |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 sci-physics/lhapdf/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/metadata.xml?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/metadata.xml?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/metadata.xml?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/metadata.xml,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- metadata.xml 7 Sep 2008 22:10:27 -0000 1.1 |
23 |
+++ metadata.xml 24 Jul 2009 23:08:26 -0000 1.2 |
24 |
@@ -15,4 +15,7 @@ |
25 |
version 4.1 onwards a configuration script facilitates the |
26 |
installation of LHAPDF. |
27 |
</longdescription> |
28 |
+<use> |
29 |
+ <flag name='data'>Install all Parton Density Function data sets system-wide</flag> |
30 |
+</use> |
31 |
</pkgmetadata> |
32 |
|
33 |
|
34 |
|
35 |
1.6 sci-physics/lhapdf/ChangeLog |
36 |
|
37 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/ChangeLog?rev=1.6&view=markup |
38 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/ChangeLog?rev=1.6&content-type=text/plain |
39 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/ChangeLog?r1=1.5&r2=1.6 |
40 |
|
41 |
Index: ChangeLog |
42 |
=================================================================== |
43 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v |
44 |
retrieving revision 1.5 |
45 |
retrieving revision 1.6 |
46 |
diff -u -r1.5 -r1.6 |
47 |
--- ChangeLog 24 Feb 2009 13:16:12 -0000 1.5 |
48 |
+++ ChangeLog 24 Jul 2009 23:08:26 -0000 1.6 |
49 |
@@ -1,6 +1,13 @@ |
50 |
# ChangeLog for sci-physics/lhapdf |
51 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
52 |
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.5 2009/02/24 13:16:12 bicatali Exp $ |
53 |
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.6 2009/07/24 23:08:26 bicatali Exp $ |
54 |
+ |
55 |
+*lhapdf-5.7.1 (24 Jul 2009) |
56 |
+ |
57 |
+ 24 Jul 2009; Sébastien Fabbro <bicatali@g.o> +lhapdf-5.7.1.ebuild, |
58 |
+ metadata.xml: |
59 |
+ Version bump. Now installs PDFs data separately with a data use flag |
60 |
+ (needs large disk space). Thanks Ben Bannier for his work, bug #278107. |
61 |
|
62 |
*lhapdf-5.7.0 (23 Feb 2009) |
63 |
|
64 |
|
65 |
|
66 |
|
67 |
1.1 sci-physics/lhapdf/lhapdf-5.7.1.ebuild |
68 |
|
69 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/lhapdf-5.7.1.ebuild?rev=1.1&view=markup |
70 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/lhapdf-5.7.1.ebuild?rev=1.1&content-type=text/plain |
71 |
|
72 |
Index: lhapdf-5.7.1.ebuild |
73 |
=================================================================== |
74 |
# Copyright 1999-2009 Gentoo Foundation |
75 |
# Distributed under the terms of the GNU General Public License v2 |
76 |
# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/lhapdf-5.7.1.ebuild,v 1.1 2009/07/24 23:08:26 bicatali Exp $ |
77 |
|
78 |
EAPI=2 |
79 |
inherit check-reqs |
80 |
|
81 |
DESCRIPTION="Les Houches Parton Density Function unified library" |
82 |
HOMEPAGE="http://projects.hepforge.org/lhapdf/" |
83 |
|
84 |
# data built with svn export http://svn.hepforge.org/${PN}/pdfsets/tags/${PV} |
85 |
SRC_URI="http://www.hepforge.org/archive/lhapdf/${P}.tar.gz |
86 |
http://svn.hepforge.org/${PN}/pdfsets/tags/${PV}/cteq61.LHgrid |
87 |
http://svn.hepforge.org/${PN}/pdfsets/tags/${PV}/cteq61.LHpdf |
88 |
data? ( mirror://gentoo/${P}-pdf.tar.bz2 )" |
89 |
|
90 |
LICENSE="GPL-2" |
91 |
SLOT="0" |
92 |
KEYWORDS="~amd64 ~x86" |
93 |
IUSE="cxx -data doc examples python test" |
94 |
|
95 |
DEPEND="doc? ( app-doc/doxygen[latex] ) |
96 |
python? ( dev-lang/swig )" |
97 |
RDEPEND="" |
98 |
|
99 |
pkg_setup() { |
100 |
if use data; then |
101 |
# Check if we have enough free diskspace to install |
102 |
CHECKREQS_DISK_BUILD="1800" |
103 |
check_reqs |
104 |
fi |
105 |
} |
106 |
|
107 |
src_prepare() { |
108 |
# do not create extra latex docs |
109 |
sed -i \ |
110 |
-e 's/GENERATE_LATEX.*=YES/GENERATE_LATEX = NO/g' \ |
111 |
ccwrap/Doxyfile || die |
112 |
} |
113 |
|
114 |
src_configure() { |
115 |
econf \ |
116 |
$(use_enable cxx ccwrap) \ |
117 |
$(use_enable cxx old-ccwrap ) \ |
118 |
$(use_enable python pyext) \ |
119 |
$(use_enable doc doxygen) |
120 |
} |
121 |
|
122 |
src_test() { |
123 |
LHAPATH="${DISTDIR}" emake check || die "emake check failed" |
124 |
} |
125 |
|
126 |
src_install() { |
127 |
emake DESTDIR="${D}" install || die "emake install failed" |
128 |
dodoc README TODO AUTHORS ChangeLog |
129 |
|
130 |
if use data; then |
131 |
elog "Installing data files" |
132 |
insinto /usr/share/lhapdf/PDFSets |
133 |
doins "${S}-pdf"/* || die |
134 |
fi |
135 |
|
136 |
# leftover |
137 |
rm -rf "${D}"/usr/share/${PN}/doc || die |
138 |
if use doc && use cxx; then |
139 |
# default doc install buggy |
140 |
insinto /usr/share/doc/${PF} |
141 |
doins -r ccwrap/doxy/html || die |
142 |
fi |
143 |
if use examples; then |
144 |
insinto /usr/share/doc/${PF}/examples |
145 |
doins examples/*.{f,cc} || die |
146 |
fi |
147 |
} |