diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2007-05-09 06:47:17 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2007-05-09 06:47:17 +0000 |
commit | d7753f2ac0ed365fc7dba3370e41c514bb3cd996 (patch) | |
tree | 1d108be4d3197504f980e1dcdb64b30b98ea3ea2 /sci-physics | |
parent | Fix dependencies (diff) | |
download | historical-d7753f2ac0ed365fc7dba3370e41c514bb3cd996.tar.gz historical-d7753f2ac0ed365fc7dba3370e41c514bb3cd996.tar.bz2 historical-d7753f2ac0ed365fc7dba3370e41c514bb3cd996.zip |
Bump.
Package-Manager: portage-2.1.2.5
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/abinit/ChangeLog | 10 | ||||
-rw-r--r-- | sci-physics/abinit/Manifest | 20 | ||||
-rw-r--r-- | sci-physics/abinit/abinit-5.3.4.ebuild | 102 | ||||
-rw-r--r-- | sci-physics/abinit/files/5.3.4-change-default-directories.patch | 34 | ||||
-rw-r--r-- | sci-physics/abinit/files/digest-abinit-5.3.4 | 3 |
5 files changed, 163 insertions, 6 deletions
diff --git a/sci-physics/abinit/ChangeLog b/sci-physics/abinit/ChangeLog index 59506411e7a9..3d102ce8a72f 100644 --- a/sci-physics/abinit/ChangeLog +++ b/sci-physics/abinit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-physics/abinit -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/abinit/ChangeLog,v 1.6 2006/10/18 05:08:42 dberkholz Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/abinit/ChangeLog,v 1.7 2007/05/09 06:47:17 dberkholz Exp $ + +*abinit-5.3.4 (09 May 2007) + + 09 May 2007; Donnie Berkholz <dberkholz@gentoo.org>; + +files/5.3.4-change-default-directories.patch, +abinit-5.3.4.ebuild: + Bump. 18 Oct 2006; Donnie Berkholz <dberkholz@gentoo.org>; -files/fix-64bit-detection.patch, diff --git a/sci-physics/abinit/Manifest b/sci-physics/abinit/Manifest index ada17293f420..6a359e115df5 100644 --- a/sci-physics/abinit/Manifest +++ b/sci-physics/abinit/Manifest @@ -6,15 +6,24 @@ AUX 5.2.3-fix-64bit-detection.patch 492 RMD160 286765a4fb7b06afd9f829799ad9cd981 MD5 12044dbd4a9fded54fa72705180e247c files/5.2.3-fix-64bit-detection.patch 492 RMD160 286765a4fb7b06afd9f829799ad9cd9811711d32 files/5.2.3-fix-64bit-detection.patch 492 SHA256 414be70962e0bdaffc51f9aacce5f5e171e046d7aeacf26d2706961c02501138 files/5.2.3-fix-64bit-detection.patch 492 +AUX 5.3.4-change-default-directories.patch 1550 RMD160 02abf8695d4a12b0d47b96f86fedb05f65f0fde8 SHA1 03c6200cbe0458040cd3f7af42a28515b4c17b57 SHA256 3d493ed6f49924c248694d0de5aa0c66ac693b4ce5c6b3ce892471c9b2d7fbf7 +MD5 427fcc3c608adad2fb476ec1287bff29 files/5.3.4-change-default-directories.patch 1550 +RMD160 02abf8695d4a12b0d47b96f86fedb05f65f0fde8 files/5.3.4-change-default-directories.patch 1550 +SHA256 3d493ed6f49924c248694d0de5aa0c66ac693b4ce5c6b3ce892471c9b2d7fbf7 files/5.3.4-change-default-directories.patch 1550 DIST abinit-5.2.3.tar.gz 21074280 RMD160 efc2b86ef7c800c1d63801b751e6d8b5272903ac SHA1 38d447351211861b1e66020860802254257082a2 SHA256 9ea727cc45b97f1d3a65d4739792cc37abaf762aba118b26183e900a9eab3fe6 +DIST abinit-5.3.4.tar.gz 28292542 RMD160 7a4bf36e755d56ab8b85f0a609b847c582ff38c9 SHA1 e310ef7c7a6c6edfdfc9007d34ccdde881be71bb SHA256 5f173483d798c99687d3706f110a98c7d4d8639e4222e7e3fb628d7cc6bf9ea1 EBUILD abinit-5.2.3.ebuild 2411 RMD160 9eee169aca988566e09faa0b603103236c18df8d SHA1 67261550e4263de68ebd1e6d7eb69e6bb51ffc61 SHA256 69f9855b8abd7dbc84807cdf7b2006455b820fff242e4ef08f5a34c0f89cadb2 MD5 04d322cffc1417b9c4933387eed64d6c abinit-5.2.3.ebuild 2411 RMD160 9eee169aca988566e09faa0b603103236c18df8d abinit-5.2.3.ebuild 2411 SHA256 69f9855b8abd7dbc84807cdf7b2006455b820fff242e4ef08f5a34c0f89cadb2 abinit-5.2.3.ebuild 2411 -MISC ChangeLog 1694 RMD160 3a4c84d59313427a920f339a3d97b3778f7cc304 SHA1 7708fce193031dc4b35cff0322c5734cbe52e866 SHA256 b2cb60f0a592ce4f53627dae53b1b331004d24c87d9f13bbf0f5669fa297e41e -MD5 f92d252d30f1f9c7d21631a8b2a2df15 ChangeLog 1694 -RMD160 3a4c84d59313427a920f339a3d97b3778f7cc304 ChangeLog 1694 -SHA256 b2cb60f0a592ce4f53627dae53b1b331004d24c87d9f13bbf0f5669fa297e41e ChangeLog 1694 +EBUILD abinit-5.3.4.ebuild 2411 RMD160 019034070111714d8350d03120002f87ed8b9cb4 SHA1 7a960e629fa7edc2bc3dfc93386cb26424ee1597 SHA256 04a1139eb8b19e50e782e622a15002d96b0ec7e04f614be0b61e7ebfea5af135 +MD5 e1711a645b92537e9e1792b36b36e852 abinit-5.3.4.ebuild 2411 +RMD160 019034070111714d8350d03120002f87ed8b9cb4 abinit-5.3.4.ebuild 2411 +SHA256 04a1139eb8b19e50e782e622a15002d96b0ec7e04f614be0b61e7ebfea5af135 abinit-5.3.4.ebuild 2411 +MISC ChangeLog 1858 RMD160 33048ff960ffda856c8a47a973455eb0a0fe0a27 SHA1 c9016fb1722b5119923c892cdf3b72390a84096c SHA256 28307c7ae583b806f49979848b3173df595356a33b4463006f77e67b1bec563e +MD5 1bf6c78ddef0d62be0152b362470c874 ChangeLog 1858 +RMD160 33048ff960ffda856c8a47a973455eb0a0fe0a27 ChangeLog 1858 +SHA256 28307c7ae583b806f49979848b3173df595356a33b4463006f77e67b1bec563e ChangeLog 1858 MISC metadata.xml 256 RMD160 c1dd75e3f77bae7a5bd165e4d4592520e5f9f3ed SHA1 d0bd0c0728a0932c75ba6ee62a3610b0e948ddcf SHA256 1a34797175a4f62913c4dee4631b5141b08ddab164776021e52167239e16e1d8 MD5 e4d8840a91454fdb287fdd721964bbd5 metadata.xml 256 RMD160 c1dd75e3f77bae7a5bd165e4d4592520e5f9f3ed metadata.xml 256 @@ -22,3 +31,6 @@ SHA256 1a34797175a4f62913c4dee4631b5141b08ddab164776021e52167239e16e1d8 metadata MD5 d7fe3115b58bbd92826a3d631dadd8fb files/digest-abinit-5.2.3 244 RMD160 b498cf1aa6ad26f4a90a3a906ae4bc07a8d4876d files/digest-abinit-5.2.3 244 SHA256 6f7d2b025e2c3ca229adbef3f2d124b8e604df2afd4e540dadd35cd48be71776 files/digest-abinit-5.2.3 244 +MD5 2ed725de18b97cf6c3d7477fc6958af7 files/digest-abinit-5.3.4 244 +RMD160 093876f841cdf7d17372c8102e5c6eb6fd191a96 files/digest-abinit-5.3.4 244 +SHA256 f55d71ed2e0a0b6d3cc0517ffbf8145459d203ac64e053122d0e5f3e634f952a files/digest-abinit-5.3.4 244 diff --git a/sci-physics/abinit/abinit-5.3.4.ebuild b/sci-physics/abinit/abinit-5.3.4.ebuild new file mode 100644 index 000000000000..813e3e606e51 --- /dev/null +++ b/sci-physics/abinit/abinit-5.3.4.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/abinit/abinit-5.3.4.ebuild,v 1.1 2007/05/09 06:47:17 dberkholz Exp $ + +inherit fortran toolchain-funcs + +DESCRIPTION="Find total energy, charge density and electronic structure using density functional theory" +HOMEPAGE="http://www.abinit.org/" +SRC_URI="ftp://ftp.abinit.org/pub/abinitio/ABINIT_v${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +#IUSE="mpi netcdf test" +IUSE="mpi test" + +RDEPEND="virtual/blas + virtual/lapack" +# Doesn't build with 4.1-20060210 +# netcdf? ( sci-libs/netcdf ) +DEPEND="${RDEPEND}" + +# F90 code, g77 won't work +FORTRAN="gfortran ifc" + +pkg_setup() { + fortran_pkg_setup + + # Doesn't compile with gcc-4.0, only >=4.1 + local diemsg="Requires gcc-4.1 or newer" + if [[ "${FORTRANC}" = "gfortran" ]]; then + if [[ $(gcc-major-version) -eq 4 ]] \ + && [[ $(gcc-minor-version) -lt 1 ]]; then + die "${diemsg}" + fi + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PV}-change-default-directories.patch + epatch "${FILESDIR}"/5.2.3-fix-64bit-detection.patch + + # Yea for breaking compatibility with no ChangeLog entry in 2.60 + if has_version '>=sys-devel/autoconf-2.60'; then + sed -i -e "s:_AC_SRCPATHS:_AC_SRCDIRS:g" config/m4/init.m4 + fi + + AT_M4DIR="config/m4" eautoreconf +} + +src_compile() { + econf \ + --with-install-type=debian \ + --disable-config-file \ + --disable-library-search \ + $(use_enable mpi) \ + --with-blas-prefix=/usr \ + --with-lapack-prefix=/usr \ + --with-c-optflags="${CFLAGS}" \ + --with-fortran-optflags="${FFLAGS}" \ + --with-fortran-ldflags='-lpthread' \ + FC="${FORTRANC}" \ + CC="$(tc-getCC)" \ + || die "configure failed" +# $(use_enable netcdf) \ + + emake || die "make failed" +} + +src_test() { + einfo "The tests take quite a while, on the order of 2-3 hours" + einfo "on a dual Athlon 2000+." + cd "${S}"/tests + emake tests_dev + + local REPORT + for REPORT in $(find . -name *fl*); do + elog "Results for ${REPORT%%/*} tests" + while read line; do + elog "${line}" + done \ + < <(cat ${REPORT} ) + done +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + + if use test; then + dodoc tests/summary_tests.tar.gz + fi + + dodoc KNOWN_PROBLEMS README +} + +pkg_postinst() { + if use test; then + elog "The test results will be installed as summary_tests.tar.gz." + fi +} diff --git a/sci-physics/abinit/files/5.3.4-change-default-directories.patch b/sci-physics/abinit/files/5.3.4-change-default-directories.patch new file mode 100644 index 000000000000..1bbbd158b2d6 --- /dev/null +++ b/sci-physics/abinit/files/5.3.4-change-default-directories.patch @@ -0,0 +1,34 @@ +diff -urN abinit-5.3.4.orig/config/m4/init.m4 abinit-5.3.4/config/m4/init.m4 +--- abinit-5.3.4.orig/config/m4/init.m4 2007-05-08 23:23:04.000000000 -0700 ++++ abinit-5.3.4/config/m4/init.m4 2007-05-08 23:25:19.000000000 -0700 +@@ -207,14 +207,14 @@ + fi + + dnl Set-up all directory names +- abinit_bindir="${abinit_prefix}/abinit/${ABINIT_VERSION_BASE}/bin" +- abinit_chkdir="${abinit_prefix}/abinit/${ABINIT_VERSION_BASE}/tests" ++ abinit_bindir="${abinit_prefix}/bin" ++ abinit_chkdir="${abinit_prefix}/share/abinit/tests" + abinit_datdir="${abinit_prefix}/abinit" +- abinit_docdir="${abinit_prefix}/abinit/${ABINIT_VERSION_BASE}/doc" +- abinit_incdir="${abinit_prefix}/abinit/${ABINIT_VERSION_BASE}/include" +- abinit_libdir="${abinit_prefix}/abinit/${ABINIT_VERSION_BASE}/lib" +- abinit_mandir="${abinit_prefix}/abinit/man" +- abinit_rundir="${abinit_prefix}/abinit/bin" ++ abinit_docdir="${abinit_prefix}/share/doc/abinit-${ABINIT_VERSION_BASE}" ++ abinit_incdir="${abinit_prefix}/include" ++ abinit_libdir="${abinit_prefix}/lib" ++ abinit_mandir="${abinit_prefix}/share/man/man" ++ abinit_rundir="${abinit_prefix}/bin" + abinit_wwwdir="${abinit_prefix}/abinit/${ABINIT_VERSION_BASE}/www" + + dnl Substitute all variables +@@ -288,7 +288,7 @@ + fi + ABINIT_VERSION_BUILD=`date '+%Y%m%d'` + +- ABINIT_VERSION_BASE="${ABINIT_VERSION_MAJOR}.${ABINIT_VERSION_MINOR}" ++ ABINIT_VERSION_BASE="${ABINIT_VERSION_MAJOR}.${ABINIT_VERSION_MINOR}.${ABINIT_VERSION_MICRO}" + + dnl Make numbers available to source files + AC_DEFINE_UNQUOTED(ABINIT_VERSION,"${ABINIT_VERSION}", diff --git a/sci-physics/abinit/files/digest-abinit-5.3.4 b/sci-physics/abinit/files/digest-abinit-5.3.4 new file mode 100644 index 000000000000..1c975d2dd9dd --- /dev/null +++ b/sci-physics/abinit/files/digest-abinit-5.3.4 @@ -0,0 +1,3 @@ +MD5 29597bf246d42a3c12c38c3b66aa62a5 abinit-5.3.4.tar.gz 28292542 +RMD160 7a4bf36e755d56ab8b85f0a609b847c582ff38c9 abinit-5.3.4.tar.gz 28292542 +SHA256 5f173483d798c99687d3706f110a98c7d4d8639e4222e7e3fb628d7cc6bf9ea1 abinit-5.3.4.tar.gz 28292542 |