diff options
author | Horea Christian <horea.christ@yandex.com> | 2018-09-12 02:52:56 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-10-01 18:10:58 +0200 |
commit | 7021a773c02506a25cb58fa86c3bd1816b198e66 (patch) | |
tree | 4138d3389b455d1e60ddc1a646b47ddec64177dc /dev-python/pandas-datareader | |
parent | sci-mathematics/maxima: bump to 5.42.0 (diff) | |
download | gentoo-7021a773c02506a25cb58fa86c3bd1816b198e66.tar.gz gentoo-7021a773c02506a25cb58fa86c3bd1816b198e66.tar.bz2 gentoo-7021a773c02506a25cb58fa86c3bd1816b198e66.zip |
dev-python/pandas-datareader: new package
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Signed-off-by: Horea Christian <horea.christ@yandex.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/9834
Diffstat (limited to 'dev-python/pandas-datareader')
-rw-r--r-- | dev-python/pandas-datareader/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pandas-datareader/metadata.xml | 21 | ||||
-rw-r--r-- | dev-python/pandas-datareader/pandas-datareader-0.7.0.ebuild | 45 |
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/pandas-datareader/Manifest b/dev-python/pandas-datareader/Manifest new file mode 100644 index 000000000000..5714f9a61664 --- /dev/null +++ b/dev-python/pandas-datareader/Manifest @@ -0,0 +1 @@ +DIST pandas-datareader-0.7.0.tar.gz 341577 BLAKE2B 4169fdb9eb5280be15da23224d25104aaa47f7c328adc6fae6220ac11fc76954f541b8bdb117df977c163229751885e625d3a44923a8c0c2266f0eb3ee57b8af SHA512 2a2d1411fb3724f3e1cebea8a962c1d4f12124d58ba191035583d8d621bdb0dfaf0c0cbaea765ef61f5c23cc221ae2b585b612e97e45795380b70fe672d0b7a5 diff --git a/dev-python/pandas-datareader/metadata.xml b/dev-python/pandas-datareader/metadata.xml new file mode 100644 index 000000000000..777f5ec633c1 --- /dev/null +++ b/dev-python/pandas-datareader/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>horea.christ@gmail.com</email> + <name>Horea Christian</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription lang="en"> + Up to date remote data access for pandas, which works for multiple versions of + pandas and lets you extract data from a wide range of Internet sources directly + into a pandas DataFrame. + </longdescription> + <upstream> + <remote-id type="github">pydata/pandas-datareader</remote-id> + <remote-id type="pypi">pandas-datareader</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pandas-datareader/pandas-datareader-0.7.0.ebuild b/dev-python/pandas-datareader/pandas-datareader-0.7.0.ebuild new file mode 100644 index 000000000000..875b3856915a --- /dev/null +++ b/dev-python/pandas-datareader/pandas-datareader-0.7.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_5,3_6} ) + +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" + +# 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}] + dev-python/wrapt[${PYTHON_USEDEP}] + doc? ( + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + ) + " +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] + ) + " + +python_test() { + pytest -v -s -r xX pandas_datareader || die +} |