summaryrefslogtreecommitdiff
blob: c132f5852fdf45a8d2fa93eef9061ba7d6f689ce (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtinst/virtinst-0.103.0.ebuild,v 1.1 2007/06/10 06:07:02 dberkholz Exp $

inherit distutils rpm

# Revision of the RPM. Shouldn't affect us, as we're just grabbing the source
# tarball out of it
RPMREV="3.fc7"

MY_P="python-${P}"

DESCRIPTION="Python modules for starting virtualized guest installations"
HOMEPAGE="http://virt-manager.et.redhat.com/"
#SRC_URI="http://virt-manager.et.redhat.com/download/sources/${PN}/${P}.tar.gz"
SRC_URI="mirror://fedora/development/source/SRPMS/${MY_P}-${RPMREV}.src.rpm"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RDEPEND=">=app-emulation/libvirt-0.2.1
	dev-python/urlgrabber"
DEPEND="${RDEPEND}"

src_unpack() {
	rpm_src_unpack

	cd "${S}"
	epatch "${FILESDIR}"/${P}-accelerate.patch
	epatch "${FILESDIR}"/${P}-default-net.patch
	epatch "${FILESDIR}"/${P}-features-xml.patch
	epatch "${FILESDIR}"/${P}-rhel5-client.patch
	epatch "${FILESDIR}"/${P}-urlgrabber-import.patch
}