1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 python3_6 )
8 inherit distutils-r1 flag-o-matic
10 DESCRIPTION="Minuit numerical function minimization in Python"
11 HOMEPAGE="https://github.com/jpivarski/pyminuit"
13 https://pyminuit.googlecode.com/files/${P}.tgz
14 https://pyminuit.googlecode.com/files/Minuit-1_7_9-patch1.tar.gz
19 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
25 cd "${WORKDIR}"/Minuit-1_7_9 || die
26 econf --disable-static
30 cd "${WORKDIR}"/Minuit-1_7_9 || die
33 distutils-r1_src_compile
36 python_install_all() {
37 cd "${WORKDIR}"/Minuit-1_7_9 || die
39 distutils-r1_python_install_all