summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-07-15 20:05:22 +0200
committerMichał Górny <mgorny@gentoo.org>2021-07-15 20:06:46 +0200
commit94af1be90327db7655a3d13ac1c523b880c72adc (patch)
treed6708fb3a2b5f7098f65f8d0358fe632931831ac /dev-python/pandas-datareader
parentgames-strategy/war1gus: Bump to 3.1.1 (diff)
downloadgentoo-94af1be90327db7655a3d13ac1c523b880c72adc.tar.gz
gentoo-94af1be90327db7655a3d13ac1c523b880c72adc.tar.bz2
gentoo-94af1be90327db7655a3d13ac1c523b880c72adc.zip
dev-python/pandas-datareader: Bump to 0.10.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pandas-datareader')
-rw-r--r--dev-python/pandas-datareader/Manifest1
-rw-r--r--dev-python/pandas-datareader/pandas-datareader-0.10.0.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/pandas-datareader/Manifest b/dev-python/pandas-datareader/Manifest
index f6222fe072e0..ac2336900b53 100644
--- a/dev-python/pandas-datareader/Manifest
+++ b/dev-python/pandas-datareader/Manifest
@@ -1 +1,2 @@
+DIST pandas-datareader-0.10.0.tar.gz 259641 BLAKE2B b8a5c7aaa76b30abd9297c820638731fc5d81b5ee2cd1a016c1d8d10dc237708b913a4ec505b9a703b02f470413725f58fa4cbf54ba70113bfae5d0ffb0875b9 SHA512 b078122c6c0a614aa5b55151446b830dba64382b0570761ac80baaf362ef8121fac2c4b53b8cacc367bf985ef1ecc16d44041f1d1f4b13fc1024fe6ab74f1d0b
DIST pandas-datareader-0.9.0.tar.gz 261026 BLAKE2B dc8211ceb718124095896dce9de0d752f2c5c7bce022dd5197a6b3851ad8727e298b34d0657f76c9c40ca31b1cf76d8a467af251aa9131f921990e6f4f9ec25c SHA512 5ef2e06b6d02e2bc213387f8649e02c9ebd6df679da8ce433d4e8dd2c66e8cbc214a9cf9a4bc83ac2c7ad917cf72a9e6b09c9398623718736114efdc2c3e2815
diff --git a/dev-python/pandas-datareader/pandas-datareader-0.10.0.ebuild b/dev-python/pandas-datareader/pandas-datareader-0.10.0.ebuild
new file mode 100644
index 000000000000..854753e74aff
--- /dev/null
+++ b/dev-python/pandas-datareader/pandas-datareader-0.10.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+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"
+PROPERTIES="test_network"
+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}]
+ )"
+BDEPEND="
+ test? ( dev-python/wrapt[${PYTHON_USEDEP}] )"
+
+distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
+distutils_enable_tests pytest
+
+python_test() {
+ local deselect=(
+ # looks like minor numpy incompatibility
+ pandas_datareader/tests/yahoo/test_yahoo.py::TestYahoo::test_get_data_null_as_missing_data
+ )
+ epytest pandas_datareader --only-stable --skip-requires-api-key \
+ ${deselect[@]/#/--deselect }
+}