Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 44165 Details for
Bug 71554
dev-python/docutils should install emacs modes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
modified docutils ebuild
docutils-0.3.5-r1.ebuild (text/plain), 2.28 KB, created by
Steingrim Dovland
on 2004-11-17 09:01:34 UTC
(
hide
)
Description:
modified docutils ebuild
Filename:
MIME Type:
Creator:
Steingrim Dovland
Created:
2004-11-17 09:01:34 UTC
Size:
2.28 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/docutils-0.3.5.ebuild,v 1.2 2004/11/12 15:31:39 g2boojum Exp $ > >inherit distutils eutils elisp-common > >DESCRIPTION="Set of python tools for processing plaintext docs into HTML, XML, etc." >HOMEPAGE="http://docutils.sourceforge.net/" >SRC_URI="mirror://sourceforge/docutils/${P}.tar.gz > glep? ( mirror://gentoo/glep-${PV}.tbz2 )" > >LICENSE="public-domain PYTHON BSD" >SLOT="0" >KEYWORDS="~x86 ~ppc ~alpha" >IUSE="glep emacs" > >DEPEND=">=dev-lang/python-2.1" > >GLEP_SRC=${WORKDIR}/glep-${PV} > >src_unpack() { > unpack ${A} > # simplified algorithm to select installing optparse and textwrap > epatch ${FILESDIR}/${P}-extramodules.patch >} > >src_compile() { > distutils_src_compile > > # Generate html docs from reStructured text sources > PYTHONPATH=${S}/build/lib ${python} \ > tools/buildhtml.py --config=tools/docutils.conf >} > > >install_txt_doc() { > local doc=${1} > local dir="txt/$(dirname ${doc})" > docinto ${dir} > dodoc ${doc} >} > >src_install() { > mydoc="MANIFEST.in *.txt" > distutils_src_install > # Tools > cd ${S}/tools > for tool in *.py > do > newbin ${tool} docutils-${tool} > done > # Docs > cd ${S} > dohtml -r docs spec tools > for doc in $(find docs spec tools -name '*.txt') > do > install_txt_doc $doc > done > > # emacs major mode and documentation > if use emacs > then > cd ${S}/tools/editors/emacs > elisp-install rst-mode rst-mode.el rst-html.el restructuredtext.el > elisp-site-file-install ${FILESDIR}/50docutils-gentoo.el > docinto emacs > dodoc README.txt > fi > > # installing Gentoo GLEP tools. Uses versioned GLEP distribution > if use glep > then > distutils_python_version > newbin ${GLEP_SRC}/glep.py docutils-glep.py || die "newbin failed" > insinto /usr/lib/python${PYVER}/site-packages/docutils/readers > newins ${GLEP_SRC}/glepread.py glep.py || die "newins reader failed" > insinto /usr/lib/python${PYVER}/site-packages/docutils/transforms > newins ${GLEP_SRC}/glepstrans.py gleps.py || "newins transform failed" > insinto /usr/lib/python${PYVER}/site-packages/docutils/writers > newins ${GLEP_SRC}/glep_htmlwrite.py glep_html.py || die "newins writer failed" > fi >} > >pkg_postinst() { > use emacs && elisp-site-regen >} > >pkg_postrm() { > use emacs && elisp-site-regen >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 71554
: 44165 |
44166
|
44167