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.1.3.ebuild ChangeLog
Date: Mon, 30 Jun 2014 18:43:43
Message-Id: 20140630184323.156E42004E@flycatcher.gentoo.org
1 bicatali 14/06/30 18:43:23
2
3 Modified: ChangeLog
4 Added: lhapdf-6.1.3.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.10.1-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
9
10 Revision Changes Path
11 1.28 sci-physics/lhapdf/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/ChangeLog?rev=1.28&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/ChangeLog?rev=1.28&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/ChangeLog?r1=1.27&r2=1.28
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v
20 retrieving revision 1.27
21 retrieving revision 1.28
22 diff -u -r1.27 -r1.28
23 --- ChangeLog 10 Jun 2014 19:24:14 -0000 1.27
24 +++ ChangeLog 30 Jun 2014 18:43:22 -0000 1.28
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-physics/lhapdf
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.27 2014/06/10 19:24:14 bicatali Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.28 2014/06/30 18:43:22 bicatali Exp $
30 +
31 +*lhapdf-6.1.3 (30 Jun 2014)
32 +
33 + 30 Jun 2014; Sébastien Fabbro <bicatali@g.o> +lhapdf-6.1.3.ebuild:
34 + Version bump
35
36 *lhapdf-6.1.2 (10 Jun 2014)
37
38
39
40
41 1.1 sci-physics/lhapdf/lhapdf-6.1.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/lhapdf-6.1.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/lhapdf-6.1.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: lhapdf-6.1.3.ebuild
47 ===================================================================
48 # Copyright 1999-2014 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.1.3.ebuild,v 1.1 2014/06/30 18:43:22 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://lhapdf.hepforge.org/"
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:0=
75 python? ( ${PYTHON_DEPS} )"
76 DEPEND="${RDEPEND}
77 doc? ( app-doc/doxygen[latex] )"
78
79 S="${WORKDIR}/${MY_PF}"
80
81 src_configure() {
82 autotools-utils_src_configure $(use_enable python)
83 if use python; then
84 cd "${S}/wrappers/python" && distutils-r1_src_prepare
85 fi
86 }
87
88 src_compile() {
89 autotools-utils_src_compile all $(use doc && echo doxy)
90 if use python; then
91 cd "${S}/wrappers/python" && distutils-r1_src_compile
92 fi
93 }
94
95 src_test() {
96 autotools-utils_src_compile -C tests
97 }
98
99 src_install() {
100 autotools-utils_src_install
101 use doc && dohtml -r doc/doxygen/*
102 if use examples; then
103 insinto /usr/share/doc/${PF}/examples
104 doins examples/*.cc
105 fi
106 if use python; then
107 cd "${S}/wrappers/python" && distutils-r1_src_install
108 fi
109 }
110
111 pkg_postinst() {
112 elog "Download data files from:"
113 elog "http://www.hepforge.org/archive/${PN}/pdfsets/$(get_version_component_range 1-2 ${PV})"
114 elog "and untar them into ${EROOT%/}/usr/share/LHAPDF"
115 }