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