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-6.0.5.ebuild ChangeLog
Date: Sun, 23 Feb 2014 02:16:44
Message-Id: 20140223021638.18EC32004E@flycatcher.gentoo.org
1 bicatali 14/02/23 02:16:38
2
3 Modified: ChangeLog
4 Added: lhapdf-6.0.5.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
9
10 Revision Changes Path
11 1.25 sci-physics/lhapdf/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/ChangeLog?rev=1.25&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/ChangeLog?rev=1.25&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/ChangeLog?r1=1.24&r2=1.25
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v
20 retrieving revision 1.24
21 retrieving revision 1.25
22 diff -u -r1.24 -r1.25
23 --- ChangeLog 6 Nov 2013 05:28:12 -0000 1.24
24 +++ ChangeLog 23 Feb 2014 02:16:37 -0000 1.25
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-physics/lhapdf
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.24 2013/11/06 05:28:12 patrick Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.25 2014/02/23 02:16:37 bicatali Exp $
31 +
32 +*lhapdf-6.0.5 (23 Feb 2014)
33 +
34 + 23 Feb 2014; Sébastien Fabbro <bicatali@g.o> +lhapdf-6.0.5.ebuild:
35 + Version bump
36
37 06 Nov 2013; Patrick Lauer <patrick@g.o> lhapdf-6.0.4.ebuild:
38 Whitespace
39
40
41
42 1.1 sci-physics/lhapdf/lhapdf-6.0.5.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/lhapdf-6.0.5.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/lhapdf-6.0.5.ebuild?rev=1.1&content-type=text/plain
46
47 Index: lhapdf-6.0.5.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/lhapdf-6.0.5.ebuild,v 1.1 2014/02/23 02:16:37 bicatali Exp $
52
53 EAPI=5
54
55 AUTOTOOLS_IN_SOURCE_BUILD=yes
56 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
57
58 inherit versionator autotools-utils distutils-r1
59
60 MY_PV=$(get_version_component_range 1-3 ${PV})
61 MY_PF=LHAPDF-${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
67 LICENSE="GPL-2"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
70
71 IUSE="doc examples python static-libs"
72 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
73
74 RDEPEND="
75 dev-libs/boost
76 dev-cpp/yaml-cpp
77 python? ( ${PYTHON_DEPS} )"
78 DEPEND="${RDEPEND}
79 doc? ( app-doc/doxygen[latex] )"
80
81 S="${WORKDIR}/${MY_PF}"
82
83 src_configure() {
84 autotools-utils_src_configure $(use_enable python)
85 if use python; then
86 cd "${S}/wrappers/python" && distutils-r1_src_prepare
87 fi
88 }
89
90 src_compile() {
91 autotools-utils_src_compile all $(use doc && echo doxy)
92 if use python; then
93 cd "${S}/wrappers/python" && distutils-r1_src_compile
94 fi
95 }
96
97 src_test() {
98 autotools-utils_src_compile -C tests
99 }
100
101 src_install() {
102 autotools-utils_src_install
103 use doc && dohtml -r doc/doxygen/*
104 if use examples; then
105 insinto /usr/share/doc/${PF}/examples
106 doins examples/*.cc
107 fi
108 if use python; then
109 cd "${S}/wrappers/python" && distutils-r1_src_install
110 fi
111 }
112
113 pkg_postinst() {
114 elog "To install data files, download them into ${EROOT%/}/usr/share/LHAPDF:"
115 elog "http://www.hepforge.org/archive/${PN}/pdfsets/${PV}"
116 }