blob: bea16b5360ff8bd054cbc24cbbd2fb6a963fda78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python3_{3,4,5} )
inherit distutils-r1 eutils
DESCRIPTION="RTV provides an interface to view and interact with reddit from your terminal."
HOMEPAGE="https://github.com/michael-lazar/rtv"
SRC_URI="https://github.com/michael-lazar/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
# S="${WORKDIR}/${PN}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="
dev-python/praw[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/mailcap-fix[${PYTHON_USEDEP}]
dev-python/kitchen[${PYTHON_USEDEP}]
dev-python/beautifulsoup[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-lang/python[ncurses]"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${PN}-praw-fix.patch"
}
|