summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-11-12 17:55:06 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-11-12 17:55:06 +0000
commit686a49fd89d3dffc48415c8291fb8da2be3b01d5 (patch)
tree7535fc80120a5a19f0ae0e895b98120b8be21e9d /sci-physics
parentImport from Java overlay, dependency of sci-biology/cytoscape (diff)
downloadhistorical-686a49fd89d3dffc48415c8291fb8da2be3b01d5.tar.gz
historical-686a49fd89d3dffc48415c8291fb8da2be3b01d5.tar.bz2
historical-686a49fd89d3dffc48415c8291fb8da2be3b01d5.zip
Now depend on boost[python] and removed the use of fortran eclass
Package-Manager: portage-2.2_rc48/cvs/Linux x86_64
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/camfr/ChangeLog6
-rw-r--r--sci-physics/camfr/Manifest12
-rw-r--r--sci-physics/camfr/camfr-20070717-r1.ebuild16
3 files changed, 18 insertions, 16 deletions
diff --git a/sci-physics/camfr/ChangeLog b/sci-physics/camfr/ChangeLog
index d4bc3744b5d7..965544921963 100644
--- a/sci-physics/camfr/ChangeLog
+++ b/sci-physics/camfr/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-physics/camfr
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.14 2009/07/26 00:24:15 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.15 2009/11/12 17:55:06 bicatali Exp $
+
+ 12 Nov 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ camfr-20070717-r1.ebuild:
+ Now depend on boost[python] and removed the use of fortran eclass
26 Jul 2009; Sébastien Fabbro <bicatali@gentoo.org>
camfr-20070717-r1.ebuild, files/machine_cfg.py.gentoo:
diff --git a/sci-physics/camfr/Manifest b/sci-physics/camfr/Manifest
index cbad569a7a33..e0cde2ab4b32 100644
--- a/sci-physics/camfr/Manifest
+++ b/sci-physics/camfr/Manifest
@@ -4,13 +4,13 @@ Hash: SHA1
AUX camfr-20070717-gcc43.patch 391 RMD160 4addf806c2d8ddb5ee5dbd2cc1b02381dbf3f6b8 SHA1 41ef3f6be02d4d6b6bf6d03b4b1f6e9ef0fca3d9 SHA256 50cfc3e04c4774fd0404d044c128cf8346c1762e64808ca77147cb4207729db3
AUX machine_cfg.py.gentoo 638 RMD160 9a2016338d094e1b1d32444bd2ed281cfca1551e SHA1 96084ebc5ae03698b52a1b9a82899869f43c2532 SHA256 8942256f99ad1432d7092cb616727ffd6ef82834435e185f9b9863e420bf08f0
DIST camfr-20070717.tgz 763070 RMD160 4e4237188caecd4dca3980b9cab381479e6382bc SHA1 7838482db8557b365dac51769950d49746397e29 SHA256 f675ba7d58947076c0679c8760c9282e2efc82828bec67de90567fd8a4f135de
-EBUILD camfr-20070717-r1.ebuild 1975 RMD160 643f07a6dc759796ea2cef594c55c1d266be8997 SHA1 71e34d99d772421494018664a080327a5fa47b19 SHA256 cbb2c5eab93d41c9fd6aaddf67d4b0194f2509546341f659798a619101edbbea
-MISC ChangeLog 2589 RMD160 4f997097ae4fd855c0fee258ec6e67abf3dcc9d5 SHA1 c5de5c3e78bca7c1236e22c054f65aaaae7f814e SHA256 0db2282abe3dd8a7e4a9efa79464db77a18e6106ee7c43ade8b43f999996675d
+EBUILD camfr-20070717-r1.ebuild 1921 RMD160 fa66f28d321b5fbbff0dca9537e08f14d762b854 SHA1 b0a96a109d3d4060db0654b6d48e57aca7ab1a23 SHA256 77e8930fbc0f5f6dd6fd7971ef4d09ae1986715671d3ca24376ef69474fdef7c
+MISC ChangeLog 2741 RMD160 3af4b534db6df000e59a6f1fea6e30cf26124a5c SHA1 6aaa8791c17e5a4d532e8ded6006c758a820ee18 SHA256 1022f038286250cffabf9d081b4c4689ee0c90c36c22d6d03489e4cc362d40b4
MISC metadata.xml 164 RMD160 6e4c63a6f70f174f40277eed39ac05fba4a49566 SHA1 e1af6f2028e69dee3c76e7e85353a144c83d3383 SHA256 9eddaccbdd2f6b3f93213d72782f07518dff1625fd8d63faf61dc97bd328b5e7
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.13 (GNU/Linux)
-iEYEARECAAYFAkprojoACgkQ1ycZbhPLE2BpUACgpcaskzyzcdL2lQ8BtdEAl7gp
-mnwAn0y4OJE6WJRWsdslfAE7hUvCepm+
-=PRGY
+iEYEARECAAYFAkr8VeoACgkQ1ycZbhPLE2CbvwCeKfRawP3G5l/AjpqZIJJV0OjM
+IC8AnjLnMFdf0tAc/X/0ViEWf3I1nHLT
+=0j0Z
-----END PGP SIGNATURE-----
diff --git a/sci-physics/camfr/camfr-20070717-r1.ebuild b/sci-physics/camfr/camfr-20070717-r1.ebuild
index 355ded6acdfb..b6620885e44e 100644
--- a/sci-physics/camfr/camfr-20070717-r1.ebuild
+++ b/sci-physics/camfr/camfr-20070717-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r1.ebuild,v 1.4 2009/07/26 00:24:15 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r1.ebuild,v 1.5 2009/11/12 17:55:06 bicatali Exp $
EAPI=2
-inherit eutils distutils fortran python
+inherit eutils distutils python toolchain-funcs
DESCRIPTION="Full vectorial Maxwell solver based on eigenmode expansion"
HOMEPAGE="http://camfr.sourceforge.net/"
@@ -18,7 +18,7 @@ RDEPEND="sci-libs/scipy
dev-lang/python[tk]
dev-python/imaging[tk]
dev-python/matplotlib
- dev-libs/boost
+ dev-libs/boost[python]
dev-libs/blitz
virtual/lapack"
@@ -49,17 +49,15 @@ src_prepare() {
lapack_libdirs="${lapack_libdirs}, \"${x#-L}\""
done
local libfort
- case ${FORTRANC} in
- gfortran) libfort=gfortran ;;
- g77) libfort=g2c ;;
+ case "$(tc-getF77)" in
+ *gfortran) libfort=gfortran ;;
+ *g77) libfort=g2c ;;
esac
cat <<-EOF >> machine_cfg.py
library_dirs = [${lapack_libdirs#,}]
libs = ["boost_python", "${libfort}", "blitz"${lapack_libs}]
EOF
-
- # scons redefines F77 to FORTRAN for env variables
- sed -i -e 's/F77/FORTRAN/g' SConstruct || die
+ export F77=$(tc-getF77)
}
src_test() {