1 |
bicatali 12/01/30 01:45:42 |
2 |
|
3 |
Modified: ChangeLog camfr-20070717-r2.ebuild |
4 |
Added: camfr-20070717-r3.ebuild |
5 |
Log: |
6 |
Adapt new boost python scheme, bug #401391 |
7 |
|
8 |
(Portage version: 2.1.10.41/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.22 sci-physics/camfr/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/ChangeLog?rev=1.22&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/ChangeLog?rev=1.22&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/ChangeLog?r1=1.21&r2=1.22 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v |
20 |
retrieving revision 1.21 |
21 |
retrieving revision 1.22 |
22 |
diff -u -r1.21 -r1.22 |
23 |
--- ChangeLog 21 Jun 2011 14:41:10 -0000 1.21 |
24 |
+++ ChangeLog 30 Jan 2012 01:45:42 -0000 1.22 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sci-physics/camfr |
27 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.21 2011/06/21 14:41:10 jlec Exp $ |
29 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.22 2012/01/30 01:45:42 bicatali Exp $ |
31 |
+ |
32 |
+*camfr-20070717-r3 (30 Jan 2012) |
33 |
+ |
34 |
+ 30 Jan 2012; Sébastien Fabbro <bicatali@g.o> |
35 |
+ camfr-20070717-r2.ebuild, +camfr-20070717-r3.ebuild: |
36 |
+ Adapt new boost python scheme, bug #401391 |
37 |
|
38 |
21 Jun 2011; Justin Lecher <jlec@g.o> camfr-20070717-r2.ebuild: |
39 |
Add dependency on virtual/fortran |
40 |
|
41 |
|
42 |
|
43 |
1.5 sci-physics/camfr/camfr-20070717-r2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild?rev=1.5&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild?rev=1.5&content-type=text/plain |
47 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild?r1=1.4&r2=1.5 |
48 |
|
49 |
Index: camfr-20070717-r2.ebuild |
50 |
=================================================================== |
51 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild,v |
52 |
retrieving revision 1.4 |
53 |
retrieving revision 1.5 |
54 |
diff -u -r1.4 -r1.5 |
55 |
--- camfr-20070717-r2.ebuild 21 Jun 2011 14:41:10 -0000 1.4 |
56 |
+++ camfr-20070717-r2.ebuild 30 Jan 2012 01:45:42 -0000 1.5 |
57 |
@@ -1,6 +1,6 @@ |
58 |
-# Copyright 1999-2011 Gentoo Foundation |
59 |
+# Copyright 1999-2012 Gentoo Foundation |
60 |
# Distributed under the terms of the GNU General Public License v2 |
61 |
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild,v 1.4 2011/06/21 14:41:10 jlec Exp $ |
62 |
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild,v 1.5 2012/01/30 01:45:42 bicatali Exp $ |
63 |
|
64 |
EAPI=2 |
65 |
|
66 |
@@ -25,7 +25,7 @@ |
67 |
virtual/fortran |
68 |
|
69 |
dev-libs/blitz |
70 |
- dev-libs/boost[python] |
71 |
+ <dev-libs/boost-1.48[python] |
72 |
dev-python/imaging[tk] |
73 |
dev-python/matplotlib |
74 |
sci-libs/scipy |
75 |
|
76 |
|
77 |
|
78 |
1.1 sci-physics/camfr/camfr-20070717-r3.ebuild |
79 |
|
80 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/camfr-20070717-r3.ebuild?rev=1.1&view=markup |
81 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/camfr-20070717-r3.ebuild?rev=1.1&content-type=text/plain |
82 |
|
83 |
Index: camfr-20070717-r3.ebuild |
84 |
=================================================================== |
85 |
# Copyright 1999-2012 Gentoo Foundation |
86 |
# Distributed under the terms of the GNU General Public License v2 |
87 |
# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r3.ebuild,v 1.1 2012/01/30 01:45:42 bicatali Exp $ |
88 |
|
89 |
EAPI=4 |
90 |
|
91 |
PYTHON_DEPEND="2" |
92 |
PYTHON_USE_WITH="tk" |
93 |
SUPPORT_PYTHON_ABIS="1" |
94 |
|
95 |
inherit eutils fortran-2 distutils |
96 |
|
97 |
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="true" |
98 |
|
99 |
DESCRIPTION="Full vectorial Maxwell solver based on eigenmode expansion" |
100 |
HOMEPAGE="http://camfr.sourceforge.net/" |
101 |
SRC_URI="mirror://sourceforge/camfr/${P}.tgz" |
102 |
|
103 |
SLOT="0" |
104 |
LICENSE="GPL-2" |
105 |
KEYWORDS="~amd64 ~x86" |
106 |
IUSE="" |
107 |
|
108 |
RDEPEND="virtual/fortran |
109 |
dev-libs/blitz |
110 |
>=dev-libs/boost-1.48[python] |
111 |
dev-python/imaging[tk] |
112 |
dev-python/matplotlib |
113 |
sci-libs/scipy |
114 |
virtual/lapack" |
115 |
DEPEND="${RDEPEND} |
116 |
dev-util/pkgconfig |
117 |
dev-util/scons" |
118 |
|
119 |
RESTRICT_PYTHON_ABIS="3.*" |
120 |
|
121 |
S="${WORKDIR}/${P/-/_}" |
122 |
|
123 |
src_prepare() { |
124 |
epatch "${FILESDIR}"/${P}-gcc43.patch |
125 |
epatch "${FILESDIR}"/${P}-python.patch |
126 |
cp "${FILESDIR}"/machine_cfg.py.gentoo machine_cfg.py || die |
127 |
python_copy_sources |
128 |
|
129 |
preparation() { |
130 |
local libfort lapack_libs lapack_libdirs |
131 |
# Configure to compile against selected python version |
132 |
cat <<-EOF >> machine_cfg.py |
133 |
include_dirs = [] |
134 |
include_dirs.append("$(python_get_includedir)") |
135 |
include_dirs.append("$(python_get_sitedir)") |
136 |
EOF |
137 |
local x |
138 |
for x in $(pkg-config --libs-only-l lapack); do |
139 |
lapack_libs="${lapack_libs}, \"${x#-l}\"" |
140 |
done |
141 |
for x in $(pkg-config --libs-only-L lapack); do |
142 |
lapack_libdirs="${lapack_libdirs}, \"${x#-L}\"" |
143 |
done |
144 |
cat <<-EOF >> machine_cfg.py |
145 |
library_dirs = [${lapack_libdirs#,}] |
146 |
libs = ["boost_python-${PYTHON_ABI}", "blitz"${lapack_libs}] |
147 |
EOF |
148 |
} |
149 |
python_execute_function -s preparation |
150 |
} |
151 |
|
152 |
src_test() { |
153 |
testing() { |
154 |
# trick to avoid X in testing (bug #229753) |
155 |
echo "backend : Agg" > matplotlibrc |
156 |
PYTHONPATH=".:visualisation" "$(PYTHON)" testsuite/camfr_test.py |
157 |
rm -f matplotlibrc |
158 |
} |
159 |
python_execute_function -s testing |
160 |
} |
161 |
|
162 |
src_install() { |
163 |
distutils_src_install |
164 |
dodoc docs/camfr.pdf |
165 |
} |