diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2019-08-03 23:21:50 +0300 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2019-08-03 23:21:50 +0300 |
commit | dca54c7d1f055a6c35f67105f969cab14d9127e5 (patch) | |
tree | 6f211b335b2f5d8beb6281a45aec2f20bdb819ec /sci-libs | |
parent | sci-libs/scikits_learn: Works with py3.7 (diff) | |
download | gentoo-dca54c7d1f055a6c35f67105f969cab14d9127e5.tar.gz gentoo-dca54c7d1f055a6c35f67105f969cab14d9127e5.tar.bz2 gentoo-dca54c7d1f055a6c35f67105f969cab14d9127e5.zip |
sci-libs/scikits_optimization: Works with py3.7
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/scikits_optimization/scikits_optimization-0.3-r1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sci-libs/scikits_optimization/scikits_optimization-0.3-r1.ebuild b/sci-libs/scikits_optimization/scikits_optimization-0.3-r1.ebuild new file mode 100644 index 000000000000..119808a32f92 --- /dev/null +++ b/sci-libs/scikits_optimization/scikits_optimization-0.3-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +inherit distutils-r1 + +MY_P="${P/scikits_/scikits.}" + +DESCRIPTION="Python module for numerical optimization" +HOMEPAGE="http://projects.scipy.org/scipy/scikits" +SRC_URI="mirror://pypi/${PN:0:1}/scikits.optimization/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + sci-libs/scikits[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${MY_P}" + +python_test() { + esetup.py test +} |