# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/feedparser/feedparser-4.1.ebuild,v 1.12 2008/05/11 16:45:55 corsair Exp $ inherit distutils eutils DESCRIPTION="Parse RSS and Atom feeds in Python" HOMEPAGE="http://www.feedparser.org/" SRC_URI="mirror://sourceforge/feedparser/${P}.zip" LICENSE="PYTHON" SLOT="0" KEYWORDS="alpha amd64 ia64 ppc ppc64 ~sparc x86 ~x86-fbsd" IUSE="" DEPEND="app-arch/unzip" S=${WORKDIR} DOCS="LICENSE" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-utf8-decoding.patch } src_install() { distutils_src_install insinto /usr/share/doc/${PF} doins -r docs }