aboutsummaryrefslogtreecommitdiff
blob: 3026089376f1bef6a6d9cce342ddc57bb25287d8 (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-2020 Gentoo Authors
# 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="https://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}]
	dev-python/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
}