From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 55DCB1382C5 for ; Mon, 1 Feb 2021 02:57:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D1CFE09C1; Mon, 1 Feb 2021 02:57:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 505E2E09C1 for ; Mon, 1 Feb 2021 02:57:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AEF17340F5A for ; Mon, 1 Feb 2021 02:57:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2ED08476 for ; Mon, 1 Feb 2021 02:57:29 +0000 (UTC) From: "Horea Christian" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Horea Christian" Message-ID: <1612148232.eb9b02cb123bd4e5e20bf9d0e3a783968e325a06.chymera@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/elk/ X-VCS-Repository: proj/sci X-VCS-Files: sci-physics/elk/elk-1.4.22.ebuild sci-physics/elk/elk-2.1.25.ebuild sci-physics/elk/metadata.xml X-VCS-Directories: sci-physics/elk/ X-VCS-Committer: chymera X-VCS-Committer-Name: Horea Christian X-VCS-Revision: eb9b02cb123bd4e5e20bf9d0e3a783968e325a06 X-VCS-Branch: master Date: Mon, 1 Feb 2021 02:57:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 90c9063f-70d0-412a-8428-96c8d1bfb05a X-Archives-Hash: 8368591194e6d3a59b0602d559b66e0d commit: eb9b02cb123bd4e5e20bf9d0e3a783968e325a06 Author: Horea Christian chymera eu> AuthorDate: Mon Feb 1 02:57:12 2021 +0000 Commit: Horea Christian gmail com> CommitDate: Mon Feb 1 02:57:12 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=eb9b02cb sci-physics/elk: dropped broken package with deprecated versions Signed-off-by: Horea Christian chymera.eu> sci-physics/elk/elk-1.4.22.ebuild | 110 ------------------------------ sci-physics/elk/elk-2.1.25.ebuild | 136 -------------------------------------- sci-physics/elk/metadata.xml | 25 ------- 3 files changed, 271 deletions(-) diff --git a/sci-physics/elk/elk-1.4.22.ebuild b/sci-physics/elk/elk-1.4.22.ebuild deleted file mode 100644 index daa3d4f53..000000000 --- a/sci-physics/elk/elk-1.4.22.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils flag-o-matic fortran-2 multilib toolchain-funcs - -DESCRIPTION="All-electron full-potential linearised augmented-plane wave (FP-LAPW)" -HOMEPAGE="http://elk.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="-debug lapack libxc mpi openmp perl test" -RESTRICT="!test? ( test )" - -RDEPEND=" - lapack? ( - virtual/blas - virtual/lapack ) - libxc? ( >=sci-libs/libxc-1.2.0-r1[fortran] ) - mpi? ( virtual/mpi )" -DEPEND="${RDEPEND} - perl? ( dev-lang/perl ) - virtual/pkgconfig" - -DOCS=( README ) - -FORTRAN_STANDARD=90 - -pkg_setup() { - # fortran-2.eclass does not handle mpi wrappers - if use mpi; then - export FC="mpif90" - export F77="mpif77" - export CC="mpicc" - export CXX="mpic++" - else - tc-export FC F77 CC CXX - fi - - use openmp && FORTRAN_NEED_OPENMP=1 - - fortran-2_pkg_setup - - use openmp && append-flags -fopenmp -} - -src_prepare() { - rm -rf src/{BLAS,LAPACK} || die - if use libxc; then - sed -i -e's/^\(SRC_libxc =\)/#\1/' "${S}/src/Makefile" || die - fi - if use mpi; then - sed -i -e's/^\(SRC_mpi =\)/#\1/' "${S}/src/Makefile" || die - fi - - sed \ - -e "s: -o : ${LDFLAGS} -o :g" \ - -i src/{,eos,spacegroup}/Makefile || die -} - -src_configure() { - append-fflags -I/usr/include -I/usr/$(get_libdir)/finclude - - cat > make.inc <<- EOF - MAKE = make - F90 = $(tc-getFC) - F90_OPTS = ${FCFLAGS} - F77 = $(tc-getF77) - F77_OPTS = ${FFLAGS} - CC = $(tc-getCC) - CXX = $(tc-getCXX) - CFLAGS = ${CFLAGS} - CXXFLAGS = ${CXXFLAGS} - LD = $(tc-getLD) - AR = $(tc-getAR) - LIB_SYS = - LIB_LPK = $($(tc-getPKG_CONFIG) --libs lapack) - LIB_FFT = fftlib.a - EOF - - if use libxc; then - echo "LIB_XC = -L/usr/$(get_libdir) -lxc" >> make.inc - echo "SRC_libxc = libxc_funcs.f90 libxc.f90 libxcifc.f90" >>make.inc - fi -} - -MAKEOPTS+=" -j1" - -src_compile() { - emake -C src fft - emake -C src elk - emake -C src/eos - emake -C src/spacegroup -} - -src_install() { - dobin src/elk src/protex src/eos/eos src/spacegroup/spacegroup - dobin utilities/elk-bands - use perl && dobin utilities/xps_exc.pl utilities/se.pl - dodoc README - for doc in docs/*; do - dodoc $doc - done - insinto /usr/share/${P} - doins -r species utilities examples tests -} diff --git a/sci-physics/elk/elk-2.1.25.ebuild b/sci-physics/elk/elk-2.1.25.ebuild deleted file mode 100644 index cef46a976..000000000 --- a/sci-physics/elk/elk-2.1.25.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit eutils flag-o-matic fortran-2 multilib toolchain-funcs python-single-r1 - -DESCRIPTION="All-electron full-potential linearised augmented-plane wave (FP-LAPW)" -HOMEPAGE="http://elk.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="-debug lapack libxc mpi openmp perl python test" -RESTRICT="!test? ( test )" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - lapack? ( - virtual/blas - virtual/lapack ) - libxc? ( >=sci-libs/libxc-1.2.0-r1[fortran] ) - perl? ( dev-lang/perl ) - python? ( ${PYTHON_DEPS} ) - mpi? ( virtual/mpi )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -DOCS=( README ) - -FORTRAN_STANDARD=90 - -pkg_setup() { - # fortran-2.eclass does not handle mpi wrappers - if use mpi; then - export FC="mpif90" - export F77="mpif77" - export CC="mpicc" - export CXX="mpic++" - else - tc-export FC F77 CC CXX - fi - - use openmp && FORTRAN_NEED_OPENMP=1 - - fortran-2_pkg_setup - - if use openmp; then - # based on _fortran-has-openmp() of fortran-2.eclass - local openmp="" - local fcode=ebuild-openmp-flags.f - local _fc=$(tc-getFC) - - pushd "${T}" - cat <<- EOF > "${fcode}" - 1 call omp_get_num_threads - 2 end - EOF - - for openmp in -fopenmp -xopenmp -openmp -mp -omp -qsmp=omp; do - "${_fc}" "${openmp}" "${fcode}" -o "${fcode}.x" && break - done - - rm -f "${fcode}.*" - popd - - append-flags "${openmp}" - fi -} - -src_prepare() { - rm -rf src/{BLAS,LAPACK} || die - if use libxc; then - sed -i -e's/^\(SRC_libxc =\)/#\1/' "${S}/src/Makefile" || die - fi - if use mpi; then - sed -i -e's/^\(SRC_mpi =\)/#\1/' "${S}/src/Makefile" || die - fi - - sed \ - -e "s: -o : ${LDFLAGS} -o :g" \ - -i src/{,eos,spacegroup}/Makefile || die -} - -src_configure() { - append-fflags -I/usr/include - - cat > make.inc <<- EOF - MAKE = make - F90 = $(tc-getFC) - F90_OPTS = ${FCFLAGS} - F77 = $(tc-getF77) - F77_OPTS = ${FFLAGS} - CC = $(tc-getCC) - CXX = $(tc-getCXX) - CFLAGS = ${CFLAGS} - CXXFLAGS = ${CXXFLAGS} - LD = $(tc-getLD) - AR = $(tc-getAR) - LIB_SYS = - LIB_LPK = $($(tc-getPKG_CONFIG) --libs lapack) - LIB_FFT = fftlib.a - EOF - - if use libxc; then - echo "LIB_XC = -L/usr/$(get_libdir) -lxc" >> make.inc - echo "SRC_libxc = libxc_funcs.f90 libxc.f90 libxcifc.f90" >>make.inc - fi -} - -MAKEOPTS+=" -j1" - -src_compile() { - emake -C src fft - emake -C src elk - emake -C src/eos - emake -C src/spacegroup -} - -src_install() { - dobin src/elk src/protex src/eos/eos src/spacegroup/spacegroup - dobin utilities/elk-bands/elk-bands - use perl && dobin utilities/xps/xps_exc.pl utilities/wien2k-elk/se.pl - use python && dobin utilities/blocks2columns/blocks2columns.py - dodoc README - for doc in docs/*; do - dodoc $doc - done - insinto /usr/share/${P} - doins -r species utilities examples tests -} diff --git a/sci-physics/elk/metadata.xml b/sci-physics/elk/metadata.xml deleted file mode 100644 index d00045595..000000000 --- a/sci-physics/elk/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - sci-physics@gentoo.org - Gentoo Physics Project - - -Elk is an all-electron full-potential linearised augmented-plane wave (FP-LAPW) code with many advanced features. Written originally at Karl-Franzens-Universität Graz as a milestone of the EXCITING EU Research and Training Network, the code is designed to be as simple as possible so that new developments in the field of density functional theory (DFT) can be added quickly and reliably. The code is freely available under the GNU General Public License. - - - -Use sci-libs/libxc library of exchange-correlation functionals by ETSF. - - -Install perl scripts. - - -Install python scripts. - - - - elk - -