# Copyright 1999-2009 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.2 2009/07/26 13:57:27 rbu Exp $ EAPI=2 inherit eutils S=${WORKDIR}/${PN} DESCRIPTION="A python script that converts RSS newsfeeds to email" HOMEPAGE="http://rss2email.infogami.com/" 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 }