Lines 6-12
Link Here
|
6 |
PYTHON_DEPEND="2" |
6 |
PYTHON_DEPEND="2" |
7 |
SUPPORT_PYTHON_ABIS="1" |
7 |
SUPPORT_PYTHON_ABIS="1" |
8 |
|
8 |
|
9 |
inherit distutils python |
9 |
inherit distutils python eutils |
10 |
|
10 |
|
11 |
DESCRIPTION="A fully functional X client library for Python, written in Python" |
11 |
DESCRIPTION="A fully functional X client library for Python, written in Python" |
12 |
HOMEPAGE="http://python-xlib.sourceforge.net/" |
12 |
HOMEPAGE="http://python-xlib.sourceforge.net/" |
Lines 26-34
Link Here
|
26 |
|
26 |
|
27 |
PYTHON_MODNAME="Xlib" |
27 |
PYTHON_MODNAME="Xlib" |
28 |
|
28 |
|
|
|
29 |
src_prepare() { |
30 |
# epatch "${FILESDIR}"/no-dvi.patch |
31 |
sed -e 's:-splitnode ::' -i doc/html/Makefile || die "desded" |
32 |
sed -e 's:^ps:#ps:' -i doc/Makefile \ |
33 |
-e 's:^\t(cd ps;:#\t(cd ps;:' -i doc/Makefile || die "deaded" |
34 |
} |
35 |
|
29 |
src_compile() { |
36 |
src_compile() { |
30 |
distutils_src_compile |
37 |
distutils_src_compile |
31 |
|
|
|
32 |
if use doc; then |
38 |
if use doc; then |
33 |
cd doc |
39 |
cd doc |
34 |
einfo "Generation of documentation" |
40 |
einfo "Generation of documentation" |
Lines 53-59
Link Here
|
53 |
distutils_src_install |
59 |
distutils_src_install |
54 |
|
60 |
|
55 |
if use doc; then |
61 |
if use doc; then |
56 |
dohtml -r doc/html/ |
62 |
python_enable_pyc |
57 |
dodoc doc/ps/python-xlib.ps |
63 |
dohtml -r doc/html |
|
|
64 |
python_disable_pyc |
58 |
fi |
65 |
fi |
59 |
} |
66 |
} |