summaryrefslogtreecommitdiff
blob: 48e83a238426f925e567a3ea5b86e97c0923b4a5 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

PYTHON_COMPAT=( python2_7 )
DISTUTILS_SINGLE_IMPL=1

inherit distutils-r1

DESCRIPTION="downloads torrents for TV shows from RSS feeds provided by ezrss.it"
HOMEPAGE="https://sourceforge.net/projects/pytvshows/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE=""

DEPEND=""
RDEPEND="dev-python/feedparser[${PYTHON_USEDEP}]"

PATCHES=(
	"${FILESDIR}/${P}-ezrss.it.patch"
	"${FILESDIR}/${P}-feedurl.patch"
	"${FILESDIR}/${P}-improved-re.patch"
	"${FILESDIR}/${P}-rename-var.patch"
)

pkg_setup() {
	python-single-r1_pkg_setup
}