aboutsummaryrefslogtreecommitdiff
blob: 7ff4e721d0e204229d1c3f7e07330b2c1e6646e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

PYTHON_COMPAT=( python2_7 )

inherit distutils-r1 flag-o-matic fortran-2 mercurial toolchain-funcs

IUSE=""
SRC_URI=""
EHG_REPO_URI="http://hg.code.sf.net/p/pesto/code-1"

DESCRIPTION="Potential Energy Surface Tools"
HOMEPAGE="http://sourceforge.net/projects/pesto/"

LICENSE="BSD"
SLOT="0"
KEYWORDS=""

RDEPEND="virtual/blas
	virtual/lapack
	dev-python/numpy[${PYTHON_USEDEP},lapack]
	sci-libs/k3match[${PYTHON_USEDEP}]
	sci-libs/scipy[${PYTHON_USEDEP}]"

DEPEND="${RDEPEND}"

DOCS=( README.txt )
EXAMPLES=( examples )
DISTUTILS_IN_SOURCE_BUILD=1

src_configure() {
	append-fflags "-shared -fPIC"
	append-ldflags "-shared"
	distutils-r1_src_configure
}