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 |
|
7 |
if [[ $PV == *9999 ]]; then |
9 |
if [[ $PV == *9999 ]]; then |
8 |
KEYWORDS="" |
10 |
KEYWORDS="" |
9 |
REPO="xen-unstable.hg" |
11 |
REPO="xen-unstable.hg" |
Lines 27-35
Link Here
|
27 |
SLOT="0" |
29 |
SLOT="0" |
28 |
IUSE="api custom-cflags debug doc flask hvm qemu pygrub screen xend" |
30 |
IUSE="api custom-cflags debug doc flask hvm qemu pygrub screen xend" |
29 |
|
31 |
|
30 |
CDEPEND="dev-lang/python |
32 |
CDEPEND="<dev-libs/yajl-2 |
31 |
<dev-libs/yajl-2 |
|
|
32 |
dev-python/lxml |
33 |
dev-python/lxml |
|
|
34 |
dev-python/pypam |
33 |
sys-libs/zlib |
35 |
sys-libs/zlib |
34 |
hvm? ( media-libs/libsdl |
36 |
hvm? ( media-libs/libsdl |
35 |
sys-power/iasl ) |
37 |
sys-power/iasl ) |
Lines 76-81
Link Here
|
76 |
usr/share/xen/qemu/openbios-sparc64" |
78 |
usr/share/xen/qemu/openbios-sparc64" |
77 |
|
79 |
|
78 |
pkg_setup() { |
80 |
pkg_setup() { |
|
|
81 |
python_set_active_version 2 |
82 |
python_pkg_setup |
83 |
|
79 |
export "CONFIG_LOMOUNT=y" |
84 |
export "CONFIG_LOMOUNT=y" |
80 |
|
85 |
|
81 |
if use qemu; then |
86 |
if use qemu; then |
Lines 230-235
Link Here
|
230 |
make DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" XEN_PYTHON_NATIVE_INSTALL=y install-tools \ |
235 |
make DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" XEN_PYTHON_NATIVE_INSTALL=y install-tools \ |
231 |
|| die "install failed" |
236 |
|| die "install failed" |
232 |
|
237 |
|
|
|
238 |
python_convert_shebangs -r 2 "${ED}" |
239 |
|
233 |
# Remove RedHat-specific stuff |
240 |
# Remove RedHat-specific stuff |
234 |
rm -r "${D}"/etc/init.d/xen* "${D}"/etc/default || die |
241 |
rm -r "${D}"/etc/init.d/xen* "${D}"/etc/default || die |
235 |
|
242 |
|