1 |
bicatali 13/10/30 17:16:28 |
2 |
|
3 |
Modified: lhapdf-5.8.9.ebuild ChangeLog |
4 |
Added: lhapdf-5.9.1.ebuild |
5 |
Removed: lhapdf-5.8.8.ebuild |
6 |
Log: |
7 |
Version bump, switch to EAPI5 and python-r1, fixing bug #488698 |
8 |
|
9 |
(Portage version: 2.2.7-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360) |
10 |
|
11 |
Revision Changes Path |
12 |
1.2 sci-physics/lhapdf/lhapdf-5.8.9.ebuild |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/lhapdf-5.8.9.ebuild?rev=1.2&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/lhapdf-5.8.9.ebuild?rev=1.2&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/lhapdf-5.8.9.ebuild?r1=1.1&r2=1.2 |
17 |
|
18 |
Index: lhapdf-5.8.9.ebuild |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/lhapdf-5.8.9.ebuild,v |
21 |
retrieving revision 1.1 |
22 |
retrieving revision 1.2 |
23 |
diff -u -r1.1 -r1.2 |
24 |
--- lhapdf-5.8.9.ebuild 4 Jun 2013 17:47:01 -0000 1.1 |
25 |
+++ lhapdf-5.8.9.ebuild 30 Oct 2013 17:16:28 -0000 1.2 |
26 |
@@ -1,11 +1,13 @@ |
27 |
# Copyright 1999-2013 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/lhapdf-5.8.9.ebuild,v 1.1 2013/06/04 17:47:01 bicatali Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/lhapdf-5.8.9.ebuild,v 1.2 2013/10/30 17:16:28 bicatali Exp $ |
31 |
|
32 |
EAPI=5 |
33 |
|
34 |
AUTOTOOLS_IN_SOURCE_BUILD=yes |
35 |
-inherit versionator autotools-utils |
36 |
+PYTHON_COMPAT=( python{2_6,2_7} ) |
37 |
+ |
38 |
+inherit versionator autotools-utils python-single-r1 |
39 |
|
40 |
MY_PV=$(get_version_component_range 1-3 ${PV}) |
41 |
MY_PF=${PN}-${MY_PV} |
42 |
@@ -24,8 +26,11 @@ |
43 |
SLOT="0" |
44 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
45 |
IUSE="cxx doc examples octave python static-libs test" |
46 |
-REQUIRED_USE="octave? ( cxx )" |
47 |
-RDEPEND="octave? ( sci-mathematics/octave )" |
48 |
+REQUIRED_USE="octave? ( cxx ) python? ( ${PYTHON_REQUIRED_USE} )" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ octave? ( sci-mathematics/octave ) |
52 |
+ python? ( ${PYTHON_DEPS} )" |
53 |
DEPEND="${RDEPEND} |
54 |
doc? ( app-doc/doxygen[latex] ) |
55 |
python? ( dev-lang/swig )" |
56 |
@@ -70,5 +75,5 @@ |
57 |
|
58 |
pkg_postinst() { |
59 |
elog "To install data files, you have to run as root:" |
60 |
- elog "lhapdf-getdata --dest=${EROOT}usr/share/lhapdf/PDFsets --all" |
61 |
+ elog "lhapdf-getdata --dest=${EROOT%/}/usr/share/lhapdf/PDFsets --all" |
62 |
} |
63 |
|
64 |
|
65 |
|
66 |
1.22 sci-physics/lhapdf/ChangeLog |
67 |
|
68 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/ChangeLog?rev=1.22&view=markup |
69 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/ChangeLog?rev=1.22&content-type=text/plain |
70 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/ChangeLog?r1=1.21&r2=1.22 |
71 |
|
72 |
Index: ChangeLog |
73 |
=================================================================== |
74 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v |
75 |
retrieving revision 1.21 |
76 |
retrieving revision 1.22 |
77 |
diff -u -r1.21 -r1.22 |
78 |
--- ChangeLog 4 Jun 2013 17:47:01 -0000 1.21 |
79 |
+++ ChangeLog 30 Oct 2013 17:16:28 -0000 1.22 |
80 |
@@ -1,6 +1,12 @@ |
81 |
# ChangeLog for sci-physics/lhapdf |
82 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
83 |
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.21 2013/06/04 17:47:01 bicatali Exp $ |
84 |
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.22 2013/10/30 17:16:28 bicatali Exp $ |
85 |
+ |
86 |
+*lhapdf-5.9.1 (30 Oct 2013) |
87 |
+ |
88 |
+ 30 Oct 2013; Sébastien Fabbro <bicatali@g.o> +lhapdf-5.9.1.ebuild, |
89 |
+ -lhapdf-5.8.8.ebuild, lhapdf-5.8.9.ebuild: |
90 |
+ Version bump, switch to EAPI5 and python-r1, fixing bug #488698 |
91 |
|
92 |
*lhapdf-5.8.9 (04 Jun 2013) |
93 |
|
94 |
|
95 |
|
96 |
|
97 |
1.1 sci-physics/lhapdf/lhapdf-5.9.1.ebuild |
98 |
|
99 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/lhapdf-5.9.1.ebuild?rev=1.1&view=markup |
100 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/lhapdf/lhapdf-5.9.1.ebuild?rev=1.1&content-type=text/plain |
101 |
|
102 |
Index: lhapdf-5.9.1.ebuild |
103 |
=================================================================== |
104 |
# Copyright 1999-2013 Gentoo Foundation |
105 |
# Distributed under the terms of the GNU General Public License v2 |
106 |
# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/lhapdf-5.9.1.ebuild,v 1.1 2013/10/30 17:16:28 bicatali Exp $ |
107 |
|
108 |
EAPI=5 |
109 |
|
110 |
AUTOTOOLS_IN_SOURCE_BUILD=yes |
111 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
112 |
|
113 |
inherit versionator autotools-utils python-single-r1 |
114 |
|
115 |
MY_PV=$(get_version_component_range 1-3 ${PV}) |
116 |
MY_PF=${PN}-${MY_PV} |
117 |
|
118 |
DESCRIPTION="Les Houches Parton Density Function unified library" |
119 |
HOMEPAGE="http://projects.hepforge.org/lhapdf/" |
120 |
SRC_URI="http://www.hepforge.org/archive/lhapdf/${MY_PF}.tar.gz |
121 |
test? ( |
122 |
http://www.hepforge.org/archive/${PN}/pdfsets/${MY_PV}/cteq61.LHgrid |
123 |
http://www.hepforge.org/archive/${PN}/pdfsets/${MY_PV}/MRST2004nlo.LHgrid |
124 |
http://www.hepforge.org/archive/${PN}/pdfsets/${MY_PV}/cteq61.LHpdf |
125 |
http://www.hepforge.org/archive/${PN}/pdfsets/${MY_PV}/CT10.LHgrid |
126 |
octave? ( http://www.hepforge.org/archive/${PN}/pdfsets/${MY_PV}/cteq5l.LHgrid ) )" |
127 |
|
128 |
LICENSE="GPL-2" |
129 |
SLOT="0" |
130 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
131 |
IUSE="cxx doc examples octave python static-libs test" |
132 |
REQUIRED_USE="octave? ( cxx ) python? ( ${PYTHON_REQUIRED_USE} )" |
133 |
|
134 |
RDEPEND=" |
135 |
octave? ( sci-mathematics/octave ) |
136 |
python? ( ${PYTHON_DEPS} )" |
137 |
DEPEND="${RDEPEND} |
138 |
doc? ( app-doc/doxygen[latex] ) |
139 |
python? ( dev-lang/swig )" |
140 |
|
141 |
S="${WORKDIR}/${MY_PF}" |
142 |
|
143 |
src_prepare() { |
144 |
# do not create extra latex docs |
145 |
sed -i \ |
146 |
-e 's/GENERATE_LATEX.*=YES/GENERATE_LATEX = NO/g' \ |
147 |
ccwrap/Doxyfile || die |
148 |
} |
149 |
|
150 |
src_configure() { |
151 |
local myeconfargs=( |
152 |
$(use_enable cxx ccwrap) |
153 |
$(use_enable cxx old-ccwrap) |
154 |
$(use_enable doc doxygen) |
155 |
$(use_enable octave) |
156 |
$(use_enable python pyext) |
157 |
) |
158 |
autotools-utils_src_configure |
159 |
} |
160 |
|
161 |
src_test() { |
162 |
cd "${BUILD_DIR}" |
163 |
# need to make a bogus link for octave test |
164 |
ln -s "${DISTDIR}" PDFsets |
165 |
LHAPATH="${PWD}/PDFsets" \ |
166 |
LD_LIBRARY_PATH="${PWD}/lib/.libs:${LD_LIBRARY_PATH}" \ |
167 |
emake check |
168 |
} |
169 |
|
170 |
src_install() { |
171 |
autotools-utils_src_install |
172 |
use python \ |
173 |
&& python_fix_shebang "${ED}"/usr/bin/lhapdf-{getdata,query} |
174 |
use doc && use cxx && dohtml -r ccwrap/doxy/html/* |
175 |
if use examples; then |
176 |
insinto /usr/share/doc/${PF}/examples |
177 |
doins examples/*.{f,cc} |
178 |
fi |
179 |
} |
180 |
|
181 |
pkg_postinst() { |
182 |
elog "To install data files, you have to run as root:" |
183 |
elog "lhapdf-getdata --dest=${EROOT%/}/usr/share/lhapdf/PDFsets --all" |
184 |
} |