diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2006-10-18 04:55:28 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2006-10-18 04:55:28 +0000 |
commit | 8cffd0171471eb2008266bb813b029335a5f89ec (patch) | |
tree | 68158e5dcabe391c4f635f13b46eeb5318e4584b /sci-physics | |
parent | Stable x86; checksums in wx..what's next, latex in wx (diff) | |
download | historical-8cffd0171471eb2008266bb813b029335a5f89ec.tar.gz historical-8cffd0171471eb2008266bb813b029335a5f89ec.tar.bz2 historical-8cffd0171471eb2008266bb813b029335a5f89ec.zip |
Bump. This is the first release in the 5.x series officially considered ready for production use.
Package-Manager: portage-2.1.2_pre3-r2
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/abinit/ChangeLog | 10 | ||||
-rw-r--r-- | sci-physics/abinit/Manifest | 34 | ||||
-rw-r--r-- | sci-physics/abinit/abinit-5.2.3.ebuild | 102 | ||||
-rw-r--r-- | sci-physics/abinit/files/5.2.3-change-default-directories.patch | 24 | ||||
-rw-r--r-- | sci-physics/abinit/files/5.2.3-fix-64bit-detection.patch | 12 | ||||
-rw-r--r-- | sci-physics/abinit/files/digest-abinit-5.2.3 | 3 |
6 files changed, 170 insertions, 15 deletions
diff --git a/sci-physics/abinit/ChangeLog b/sci-physics/abinit/ChangeLog index 8a0d4bf2841b..a4fe94051886 100644 --- a/sci-physics/abinit/ChangeLog +++ b/sci-physics/abinit/ChangeLog @@ -1,6 +1,14 @@ # 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.4 2006/07/30 16:28:23 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/abinit/ChangeLog,v 1.5 2006/10/18 04:55:28 dberkholz Exp $ + +*abinit-5.2.3 (18 Oct 2006) + + 18 Oct 2006; Donnie Berkholz <dberkholz@gentoo.org>; + +files/5.2.3-fix-64bit-detection.patch, + +files/5.2.3-change-default-directories.patch, +abinit-5.2.3.ebuild: + Bump. This is the first release in the 5.x series officially considered + ready for production use. 07 Jul 2006; Donnie Berkholz <dberkholz@gentoo.org>; metadata.xml: Update to my new email address. diff --git a/sci-physics/abinit/Manifest b/sci-physics/abinit/Manifest index 7d4f1a5df0c0..4907df6c2be2 100644 --- a/sci-physics/abinit/Manifest +++ b/sci-physics/abinit/Manifest @@ -1,10 +1,15 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX 5.1.3-fix-blas-lapack-check.patch 1389 RMD160 4a4ea2069180df63f60b85594a6511b19c1dec2c SHA1 55e73675212c15849931619462ec71585288789b SHA256 897eba0d48340c046eab4403e78a655a627a88960189cc734922f2bedb310845 MD5 f3b0029a833bd67d436c2e25a05a0c3f files/5.1.3-fix-blas-lapack-check.patch 1389 RMD160 4a4ea2069180df63f60b85594a6511b19c1dec2c files/5.1.3-fix-blas-lapack-check.patch 1389 SHA256 897eba0d48340c046eab4403e78a655a627a88960189cc734922f2bedb310845 files/5.1.3-fix-blas-lapack-check.patch 1389 +AUX 5.2.3-change-default-directories.patch 1042 RMD160 451b0495104b3b889512cfc0eef2295674d26cfc SHA1 c498b6eaa7e90e5c4964036b49f8c3f15666b9e5 SHA256 2acb1cad4e02f3f5e1fde47cfebc51013da69b96e3da88abd5bd8c3ebde61d70 +MD5 3a8f4ca7ba90adf51437135c513636dd files/5.2.3-change-default-directories.patch 1042 +RMD160 451b0495104b3b889512cfc0eef2295674d26cfc files/5.2.3-change-default-directories.patch 1042 +SHA256 2acb1cad4e02f3f5e1fde47cfebc51013da69b96e3da88abd5bd8c3ebde61d70 files/5.2.3-change-default-directories.patch 1042 +AUX 5.2.3-fix-64bit-detection.patch 492 RMD160 286765a4fb7b06afd9f829799ad9cd9811711d32 SHA1 dc1c2691212da8b0e62407f0cfb82a83740deb86 SHA256 414be70962e0bdaffc51f9aacce5f5e171e046d7aeacf26d2706961c02501138 +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 change-default-directories.patch 1101 RMD160 3f5ca414d2bae77cbe63ae153040429a4c645acc SHA1 5ea338292bec78b6c03074a67325a722e577abd5 SHA256 0e0da3c28440c55c58f16f57051cc808146d20f7efe38ca928e746a729f5b14a MD5 ac5259d6354fc868b91677d6f5156aa6 files/change-default-directories.patch 1101 RMD160 3f5ca414d2bae77cbe63ae153040429a4c645acc files/change-default-directories.patch 1101 @@ -18,14 +23,19 @@ MD5 90e52517d839635e4fdcdf052461e548 files/fix-test-tarball.patch 477 RMD160 b09cffa5e2933f9cf29224e12ce53fa506535493 files/fix-test-tarball.patch 477 SHA256 e140381f053193737c4c1e474f65c25024319b296678aa52b1df2ac1161540bd files/fix-test-tarball.patch 477 DIST abinit-5.1.3.tar.gz 20319013 RMD160 8cfbb5b1e08f9aec282bb3061d3ae8fea36d1f66 SHA1 fbde3c1ea753e0736b456a021ce38250a8e9d096 SHA256 c46f60132d710b997eec477a0f3bb20185af3540b53e9352b7e3fed136c57940 +DIST abinit-5.2.3.tar.gz 21074280 RMD160 efc2b86ef7c800c1d63801b751e6d8b5272903ac SHA1 38d447351211861b1e66020860802254257082a2 SHA256 9ea727cc45b97f1d3a65d4739792cc37abaf762aba118b26183e900a9eab3fe6 EBUILD abinit-5.1.3.ebuild 2715 RMD160 67c15d0e0dc24a3a414bd3a5da588e4e1bc6ee87 SHA1 97deafaa94da971a111dabc37d2168e9a570f711 SHA256 ef0143dd48f0a6c9c1121a140b16bcee75f08a0f3e93aa4d89cdfe16fcd123da MD5 eaf26ee675e010997e181ca8c2fc7a36 abinit-5.1.3.ebuild 2715 RMD160 67c15d0e0dc24a3a414bd3a5da588e4e1bc6ee87 abinit-5.1.3.ebuild 2715 SHA256 ef0143dd48f0a6c9c1121a140b16bcee75f08a0f3e93aa4d89cdfe16fcd123da abinit-5.1.3.ebuild 2715 -MISC ChangeLog 1139 RMD160 fca0fc191891e2521e3aea3c6f48ed99c638b5d9 SHA1 bd1c74e79e08eeae9f1a136213fc67a347b355be SHA256 83fc7692c82b2080e3f13698107e2f14e72615b969d1e16b89db4a91f35ea355 -MD5 42a9f6945d3cf09014cf0ada5e7213de ChangeLog 1139 -RMD160 fca0fc191891e2521e3aea3c6f48ed99c638b5d9 ChangeLog 1139 -SHA256 83fc7692c82b2080e3f13698107e2f14e72615b969d1e16b89db4a91f35ea355 ChangeLog 1139 +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 1440 RMD160 02b2a1f1cedcae96d29729f80b95ac6e8be8b53e SHA1 32df7a6fbe26769be3d260b7cb31712d141d2be5 SHA256 4631940b0e3d31fd03c8d93ce15dd68f65381a05e56d81ad2e662176f13397f5 +MD5 2545c31c00d24f710065f6d1123f97e4 ChangeLog 1440 +RMD160 02b2a1f1cedcae96d29729f80b95ac6e8be8b53e ChangeLog 1440 +SHA256 4631940b0e3d31fd03c8d93ce15dd68f65381a05e56d81ad2e662176f13397f5 ChangeLog 1440 MISC metadata.xml 256 RMD160 c1dd75e3f77bae7a5bd165e4d4592520e5f9f3ed SHA1 d0bd0c0728a0932c75ba6ee62a3610b0e948ddcf SHA256 1a34797175a4f62913c4dee4631b5141b08ddab164776021e52167239e16e1d8 MD5 e4d8840a91454fdb287fdd721964bbd5 metadata.xml 256 RMD160 c1dd75e3f77bae7a5bd165e4d4592520e5f9f3ed metadata.xml 256 @@ -33,10 +43,6 @@ SHA256 1a34797175a4f62913c4dee4631b5141b08ddab164776021e52167239e16e1d8 metadata MD5 f2e2b8423a9bf23a4d63b8f726540861 files/digest-abinit-5.1.3 244 RMD160 15afb7e9bd4e81a8dbf5b5f87ea419b764a85f6a files/digest-abinit-5.1.3 244 SHA256 0aabebe082f37b26804fb17c7fbab31ca316ef6615dd05df23e2a6d2349b3b53 files/digest-abinit-5.1.3 244 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.3 (GNU/Linux) - -iD8DBQFEzN34I1lqEGTUzyQRAjgZAKDFRBCezilxYFmPCUaie962brCjFQCgw6UV -fj9jRG6zuxwSEQqowUD3QZA= -=OG4q ------END PGP SIGNATURE----- +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 diff --git a/sci-physics/abinit/abinit-5.2.3.ebuild b/sci-physics/abinit/abinit-5.2.3.ebuild new file mode 100644 index 000000000000..f60412591754 --- /dev/null +++ b/sci-physics/abinit/abinit-5.2.3.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/abinit/abinit-5.2.3.ebuild,v 1.1 2006/10/18 04:55:28 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}"/${PV}-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.2.3-change-default-directories.patch b/sci-physics/abinit/files/5.2.3-change-default-directories.patch new file mode 100644 index 000000000000..e5350661f702 --- /dev/null +++ b/sci-physics/abinit/files/5.2.3-change-default-directories.patch @@ -0,0 +1,24 @@ +diff -urN abinit-5.2.3.orig/config/m4/init.m4 abinit-5.2.3/config/m4/init.m4 +--- abinit-5.2.3.orig/config/m4/init.m4 2006-10-17 21:09:23.000000000 -0700 ++++ abinit-5.2.3/config/m4/init.m4 2006-10-17 21:09:12.000000000 -0700 +@@ -197,9 +197,9 @@ + + debian) + abinit_prefix="/usr" +- abinit_bindir="/usr/lib/abinit/${ABINIT_VERSION_BASE}/bin" ++ abinit_bindir="/usr/bin" + abinit_datdir="/usr/share/abinit" +- abinit_docdir="/usr/share/doc/abinit/${ABINIT_VERSION_BASE}" ++ abinit_docdir="/usr/share/doc/abinit-${ABINIT_VERSION_BASE}" + abinit_libdir="/usr/lib/abinit/${ABINIT_VERSION_BASE}/lib" + abinit_incdir="/usr/include/abinit/${ABINIT_VERSION_BASE}" + abinit_mandir="/usr/share/man" +@@ -299,7 +299,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/5.2.3-fix-64bit-detection.patch b/sci-physics/abinit/files/5.2.3-fix-64bit-detection.patch new file mode 100644 index 000000000000..baa6d38b369f --- /dev/null +++ b/sci-physics/abinit/files/5.2.3-fix-64bit-detection.patch @@ -0,0 +1,12 @@ +diff -urN abinit-5.2.3.orig/config/m4/init.m4 abinit-5.2.3/config/m4/init.m4 +--- abinit-5.2.3.orig/config/m4/init.m4 2006-10-17 21:05:17.000000000 -0700 ++++ abinit-5.2.3/config/m4/init.m4 2006-10-17 21:07:10.000000000 -0700 +@@ -39,7 +39,7 @@ + alpha*|powerpc*) + abi_cpu_model="${target_cpu}" + abi_cpu_64bits=`echo "${abi_cpu_model}" | grep '64$'` +- if test abi_cpu_64bits = ""; then ++ if test "${abi_cpu_64bits}" = ""; then + abi_cpu_64bits="no" + abi_cpu_bits="32" + else diff --git a/sci-physics/abinit/files/digest-abinit-5.2.3 b/sci-physics/abinit/files/digest-abinit-5.2.3 new file mode 100644 index 000000000000..8d7ab4b83fed --- /dev/null +++ b/sci-physics/abinit/files/digest-abinit-5.2.3 @@ -0,0 +1,3 @@ +MD5 cef5eddf687dfaf8fc1b548c61456991 abinit-5.2.3.tar.gz 21074280 +RMD160 efc2b86ef7c800c1d63801b751e6d8b5272903ac abinit-5.2.3.tar.gz 21074280 +SHA256 9ea727cc45b97f1d3a65d4739792cc37abaf762aba118b26183e900a9eab3fe6 abinit-5.2.3.tar.gz 21074280 |