Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/elk/
Date: Mon, 21 Sep 2015 19:06:11
Message-Id: 1442862330.0da6329ec2ab9171b92ab9f5e36114053a3e0559.jlec@gentoo
1 commit: 0da6329ec2ab9171b92ab9f5e36114053a3e0559
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 21 19:05:30 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 21 19:05:30 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0da6329e
7
8 sci-physics/elk: Use python eclass
9
10 Package-Manager: portage-2.2.20.1
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 sci-physics/elk/elk-2.1.25.ebuild | 10 +++++++---
14 1 file changed, 7 insertions(+), 3 deletions(-)
15
16 diff --git a/sci-physics/elk/elk-2.1.25.ebuild b/sci-physics/elk/elk-2.1.25.ebuild
17 index 94676a0..e521ac8 100644
18 --- a/sci-physics/elk/elk-2.1.25.ebuild
19 +++ b/sci-physics/elk/elk-2.1.25.ebuild
20 @@ -1,10 +1,12 @@
21 -# Copyright 1999-2014 Gentoo Foundation
22 +# Copyright 1999-2015 Gentoo Foundation
23 # Distributed under the terms of the GNU General Public License v2
24 # $Id$
25
26 EAPI=5
27
28 -inherit eutils flag-o-matic fortran-2 multilib toolchain-funcs
29 +PYTHON_COMPAT=( python2_7 )
30 +
31 +inherit eutils flag-o-matic fortran-2 multilib toolchain-funcs python-single-r1
32
33 DESCRIPTION="All-electron full-potential linearised augmented-plane wave (FP-LAPW)"
34 HOMEPAGE="http://elk.sourceforge.net/"
35 @@ -15,13 +17,15 @@ SLOT="0"
36 KEYWORDS="~amd64 ~x86"
37 IUSE="-debug lapack libxc mpi openmp perl python test"
38
39 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
40 +
41 RDEPEND="
42 lapack? (
43 virtual/blas
44 virtual/lapack )
45 libxc? ( >=sci-libs/libxc-1.2.0-r1[fortran] )
46 perl? ( dev-lang/perl )
47 - python? ( dev-lang/python )
48 + python? ( ${PYTHON_DEPS} )
49 mpi? ( virtual/mpi )"
50 DEPEND="${RDEPEND}
51 virtual/pkgconfig"