From 5a16380379321f1dacb7cbbabb3b02572cf16269 Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Wed, 5 Oct 2016 00:04:07 +0200 Subject: [PATCH] live ebuild --- .../yahoo-finance/yahoo-finance-9999.ebuild | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 dev-python/yahoo-finance/yahoo-finance-9999.ebuild diff --git a/dev-python/yahoo-finance/yahoo-finance-9999.ebuild b/dev-python/yahoo-finance/yahoo-finance-9999.ebuild new file mode 100644 index 0000000..74e41ae --- /dev/null +++ b/dev-python/yahoo-finance/yahoo-finance-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 git-r3 + +DESCRIPTION="Python module to get stock data from Yahoo! Finance" +HOMEPAGE="https://github.com/lukaszbanasiak/yahoo-finance" +SRC_URI="" +EGIT_REPO_URI="git://github.com/lukaszbanasiak/yahoo-finance" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + " +DEPEND=" + test? ( + ${RDEPEND} + dev-python/unittest2[${PYTHON_USEDEP}] + ) + " + +python_test() { + ${EPYTHON} test/test_yahoo.py || die +}