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/lhapdf: lhapdf-5.8.9.ebuild ChangeLog lhapdf-5.8.7.ebuild
Date: Tue, 04 Jun 2013 17:47:06
Message-Id: 20130604174701.B2BD22171D@flycatcher.gentoo.org
1 bicatali 13/06/04 17:47:01
2
3 Modified: ChangeLog
4 Added: lhapdf-5.8.9.ebuild
5 Removed: lhapdf-5.8.7.ebuild
6 Log:
7 Version bump. Switch to autotools-utils and EAPI5
8
9 (Portage version: 2.2.01.21938-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
10
11 Revision Changes Path
12 1.21 sci-physics/lhapdf/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/ChangeLog?rev=1.21&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/ChangeLog?rev=1.21&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/ChangeLog?r1=1.20&r2=1.21
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v
21 retrieving revision 1.20
22 retrieving revision 1.21
23 diff -u -r1.20 -r1.21
24 --- ChangeLog 7 Aug 2012 17:34:13 -0000 1.20
25 +++ ChangeLog 4 Jun 2013 17:47:01 -0000 1.21
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sci-physics/lhapdf
28 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.20 2012/08/07 17:34:13 bicatali Exp $
30 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.21 2013/06/04 17:47:01 bicatali Exp $
32 +
33 +*lhapdf-5.8.9 (04 Jun 2013)
34 +
35 + 04 Jun 2013; Sébastien Fabbro <bicatali@g.o> +lhapdf-5.8.9.ebuild,
36 + -lhapdf-5.8.7.ebuild:
37 + Version bump. Switch to autotools-utils and EAPI5
38
39 *lhapdf-5.8.8 (07 Aug 2012)
40
41
42
43
44 1.1 sci-physics/lhapdf/lhapdf-5.8.9.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/lhapdf-5.8.9.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/lhapdf-5.8.9.ebuild?rev=1.1&content-type=text/plain
48
49 Index: lhapdf-5.8.9.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/lhapdf-5.8.9.ebuild,v 1.1 2013/06/04 17:47:01 bicatali Exp $
54
55 EAPI=5
56
57 AUTOTOOLS_IN_SOURCE_BUILD=yes
58 inherit versionator autotools-utils
59
60 MY_PV=$(get_version_component_range 1-3 ${PV})
61 MY_PF=${PN}-${MY_PV}
62
63 DESCRIPTION="Les Houches Parton Density Function unified library"
64 HOMEPAGE="http://projects.hepforge.org/lhapdf/"
65 SRC_URI="http://www.hepforge.org/archive/lhapdf/${MY_PF}.tar.gz
66 test? (
67 http://www.hepforge.org/archive/${PN}/pdfsets/${MY_PV}/cteq61.LHgrid
68 http://www.hepforge.org/archive/${PN}/pdfsets/${MY_PV}/MRST2004nlo.LHgrid
69 http://www.hepforge.org/archive/${PN}/pdfsets/${MY_PV}/cteq61.LHpdf
70 http://www.hepforge.org/archive/${PN}/pdfsets/${MY_PV}/CT10.LHgrid
71 octave? ( http://www.hepforge.org/archive/${PN}/pdfsets/${MY_PV}/cteq5l.LHgrid ) )"
72
73 LICENSE="GPL-2"
74 SLOT="0"
75 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
76 IUSE="cxx doc examples octave python static-libs test"
77 REQUIRED_USE="octave? ( cxx )"
78 RDEPEND="octave? ( sci-mathematics/octave )"
79 DEPEND="${RDEPEND}
80 doc? ( app-doc/doxygen[latex] )
81 python? ( dev-lang/swig )"
82
83 S="${WORKDIR}/${MY_PF}"
84
85 src_prepare() {
86 # do not create extra latex docs
87 sed -i \
88 -e 's/GENERATE_LATEX.*=YES/GENERATE_LATEX = NO/g' \
89 ccwrap/Doxyfile || die
90 }
91
92 src_configure() {
93 local myeconfargs=(
94 $(use_enable cxx ccwrap)
95 $(use_enable cxx old-ccwrap)
96 $(use_enable doc doxygen)
97 $(use_enable octave)
98 $(use_enable python pyext)
99 )
100 autotools-utils_src_configure
101 }
102
103 src_test() {
104 cd "${BUILD_DIR}"
105 # need to make a bogus link for octave test
106 ln -s "${DISTDIR}" PDFsets
107 LHAPATH="${PWD}/PDFsets" \
108 LD_LIBRARY_PATH="${PWD}/lib/.libs:${LD_LIBRARY_PATH}" \
109 emake check
110 }
111
112 src_install() {
113 autotools-utils_src_install
114 use doc && use cxx && dohtml -r ccwrap/doxy/html/*
115 if use examples; then
116 insinto /usr/share/doc/${PF}/examples
117 doins examples/*.{f,cc}
118 fi
119 }
120
121 pkg_postinst() {
122 elog "To install data files, you have to run as root:"
123 elog "lhapdf-getdata --dest=${EROOT}usr/share/lhapdf/PDFsets --all"
124 }