1
0
mirror of synced 2024-11-14 17:08:59 +01:00
TheChymera-overlay/dev-python/yahoo-finance/yahoo-finance-9999.ebuild
Horea Christian 5a16380379 live ebuild
2016-10-05 00:04:07 +02:00

35 lines
674 B
Bash

# 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
}