summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2009-04-16 05:28:32 +0000
committerChristian Faulhammer <fauli@gentoo.org>2009-04-16 05:28:32 +0000
commit2d87652d3a1106635943222618046415839d9852 (patch)
tree054471f31f4789431426aaef5b756b1fe9d3ccd4 /app-emacs/doctest-mode
parentold (diff)
downloadgentoo-2-2d87652d3a1106635943222618046415839d9852.tar.gz
gentoo-2-2d87652d3a1106635943222618046415839d9852.tar.bz2
gentoo-2-2d87652d3a1106635943222618046415839d9852.zip
initial commit, split out of app-emacs/python-mode
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'app-emacs/doctest-mode')
-rw-r--r--app-emacs/doctest-mode/ChangeLog10
-rw-r--r--app-emacs/doctest-mode/doctest-mode-0.4.ebuild26
-rw-r--r--app-emacs/doctest-mode/files/60doctest-mode-gentoo.el4
-rw-r--r--app-emacs/doctest-mode/metadata.xml5
4 files changed, 45 insertions, 0 deletions
diff --git a/app-emacs/doctest-mode/ChangeLog b/app-emacs/doctest-mode/ChangeLog
new file mode 100644
index 000000000000..613b00dabffb
--- /dev/null
+++ b/app-emacs/doctest-mode/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-emacs/doctest-mode
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/doctest-mode/ChangeLog,v 1.1 2009/04/16 05:28:31 fauli Exp $
+
+*doctest-mode-0.4 (16 Apr 2009)
+
+ 16 Apr 2009; Christian Faulhammer <fauli@gentoo.org>
+ +files/60doctest-mode-gentoo.el, +metadata.xml, +doctest-mode-0.4.ebuild:
+ initial commit, split out of app-emacs/python-mode
+
diff --git a/app-emacs/doctest-mode/doctest-mode-0.4.ebuild b/app-emacs/doctest-mode/doctest-mode-0.4.ebuild
new file mode 100644
index 000000000000..12c2f329fffe
--- /dev/null
+++ b/app-emacs/doctest-mode/doctest-mode-0.4.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/doctest-mode/doctest-mode-0.4.ebuild,v 1.1 2009/04/16 05:28:31 fauli Exp $
+
+EAPI=2
+
+inherit elisp
+
+DESCRIPTION="An Emacs major mode for editing Python source"
+HOMEPAGE="http://www.cis.upenn.edu/~edloper/projects/doctestmode/"
+SRC_URI="http://python-mode.svn.sourceforge.net/viewvc/*checkout*/python-mode/trunk/python-mode/doctest-mode.el?revision=460 -> ${PN}.el"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+SITEFILE=60${PN}-gentoo.el
+
+src_unpack() {
+ cp "${DISTDIR}"/${PN}.el "${WORKDIR}"
+}
diff --git a/app-emacs/doctest-mode/files/60doctest-mode-gentoo.el b/app-emacs/doctest-mode/files/60doctest-mode-gentoo.el
new file mode 100644
index 000000000000..edb38fbb5eb3
--- /dev/null
+++ b/app-emacs/doctest-mode/files/60doctest-mode-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'doctest-mode "doctest-mode" "Editing mode for Python Doctest examples." t)
+(add-to-list 'auto-mode-alist '("\\.doctest$" . doctest-mode))
+
diff --git a/app-emacs/doctest-mode/metadata.xml b/app-emacs/doctest-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/doctest-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>