Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 299454
Collapse All | Expand All

(-)python-xlib.orig//python-xlib-0.14.ebuild (-4 / +11 lines)
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
}
(-)python-xlib.orig//python-xlib-0.15_rc1-r1.ebuild (-3 / +14 lines)
Lines 29-37 Link Here
29
29
30
PYTHON_MODNAME="Xlib"
30
PYTHON_MODNAME="Xlib"
31
31
32
src_prepare() {
33
#	sed -e 's:-splitnode ::' -i doc/html/Makefile || die "desded"
34
	sed -e 's:^ps:#ps:' -i doc/Makefile \
35
		-e 's:^\t(cd ps;:#\t(cd ps;:' -i doc/Makefile || die "deaded"
36
	sed -e 's:^include ../src/defs:#include ../src/defs:' \
37
		-i doc/html/Makefile || die "big time!!!" || die "deaded"
38
	sed -e 's:^include ../src/defs:#include ../src/defs:' \
39
		-i doc/info/Makefile || die "big time!!!"
40
	sed -e s': -menu: -menu --P:' -i doc/html/Makefile || die "deaded"
41
}
42
32
src_compile() {
43
src_compile() {
33
	distutils_src_compile
44
	distutils_src_compile
34
35
	if use doc; then
45
	if use doc; then
36
		cd doc
46
		cd doc
37
		einfo "Generation of documentation"
47
		einfo "Generation of documentation"
Lines 56-62 Link Here
56
	distutils_src_install
66
	distutils_src_install
57
67
58
	if use doc; then
68
	if use doc; then
59
		dohtml -r doc/html/
69
		python_enable_pyc
60
		dodoc doc/ps/python-xlib.ps
70
		dohtml -r doc/html
71
		python_disable_pyc
61
	fi
72
	fi
62
}
73
}

Return to bug 299454