# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) inherit distutils-r1 DESCRIPTION="A simple terminal viewer for Reddit (Reddit Terminal Viewer)" HOMEPAGE="https://github.com/michael-lazar/rtv" SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" DOCS="${PN}.1" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" REQUIRED_USE="${PYTHON_REQUIRED_USE}" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" RDEPEND="sys-libs/ncurses dev-python/beautifulsoup[${PYTHON_USEDEP}] dev-python/decorator[${PYTHON_USEDEP}] dev-python/kitchen[${PYTHON_USEDEP}] >=dev-python/requests-2.4.0[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}]" python_install_all() { distutils-r1_python_install_all }