2021-02-23 19:08:06 +03:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
2020-01-29 10:09:14 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
2021-02-23 19:08:06 +03:00
|
|
|
PYTHON_COMPAT=( python3_{7..9} )
|
2020-01-29 10:09:14 +03:00
|
|
|
|
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="Pandas DataFrame extraction from a wide range of Internet sources"
|
|
|
|
HOMEPAGE="https://github.com/pydata/pandas-datareader"
|
|
|
|
SRC_URI="https://github.com/pydata/pandas-datareader/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="BSD"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE="doc"
|
|
|
|
|
|
|
|
# Test suite depends on outbound network connectivity and is unstable
|
|
|
|
# https://github.com/pydata/pandas-datareader/issues/586
|
|
|
|
RESTRICT="test"
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
dev-python/lxml[${PYTHON_USEDEP}]
|
|
|
|
>=dev-python/pandas-0.19.2[${PYTHON_USEDEP}]
|
|
|
|
dev-python/requests[${PYTHON_USEDEP}]
|
|
|
|
doc? (
|
|
|
|
dev-python/ipython[${PYTHON_USEDEP}]
|
|
|
|
dev-python/matplotlib[${PYTHON_USEDEP}]
|
2021-02-23 19:08:06 +03:00
|
|
|
)"
|
|
|
|
BDEPEND="
|
|
|
|
test? ( dev-python/wrapt[${PYTHON_USEDEP}] )"
|
2020-01-29 10:09:14 +03:00
|
|
|
|
|
|
|
distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
|
|
|
|
distutils_enable_tests pytest
|