Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 311207 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +11 lines)
Line  Link Here
0
-- xen-tools-4.1.2.ebuild
0
++ xen-tools-4.1.2.ebuild
Lines 4-9 Link Here
4
4
5
EAPI="3"
5
EAPI="3"
6
6
7
PYTHON_DEPEND="2"
8
PYTHON_USE_WITH="xml"
9
7
if [[ $PV == *9999 ]]; then
10
if [[ $PV == *9999 ]]; then
8
	KEYWORDS=""
11
	KEYWORDS=""
9
	REPO="xen-unstable.hg"
12
	REPO="xen-unstable.hg"
Lines 27-36 Link Here
27
SLOT="0"
30
SLOT="0"
28
IUSE="api custom-cflags debug doc flask hvm qemu pygrub screen xend"
31
IUSE="api custom-cflags debug doc flask hvm qemu pygrub screen xend"
29
32
30
CDEPEND="dev-lang/python
33
CDEPEND="<dev-libs/yajl-2
31
	<dev-libs/yajl-2
32
	dev-python/lxml
34
	dev-python/lxml
33
	dev-python/pypam
35
	dev-python/pypam
36
	dev-python/pyxml
34
	sys-libs/zlib
37
	sys-libs/zlib
35
	hvm? ( media-libs/libsdl
38
	hvm? ( media-libs/libsdl
36
		sys-power/iasl )
39
		sys-power/iasl )
Lines 77-82 Link Here
77
RESTRICT="test"
80
RESTRICT="test"
78
81
79
pkg_setup() {
82
pkg_setup() {
83
	python_set_active_version 2
84
	python_pkg_setup
85
80
	export "CONFIG_LOMOUNT=y"
86
	export "CONFIG_LOMOUNT=y"
81
87
82
	if use qemu; then
88
	if use qemu; then
Lines 239-244 Link Here
239
	make DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" XEN_PYTHON_NATIVE_INSTALL=y install-tools  \
245
	make DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" XEN_PYTHON_NATIVE_INSTALL=y install-tools  \
240
		|| die "install failed"
246
		|| die "install failed"
241
247
248
	python_convert_shebangs -r 2 "${ED}"
249
242
	# Remove RedHat-specific stuff
250
	# Remove RedHat-specific stuff
243
	rm -r "${D}"/etc/init.d/xen* "${D}"/etc/default || die
251
	rm -r "${D}"/etc/init.d/xen* "${D}"/etc/default || die
244
252

Return to bug 311207