From 0da6329ec2ab9171b92ab9f5e36114053a3e0559 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Mon, 21 Sep 2015 21:05:30 +0200 Subject: sci-physics/elk: Use python eclass Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher --- sci-physics/elk/elk-2.1.25.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sci-physics/elk/elk-2.1.25.ebuild b/sci-physics/elk/elk-2.1.25.ebuild index 94676a09a..e521ac861 100644 --- a/sci-physics/elk/elk-2.1.25.ebuild +++ b/sci-physics/elk/elk-2.1.25.ebuild @@ -1,10 +1,12 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -inherit eutils flag-o-matic fortran-2 multilib toolchain-funcs +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/" @@ -15,13 +17,15 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="-debug lapack libxc mpi openmp perl python 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? ( dev-lang/python ) + python? ( ${PYTHON_DEPS} ) mpi? ( virtual/mpi )" DEPEND="${RDEPEND} virtual/pkgconfig" -- cgit v1.2.3-65-gdbad