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

Collapse All | Expand All

(-)docutils-0.4-r1.ebuild~ (-14 / +2 lines)
Lines 14-24 Link Here
14
KEYWORDS="~alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
14
KEYWORDS="~alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
15
IUSE="glep emacs"
15
IUSE="glep emacs"
16
16
17
DEPEND=">=dev-lang/python-2.3
17
DEPEND=">=dev-lang/python-2.3"
18
	emacs? ( virtual/emacs )"
18
PDEPEND="emacs? ( >=app-emacs/rst-0.4 )"
19
19
20
EMP=${PN}-0.3.7
20
EMP=${PN}-0.3.7
21
SITEFILE=50docutils-0.4-gentoo.el
22
21
23
GLEP_SRC=${WORKDIR}/glep-${PVR}
22
GLEP_SRC=${WORKDIR}/glep-${PVR}
24
23
Lines 52-61 Link Here
52
51
53
	# clean up after the doc building
52
	# clean up after the doc building
54
	rm roman.py html4css1.css
53
	rm roman.py html4css1.css
55
56
	if use emacs; then
57
		pushd tools/editors/emacs; elisp-compile *.el; popd
58
	fi
59
}
54
}
60
55
61
56
Lines 104-122 Link Here
104
		insinto /usr/$(get_libdir)/python${PYVER}/site-packages/docutils/writers
99
		insinto /usr/$(get_libdir)/python${PYVER}/site-packages/docutils/writers
105
		doins -r ${GLEP_SRC}/glep_html || die "doins writer failed"
100
		doins -r ${GLEP_SRC}/glep_html || die "doins writer failed"
106
	fi
101
	fi
107
108
	if use emacs; then
109
		elisp-install ${PN} tools/editors/emacs/*.{elc,el}
110
		elisp-site-file-install ${FILESDIR}/${SITEFILE}
111
	fi
112
}
102
}
113
103
114
pkg_postinst() {
104
pkg_postinst() {
115
	use emacs && elisp-site-regen
116
	distutils_pkg_postinst
105
	distutils_pkg_postinst
117
}
106
}
118
107
119
pkg_postrm() {
108
pkg_postrm() {
120
	use emacs && elisp-site-regen
121
	distutils_pkg_postrm
109
	distutils_pkg_postrm
122
}
110
}

Return to bug 183242