blob: 4aa296219cc9b31e963b28c5ddd9f0fa6a06876f (
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
37
38
39
40
41
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/rss2email/rss2email-2.65.ebuild,v 1.3 2010/12/18 03:25:14 sping Exp $
EAPI=2
inherit eutils
S=${WORKDIR}/${PN}
DESCRIPTION="A python script that converts RSS newsfeeds to email"
HOMEPAGE="http://www.allthingsrss.com/rss2email"
SRC_URI="mirror://debian/pool/main/r/rss2email/rss2email_${PV}.orig.tar.gz
mirror://debian/pool/main/r/rss2email/rss2email_${PV}-1.diff.gz"
# debian has a packaged archive that we use instead of:
# http://rss2email.infogami.com/${P}.py
# http://www.aaronsw.com/2002/html2text/html2text-2.35.py
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/feedparser
virtual/python"
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${WORKDIR}"/rss2email_${PV}-1.diff
epatch "${FILESDIR}"/${P}-r2e-chmod.patch
epatch "${FILESDIR}"/${P}-X-rss-feed.patch
}
src_install() {
insinto /usr/share/rss2email
doins rss2email.py html2text.py config.py
exeinto /usr/bin
doexe r2e
doman r2e.1
}
|