blob: 29621a0b38bb9d4d064712172a96903e0a76fdfd (
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
42
43
44
45
46
47
48
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtinst/virtinst-9999.ebuild,v 1.5 2011/03/28 08:39:41 flameeyes Exp $
#BACKPORTS=1
EAPI=3
if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="http://git.fedorahosted.org/git/python-virtinst.git"
GIT_ECLASS="git"
fi
PYTHON_DEPEND="2"
RESTRICT_PYTHON_ABIS="3.*"
SUPPORT_PYTHON_ABIS="1"
inherit distutils eutils ${GIT_ECLASS}
if [[ ${PV} = *9999* ]]; then
SRC_URI=""
KEYWORDS=""
else
SRC_URI="http://virt-manager.et.redhat.com/download/sources/${PN}/${P}.tar.gz
${BACKPORTS:+mirror://gentoo/${P}-backports-${BACKPORTS}.tar.bz2}"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Python modules for starting virtualized guest installations"
HOMEPAGE="http://virt-manager.et.redhat.com/"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
RDEPEND=">=app-emulation/libvirt-0.7.0[python]
dev-python/urlgrabber
dev-libs/libxml2[python]"
DEPEND="${RDEPEND}"
PYTHON_MODNAME="virtconv virtinst"
src_prepare() {
[[ -n ${BACKPORTS} ]] && \
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
epatch
distutils_src_prepare
}
|