summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2005-07-11 05:44:53 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2005-07-11 05:44:53 +0000
commit8a094409d0ad7ceba2c82a7987288b6f7b73bd9a (patch)
tree32dffd395aa78a51588e2e93a9c7c1ae0b58bcf8 /dev-python/docutils
parentVersion bump closes bug #98469. (diff)
downloadgentoo-2-8a094409d0ad7ceba2c82a7987288b6f7b73bd9a.tar.gz
gentoo-2-8a094409d0ad7ceba2c82a7987288b6f7b73bd9a.tar.bz2
gentoo-2-8a094409d0ad7ceba2c82a7987288b6f7b73bd9a.zip
.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-python/docutils')
-rw-r--r--dev-python/docutils/ChangeLog6
-rw-r--r--dev-python/docutils/Manifest31
-rw-r--r--dev-python/docutils/docutils-0.3.7.ebuild27
-rw-r--r--dev-python/docutils/files/50docutils-gentoo.el8
4 files changed, 52 insertions, 20 deletions
diff --git a/dev-python/docutils/ChangeLog b/dev-python/docutils/ChangeLog
index 1fe46db9ca48..c119683ea6ba 100644
--- a/dev-python/docutils/ChangeLog
+++ b/dev-python/docutils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/docutils
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/ChangeLog,v 1.27 2005/06/04 19:00:02 spb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/ChangeLog,v 1.28 2005/07/11 05:44:53 mkennedy Exp $
+
+ 11 Jul 2005; Matthew Kennedy <mkennedy@gentoo.org>
+ +files/50docutils-gentoo.el, docutils-0.3.7.ebuild:
+ Support emacs USE flag.
04 Jun 2005; Stephen Bennett <spb@gentoo.org> docutils-0.3.7.ebuild:
~mips keywords
diff --git a/dev-python/docutils/Manifest b/dev-python/docutils/Manifest
index 5e2b2eb3074d..ceba7a59eeb5 100644
--- a/dev-python/docutils/Manifest
+++ b/dev-python/docutils/Manifest
@@ -1,28 +1,29 @@
-MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
+MD5 c42d4378ec927d0edb2a39f64cf91be9 ChangeLog 4605
MD5 32c18f62ef442534b43d411bfd8c40a6 docutils-0.3-r1.ebuild 1770
MD5 dddf09e76c6f943ebc4931e2ff794320 docutils-0.3.3-r1.ebuild 1903
-MD5 74a7b1584824888016191380b65cea31 docutils-0.3_pre20030530-r3.ebuild 1541
-MD5 c8f30bd589eb77599e9c5b370016f2c4 docutils-0.3.7.ebuild 2064
-MD5 f20afa1cbc051c2c15b6f1f8ebad6a47 ChangeLog 4471
MD5 7a80c164de47f6baee59a6582f4cb3f1 docutils-0.3.5.ebuild 1963
-MD5 0a2c7c1478f8b72f97b3d12534b4159e files/glepread.py 1647
-MD5 4be747a533a3ba63b1cad7ced8b8ba04 files/docutils-0.3.7-extramodules.patch 1163
-MD5 9d184e504ea5367a9309b9a1691d5147 files/docutils-0.3.5-extramodules.patch 1163
-MD5 7c025532adb8b09116980747be7ccc61 files/docutils-0.3-extramodules.patch 1155
-MD5 e3fa7c72245aae7d90beef3bf411583b files/glep_htmlwrite.py 4162
-MD5 8c6d9ea3ddd2e36b369112ee20b660fb files/digest-docutils-0.3_pre20030530-r3 73
+MD5 74a7b1584824888016191380b65cea31 docutils-0.3_pre20030530-r3.ebuild 1541
+MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
+MD5 68cbbae8db54ece8c3d5ea1d42389ea5 docutils-0.3.7.ebuild 2445
MD5 694b883b9a8f714dc375a547cdf62b1d files/digest-docutils-0.3-r1 64
-MD5 a88bbfee1135288043eeffcb178fab00 files/digest-docutils-0.3.5 124
-MD5 fded948d9eac24154eab24b2b56d15d6 files/glepstrans.py 10420
-MD5 90906547cd2223248f6619d44b7fb688 files/digest-docutils-0.3.7 124
MD5 d30e8a9c7f49c164696893c2f39f41ee files/digest-docutils-0.3.3-r1 72
+MD5 a88bbfee1135288043eeffcb178fab00 files/digest-docutils-0.3.5 124
+MD5 8c6d9ea3ddd2e36b369112ee20b660fb files/digest-docutils-0.3_pre20030530-r3 73
+MD5 7c025532adb8b09116980747be7ccc61 files/docutils-0.3-extramodules.patch 1155
MD5 fd7797bcc6dfaac58ec5408e4e3dac99 files/docutils-0.3.3-extramodules.patch 1159
+MD5 9d184e504ea5367a9309b9a1691d5147 files/docutils-0.3.5-extramodules.patch 1163
MD5 4787b6c5e6678d3f211ec7f8ec71aa03 files/glep.py 699
+MD5 e3fa7c72245aae7d90beef3bf411583b files/glep_htmlwrite.py 4162
+MD5 0a2c7c1478f8b72f97b3d12534b4159e files/glepread.py 1647
+MD5 fded948d9eac24154eab24b2b56d15d6 files/glepstrans.py 10420
+MD5 90906547cd2223248f6619d44b7fb688 files/digest-docutils-0.3.7 124
+MD5 4be747a533a3ba63b1cad7ced8b8ba04 files/docutils-0.3.7-extramodules.patch 1163
+MD5 dac9480a7b5144f60cb48675c654f5a3 files/50docutils-gentoo.el 280
MD5 d6fc669e125324930e72f2421779a5c2 files/glep-0.3-r1/glepread.py 1647
+MD5 770e48a59980bce89ab956ab96396a7c files/glep-0.3-r1/glep.py 699
MD5 a273d63de34b5da93a15764998c054d2 files/glep-0.3-r1/glep_htmlwrite.py 4168
MD5 52f6ec87bfa6c5c8ec86c85e2a2ed58a files/glep-0.3-r1/glepstrans.py 10428
-MD5 770e48a59980bce89ab956ab96396a7c files/glep-0.3-r1/glep.py 699
MD5 f3c575d69568fafe2159283355e7efc0 files/glep-0.3.3/glepread.py 1833
+MD5 8a92d518608c84c83ce14ac840f96834 files/glep-0.3.3/glep.py 699
MD5 bacb84b99614ef28729cb5adf4763242 files/glep-0.3.3/glep_htmlwrite.py 3246
MD5 bba4f5a38311f907d4ddb4a5514099ea files/glep-0.3.3/glepstrans.py 10898
-MD5 8a92d518608c84c83ce14ac840f96834 files/glep-0.3.3/glep.py 699
diff --git a/dev-python/docutils/docutils-0.3.7.ebuild b/dev-python/docutils/docutils-0.3.7.ebuild
index 68d9a6d964dd..c86f7d9ae63a 100644
--- a/dev-python/docutils/docutils-0.3.7.ebuild
+++ b/dev-python/docutils/docutils-0.3.7.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/docutils-0.3.7.ebuild,v 1.4 2005/06/04 19:00:02 spb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/docutils-0.3.7.ebuild,v 1.5 2005/07/11 05:44:53 mkennedy Exp $
-inherit distutils eutils
+inherit distutils eutils elisp-common
DESCRIPTION="Set of python tools for processing plaintext docs into HTML, XML, etc."
HOMEPAGE="http://docutils.sourceforge.net/"
@@ -12,8 +12,11 @@ SRC_URI="mirror://sourceforge/docutils/${P}.tar.gz
LICENSE="public-domain PYTHON BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc-macos ~sparc ~x86"
-IUSE="glep"
-DEPEND=">=dev-lang/python-2.2"
+IUSE="glep emacs"
+DEPEND=">=dev-lang/python-2.2
+ emacs? ( virtual/emacs )"
+
+SITEFILE=50docutils-gentoo.el
GLEP_SRC=${WORKDIR}/glep-${PV}
@@ -29,6 +32,9 @@ src_compile() {
# Generate html docs from reStructured text sources
PYTHONPATH=${S}/build/lib ${python} \
tools/buildhtml.py --config=tools/docutils.conf
+ if use emacs; then
+ pushd tools/editors/emacs; elisp-compile *.el; popd
+ fi
}
@@ -74,4 +80,17 @@ src_install() {
insinto /usr/lib/python${PYVER}/site-packages/docutils/writers
newins ${GLEP_SRC}/glep_htmlwrite.py glep_html.py || die "newins writer failed"
fi
+
+ if use emacs; then
+ elisp-install ${PN} tools/editors/emacs/*.{elc,el}
+ elisp-site-file-install ${FILESDIR}/${SITEFILE}
+ fi
}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+} \ No newline at end of file
diff --git a/dev-python/docutils/files/50docutils-gentoo.el b/dev-python/docutils/files/50docutils-gentoo.el
new file mode 100644
index 000000000000..e5a6bfc5bed8
--- /dev/null
+++ b/dev-python/docutils/files/50docutils-gentoo.el
@@ -0,0 +1,8 @@
+
+;; site-lisp configuration for docutils
+
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'rst-mode "rst-mode" "mode for editing reStructuredText documents" t)
+(setq auto-mode-alist
+ (append '(("\\.rst$" . rst-mode)
+ ("\\.rest$" . rst-mode)) auto-mode-alist))