From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-physics/lhapdf: ChangeLog lhapdf-5.5.1.ebuild |
Date: | Sat, 04 Oct 2008 10:17:46 |
Message-Id: | E1Km4Cl-0001RC-A8@stork.gentoo.org |
1 | bicatali 08/10/04 10:17:43 |
2 | |
3 | Modified: ChangeLog |
4 | Added: lhapdf-5.5.1.ebuild |
5 | Log: |
6 | Version bump, closing bug #239333 |
7 | (Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.2 sci-physics/lhapdf/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/ChangeLog?rev=1.2&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/ChangeLog?rev=1.2&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/ChangeLog?r1=1.1&r2=1.2 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v |
19 | retrieving revision 1.1 |
20 | retrieving revision 1.2 |
21 | diff -u -r1.1 -r1.2 |
22 | --- ChangeLog 7 Sep 2008 22:10:27 -0000 1.1 |
23 | +++ ChangeLog 4 Oct 2008 10:17:42 -0000 1.2 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for sci-physics/lhapdf |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.1 2008/09/07 22:10:27 bicatali Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.2 2008/10/04 10:17:42 bicatali Exp $ |
29 | + |
30 | +*lhapdf-5.5.1 (04 Oct 2008) |
31 | + |
32 | + 04 Oct 2008; Sébastien Fabbro <bicatali@g.o> +lhapdf-5.5.1.ebuild: |
33 | + Version bump, closing bug #239333 |
34 | |
35 | *lhapdf-5.5.0 (07 Sep 2008) |
36 | |
37 | |
38 | |
39 | |
40 | 1.1 sci-physics/lhapdf/lhapdf-5.5.1.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/lhapdf-5.5.1.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/lhapdf-5.5.1.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: lhapdf-5.5.1.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2008 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/lhapdf-5.5.1.ebuild,v 1.1 2008/10/04 10:17:42 bicatali Exp $ |
50 | |
51 | inherit eutils fortran |
52 | |
53 | DESCRIPTION="Les Houches Parton Density Function unified library" |
54 | HOMEPAGE="http://projects.hepforge.org/lhapdf/" |
55 | SRC_URI="http://www.hepforge.org/archive/lhapdf/${P}.tar.gz" |
56 | |
57 | LICENSE="GPL-2" |
58 | SLOT="0" |
59 | KEYWORDS="~amd64 ~x86" |
60 | IUSE="doc examples python" |
61 | |
62 | DEPEND="doc? ( app-doc/doxygen ) |
63 | python? ( dev-lang/swig )" |
64 | RDEPEND="" |
65 | |
66 | pkg_setup() { |
67 | local err |
68 | if use python && ! built_with_use dev-lang/swig python; then |
69 | eerror "You need USE=python in dev-lang/swig for python support." |
70 | err="${err} python" |
71 | fi |
72 | # this is needed for formulas even with html output only |
73 | if use doc && ! built_with_use app-doc/doxygen latex; then |
74 | eerror "You need USE=latex in app-doc/doxygen for docs." |
75 | err="${err} latex" |
76 | fi |
77 | |
78 | [ -z "${err}" ] || die "Unsatisfied dependencies -- needs manual fix" |
79 | |
80 | FORTRAN="gfortran ifc" |
81 | fortran_pkg_setup |
82 | } |
83 | |
84 | src_unpack() { |
85 | unpack ${A} |
86 | cd "${S}" |
87 | # do not create extra latex docs |
88 | sed -i \ |
89 | -e 's/GENERATE_LATEX.*=YES/GENERATE_LATEX = NO/g' \ |
90 | ccwrap/Doxyfile || die |
91 | } |
92 | |
93 | src_compile() { |
94 | econf \ |
95 | $(use_enable python pyext) \ |
96 | $(use_enable doc doxygen) \ |
97 | || die "econf failed" |
98 | emake || die "emake failed" |
99 | } |
100 | |
101 | src_install() { |
102 | emake DESTDIR="${D}" install || die "emake install failed" |
103 | dodoc README TODO AUTHORS ChangeLog |
104 | |
105 | use doc && mv "${D}"/usr/share/${PN}/doc/html "${D}"/usr/share/doc/${PF} |
106 | rm -rf "${D}"/usr/share/${PN}/doc |
107 | if use examples; then |
108 | insinto /usr/share/doc/${PF} |
109 | doins -r examples || die |
110 | fi |
111 | } |