commit: 92ec0d300b459fd93812426b993ffe4f76c8dfd0 Author: Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz> AuthorDate: Tue Apr 15 15:35:13 2014 +0000 Commit: Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz> CommitDate: Tue Apr 15 15:35:13 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=92ec0d30
sci-libs/libxc bumped to 2.0.3. Versions 2.1.0 and 2.2.0 added; they have a new testsuite and pass it but compatibility with dependent packages not tested yet, especially for 2.2.0 that separates fortran bindings. Package-Manager: portage-2.2.10 --- sci-libs/libxc/ChangeLog | 12 +++++++- sci-libs/libxc/libxc-2.0.3.ebuild | 59 +++++++++++++++++++++++++++++++++++++++ sci-libs/libxc/libxc-2.1.0.ebuild | 59 +++++++++++++++++++++++++++++++++++++++ sci-libs/libxc/libxc-2.2.0.ebuild | 59 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 188 insertions(+), 1 deletion(-) diff --git a/sci-libs/libxc/ChangeLog b/sci-libs/libxc/ChangeLog index e98190d..d1e4742 100644 --- a/sci-libs/libxc/ChangeLog +++ b/sci-libs/libxc/ChangeLog @@ -1,7 +1,17 @@ # ChangeLog for sci-libs/libxc -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*libxc-2.2.0 (15 Apr 2014) +*libxc-2.1.0 (15 Apr 2014) +*libxc-2.0.3 (15 Apr 2014) + + 15 Apr 2014; Honza Macháček <[email protected]> +libxc-2.0.3.ebuild, + +libxc-2.1.0.ebuild, +libxc-2.2.0.ebuild: + Version bump to 2.0.3. Versions 2.1.0 and 2.2.0 added; they have a new + testsuite and pass it but compatibility with dependent packages not tested + yet, especially for 2.2.0 that separates fortran bindings. + *libxc-2.0.2 (05 Nov 2013) 05 Nov 2013; Justin Lecher <[email protected]> libxc-2.0.1.ebuild, diff --git a/sci-libs/libxc/libxc-2.0.3.ebuild b/sci-libs/libxc/libxc-2.0.3.ebuild new file mode 100644 index 0000000..b794ff9 --- /dev/null +++ b/sci-libs/libxc/libxc-2.0.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils flag-o-matic fortran-2 multilib + +MY_P=${P//_/-} + +DESCRIPTION="A library of exchange-correlation functionals for use in DFT" +HOMEPAGE="http://www.tddft.org/programs/octopus/wiki/index.php/Libxc" +SRC_URI="http://www.tddft.org/programs/octopus/download/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="fortran static-libs -test" + +S="${WORKDIR}"/${MY_P} + +MAKEOPTS+=" -j1" + +pkg_setup() { + use fortran && fortran-2_pkg_setup +} + +src_prepare() { + sed \ + -e "s:${PN}.f90:${PN}.F90:g" \ + -i src/Makefile.am || die + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( $(use_enable fortran) ) + autotools-utils_src_configure +} + +## Upstream recommends not running the test suite because it requires +## human expert interpretation to determine whether output is an error or +## expected under certain circumstances. Nevertheless, experts might want the option. +# The autotools src_test function modified not to die. Runs emake check in build directory. +src_test() { + debug-print-function ${FUNCNAME} "$@" + + _check_build_dir + pushd "${BUILD_DIR}" > /dev/null || die + make check || ewarn "Make check failed. See above for details." + einfo "emake check done" + popd > /dev/null || die +} + +src_install() { + autotools-utils_src_install + +} diff --git a/sci-libs/libxc/libxc-2.1.0.ebuild b/sci-libs/libxc/libxc-2.1.0.ebuild new file mode 100644 index 0000000..b794ff9 --- /dev/null +++ b/sci-libs/libxc/libxc-2.1.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils flag-o-matic fortran-2 multilib + +MY_P=${P//_/-} + +DESCRIPTION="A library of exchange-correlation functionals for use in DFT" +HOMEPAGE="http://www.tddft.org/programs/octopus/wiki/index.php/Libxc" +SRC_URI="http://www.tddft.org/programs/octopus/download/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="fortran static-libs -test" + +S="${WORKDIR}"/${MY_P} + +MAKEOPTS+=" -j1" + +pkg_setup() { + use fortran && fortran-2_pkg_setup +} + +src_prepare() { + sed \ + -e "s:${PN}.f90:${PN}.F90:g" \ + -i src/Makefile.am || die + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( $(use_enable fortran) ) + autotools-utils_src_configure +} + +## Upstream recommends not running the test suite because it requires +## human expert interpretation to determine whether output is an error or +## expected under certain circumstances. Nevertheless, experts might want the option. +# The autotools src_test function modified not to die. Runs emake check in build directory. +src_test() { + debug-print-function ${FUNCNAME} "$@" + + _check_build_dir + pushd "${BUILD_DIR}" > /dev/null || die + make check || ewarn "Make check failed. See above for details." + einfo "emake check done" + popd > /dev/null || die +} + +src_install() { + autotools-utils_src_install + +} diff --git a/sci-libs/libxc/libxc-2.2.0.ebuild b/sci-libs/libxc/libxc-2.2.0.ebuild new file mode 100644 index 0000000..b794ff9 --- /dev/null +++ b/sci-libs/libxc/libxc-2.2.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils flag-o-matic fortran-2 multilib + +MY_P=${P//_/-} + +DESCRIPTION="A library of exchange-correlation functionals for use in DFT" +HOMEPAGE="http://www.tddft.org/programs/octopus/wiki/index.php/Libxc" +SRC_URI="http://www.tddft.org/programs/octopus/download/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="fortran static-libs -test" + +S="${WORKDIR}"/${MY_P} + +MAKEOPTS+=" -j1" + +pkg_setup() { + use fortran && fortran-2_pkg_setup +} + +src_prepare() { + sed \ + -e "s:${PN}.f90:${PN}.F90:g" \ + -i src/Makefile.am || die + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( $(use_enable fortran) ) + autotools-utils_src_configure +} + +## Upstream recommends not running the test suite because it requires +## human expert interpretation to determine whether output is an error or +## expected under certain circumstances. Nevertheless, experts might want the option. +# The autotools src_test function modified not to die. Runs emake check in build directory. +src_test() { + debug-print-function ${FUNCNAME} "$@" + + _check_build_dir + pushd "${BUILD_DIR}" > /dev/null || die + make check || ewarn "Make check failed. See above for details." + einfo "emake check done" + popd > /dev/null || die +} + +src_install() { + autotools-utils_src_install + +}
