summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2011-01-18 16:38:15 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2011-01-18 16:38:15 +0000
commitd0a8976f82a3a29358472b51661b56dbce26e415 (patch)
tree1705d9bd2d38d0e8e28f62e71d04c3ca4a1c17d4 /sci-physics
parentFixed implicit declarations (diff)
downloadgentoo-2-d0a8976f82a3a29358472b51661b56dbce26e415.tar.gz
gentoo-2-d0a8976f82a3a29358472b51661b56dbce26e415.tar.bz2
gentoo-2-d0a8976f82a3a29358472b51661b56dbce26e415.zip
Drop old.
(Portage version: 2.2.0_alpha16/cvs/Linux x86_64)
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/abinit/ChangeLog10
-rw-r--r--sci-physics/abinit/abinit-5.3.4.ebuild100
-rw-r--r--sci-physics/abinit/abinit-5.4.4-r1.ebuild105
-rw-r--r--sci-physics/abinit/abinit-5.4.4.ebuild108
-rw-r--r--sci-physics/abinit/files/5.2.3-fix-64bit-detection.patch12
-rw-r--r--sci-physics/abinit/files/5.3.4-change-default-directories.patch34
-rw-r--r--sci-physics/abinit/files/abinit-5.4.4-test.patch24
7 files changed, 8 insertions, 385 deletions
diff --git a/sci-physics/abinit/ChangeLog b/sci-physics/abinit/ChangeLog
index 65ae1e0ce4af..741fc2fb554d 100644
--- a/sci-physics/abinit/ChangeLog
+++ b/sci-physics/abinit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-physics/abinit
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/abinit/ChangeLog,v 1.13 2010/12/16 15:38:07 jlec Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/abinit/ChangeLog,v 1.14 2011/01/18 16:38:15 xarthisius Exp $
+
+ 18 Jan 2011; Kacper Kowalik <xarthisius@gentoo.org> -abinit-5.3.4.ebuild,
+ -abinit-5.4.4.ebuild, -abinit-5.4.4-r1.ebuild,
+ -files/abinit-5.4.4-test.patch, -files/5.2.3-fix-64bit-detection.patch,
+ -files/5.3.4-change-default-directories.patch:
+ Drop old
16 Dec 2010; Justin Lecher <jlec@gentoo.org> abinit-5.3.4.ebuild,
abinit-5.4.4.ebuild, abinit-5.4.4-r1.ebuild:
diff --git a/sci-physics/abinit/abinit-5.3.4.ebuild b/sci-physics/abinit/abinit-5.3.4.ebuild
deleted file mode 100644
index 0717eb4143df..000000000000
--- a/sci-physics/abinit/abinit-5.3.4.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2010 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.2 2010/12/16 15:38:07 jlec Exp $
-
-inherit 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
-
-pkg_setup() {
-
- # Doesn't compile with gcc-4.0, only >=4.1
- local diemsg="Requires gcc-4.1 or newer"
- if [[ "$(tc-getFC)" = "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="$(tc-getFC)" \
- 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/abinit-5.4.4-r1.ebuild b/sci-physics/abinit/abinit-5.4.4-r1.ebuild
deleted file mode 100644
index 0ebdad1c0da6..000000000000
--- a/sci-physics/abinit/abinit-5.4.4-r1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/abinit/abinit-5.4.4-r1.ebuild,v 1.2 2010/12/16 15:38:07 jlec Exp $
-
-inherit 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="~amd64 ~ppc ~x86"
-IUSE="mpi test"
-
-RDEPEND="virtual/blas
- virtual/lapack"
-DEPEND="${RDEPEND}"
-
-# F90 code, g77 won't work
-
-pkg_setup() {
-
- # Doesn't compile with gcc-4.0, only >=4.1
- local diemsg="Requires gcc-4.1 or newer"
- if [[ "$(tc-getFC)" = "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}"/5.3.4-change-default-directories.patch
- epatch "${FILESDIR}"/5.2.3-fix-64bit-detection.patch
- epatch "${FILESDIR}"/${P}-test.patch
-
- # bug #223111: Our eautoreconf directory detection breaks
- sed -i -e "s:@abinit_srcdir@/::" Makefile.am
-
- # bug #223111: libtool 2.2 fix (taken from bug #230271)
- if [ -f '/usr/share/aclocal/ltsugar.m4' ]; then
- cat "/usr/share/aclocal/ltsugar.m4" >> config/m4/libtool.m4
- cat "/usr/share/aclocal/ltversion.m4" >> config/m4/libtool.m4
- cat "/usr/share/aclocal/lt~obsolete.m4" >> config/m4/libtool.m4
- cat "/usr/share/aclocal/ltoptions.m4" >> config/m4/libtool.m4
- fi
-
- # 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
-
- eautoreconf
-}
-
-src_compile() {
- econf \
- --disable-config-file \
- $(use_enable mpi) \
- --with-cc-optflags="${CFLAGS}" \
- --with-fc-optflags="${FFLAGS}" \
- --with-fc-ldflags='-lpthread' \
- FC="$(tc-getFC)" \
- CC="$(tc-getCC)" \
- LD="$(tc-getLD)" \
- || die "configure failed"
-
- 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/abinit-5.4.4.ebuild b/sci-physics/abinit/abinit-5.4.4.ebuild
deleted file mode 100644
index 7846849b0787..000000000000
--- a/sci-physics/abinit/abinit-5.4.4.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/abinit/abinit-5.4.4.ebuild,v 1.2 2010/12/16 15:38:07 jlec Exp $
-
-inherit 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="~amd64 ~ppc ~x86"
-IUSE="mpi test"
-
-RDEPEND="virtual/blas
- virtual/lapack"
-DEPEND="${RDEPEND}"
-
-# F90 code, g77 won't work
-
-pkg_setup() {
-
- # Doesn't compile with gcc-4.0, only >=4.1
- local diemsg="Requires gcc-4.1 or newer"
- if [[ "$(tc-getFC)" = "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}"/5.3.4-change-default-directories.patch
- epatch "${FILESDIR}"/5.2.3-fix-64bit-detection.patch
-
- # bug #223111: Our eautoreconf directory detection breaks
- sed -i -e "s:@abinit_srcdir@/::" Makefile.am
-
- # bug #223111: libtool 2.2 fix (taken from bug #230271)
- if [ -f '/usr/share/aclocal/ltsugar.m4' ]; then
- cat "/usr/share/aclocal/ltsugar.m4" >> config/m4/libtool.m4
- cat "/usr/share/aclocal/ltversion.m4" >> config/m4/libtool.m4
- cat "/usr/share/aclocal/lt~obsolete.m4" >> config/m4/libtool.m4
- cat "/usr/share/aclocal/ltoptions.m4" >> config/m4/libtool.m4
- fi
-
- # 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
-
- 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="$(tc-getFC)" \
- CC="$(tc-getCC)" \
- LD="$(tc-getLD)" \
- || die "configure failed"
-
- 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-fix-64bit-detection.patch b/sci-physics/abinit/files/5.2.3-fix-64bit-detection.patch
deleted file mode 100644
index baa6d38b369f..000000000000
--- a/sci-physics/abinit/files/5.2.3-fix-64bit-detection.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-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/5.3.4-change-default-directories.patch b/sci-physics/abinit/files/5.3.4-change-default-directories.patch
deleted file mode 100644
index 1bbbd158b2d6..000000000000
--- a/sci-physics/abinit/files/5.3.4-change-default-directories.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-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/abinit-5.4.4-test.patch b/sci-physics/abinit/files/abinit-5.4.4-test.patch
deleted file mode 100644
index c9d476a4619f..000000000000
--- a/sci-physics/abinit/files/abinit-5.4.4-test.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Naur abinit-5.4.4/tests/Scripts/wrap-parallel-tests.sh abinit-5.4.4.new/tests/Scripts/wrap-parallel-tests.sh
---- abinit-5.4.4/tests/Scripts/wrap-parallel-tests.sh 2007-10-15 00:19:31.000000000 -0400
-+++ abinit-5.4.4.new/tests/Scripts/wrap-parallel-tests.sh 2009-12-17 20:01:02.000000000 -0500
-@@ -22,7 +22,7 @@
-
- # Init
- my_name="wrap-parallel-tests"
--my_cnffile="tests.env"
-+my_cnffile="../tests/tests.env"
-
- # Check arguments
- if test "${#}" -lt "2"; then
-diff -Naur abinit-5.4.4/tests/Scripts/wrap-standard-tests.sh abinit-5.4.4.new/tests/Scripts/wrap-standard-tests.sh
---- abinit-5.4.4/tests/Scripts/wrap-standard-tests.sh 2007-10-15 00:19:31.000000000 -0400
-+++ abinit-5.4.4.new/tests/Scripts/wrap-standard-tests.sh 2009-12-17 20:01:22.000000000 -0500
-@@ -3,7 +3,7 @@
- #
-
- my_name="wrap-standard-tests"
--my_cnffile="tests.env"
-+my_cnffile="../tests/tests.env"
-
- # Check arguments
- if test "${#}" -lt "1"; then