diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2019-08-03 23:23:01 +0300 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2019-08-03 23:23:01 +0300 |
commit | dc4cad014d3ae316d2f10289098aa6119c2d7a42 (patch) | |
tree | a60b3a8f6b1daead49c9c3aa34a0b0f0cfa3f191 /sci-libs/scikits_timeseries | |
parent | sci-libs/scikits_optimization: Works with py3.7 (diff) | |
download | gentoo-dc4cad014d3ae316d2f10289098aa6119c2d7a42.tar.gz gentoo-dc4cad014d3ae316d2f10289098aa6119c2d7a42.tar.bz2 gentoo-dc4cad014d3ae316d2f10289098aa6119c2d7a42.zip |
sci-libs/scikits_timeseries: 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/scikits_timeseries')
-rw-r--r-- | sci-libs/scikits_timeseries/scikits_timeseries-0.91.3-r2.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/sci-libs/scikits_timeseries/scikits_timeseries-0.91.3-r2.ebuild b/sci-libs/scikits_timeseries/scikits_timeseries-0.91.3-r2.ebuild new file mode 100644 index 000000000000..7cbafda1d0b2 --- /dev/null +++ b/sci-libs/scikits_timeseries/scikits_timeseries-0.91.3-r2.ebuild @@ -0,0 +1,47 @@ +# 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="SciPy module for manipulating, reporting, and plotting time series" +HOMEPAGE="http://pytseries.sourceforge.net/index.html" +SRC_URI=" + mirror://sourceforge/pytseries/${MY_P}.tar.gz + doc? ( mirror://sourceforge/pytseries/${MY_P}-html_docs.zip )" + +LICENSE="BSD eGenixPublic-1.1" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" +RDEPEND=" + sci-libs/scipy[${PYTHON_USEDEP}] + sci-libs/scikits[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/pytables[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${MY_P}" + +python_test() { + esetup.py test +} + +python_install() { + distutils-r1_python_install + rm "${D}"$(python_get_sitedir)/scikits/__init__.py || die +} + +python_install_all() { + use doc && HTMLDOCS=( "${WORKDIR}/html" ) + distutils-r1_python_install_all +} |