summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-02-11 15:58:03 +0000
committerUlrich Müller <ulm@gentoo.org>2009-02-11 15:58:03 +0000
commit7bab06159435797e7c50b4f029d73360c41600b8 (patch)
tree244ade77a9231ed255179a94fbd66cd6531c4b28
parentminor bump (diff)
downloadhistorical-7bab06159435797e7c50b4f029d73360c41600b8.tar.gz
historical-7bab06159435797e7c50b4f029d73360c41600b8.tar.bz2
historical-7bab06159435797e7c50b4f029d73360c41600b8.zip
Initial import, bug 250688.
Package-Manager: portage-2.2_rc23/cvs/Linux i686
-rw-r--r--app-emacs/scala-mode/ChangeLog13
-rw-r--r--app-emacs/scala-mode/Manifest16
-rw-r--r--app-emacs/scala-mode/files/50scala-mode-gentoo.el5
-rw-r--r--app-emacs/scala-mode/files/scala-mode-2.7.3-fix-bytecompile.patch79
-rw-r--r--app-emacs/scala-mode/metadata.xml5
-rw-r--r--app-emacs/scala-mode/scala-mode-2.7.3.ebuild28
6 files changed, 146 insertions, 0 deletions
diff --git a/app-emacs/scala-mode/ChangeLog b/app-emacs/scala-mode/ChangeLog
new file mode 100644
index 000000000000..c5337fc74945
--- /dev/null
+++ b/app-emacs/scala-mode/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-emacs/scala-mode
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/scala-mode/ChangeLog,v 1.1 2009/02/11 15:58:03 ulm Exp $
+
+*scala-mode-2.7.3 (11 Feb 2009)
+
+ 11 Feb 2009; Ulrich Mueller <ulm@gentoo.org>
+ +files/50scala-mode-gentoo.el,
+ +files/scala-mode-2.7.3-fix-bytecompile.patch, +metadata.xml,
+ +scala-mode-2.7.3.ebuild:
+ Initial import. Ebuild contributed by Anders Bach Nielsen
+ <abachn@daimi.au.dk> in bug 250688, with modifications by me.
+
diff --git a/app-emacs/scala-mode/Manifest b/app-emacs/scala-mode/Manifest
new file mode 100644
index 000000000000..b05aca46b002
--- /dev/null
+++ b/app-emacs/scala-mode/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 50scala-mode-gentoo.el 106 RMD160 2aaa649925ca61a184eca5c282dea2140b28ac1e SHA1 2200d32148672788c867ee3424644264f1e63a22 SHA256 72a05d823ea08c90c60bb858d6c63d6df0266faff39055325d98de7ed1859599
+AUX scala-mode-2.7.3-fix-bytecompile.patch 2170 RMD160 a993f77504acbe44a29444409f1a57afbe9c582b SHA1 45b80aac7f9a2940279e9fe967c9aac58714a7a2 SHA256 d288963bd3afae5b380697dac6c43e0ea7748bd72e4ac8e5a56646ff1bd73e4c
+DIST scala-tool-support-2.7.3.final.zip 182812 RMD160 a9f9b356ebc3da57db2b6ffeb7e6f75a6744d298 SHA1 37284f75052883eb8eb75e14b6073df856bc2574 SHA256 48550951970cb877561b9fdcf57e42e1556848ea3fc1e398272bc529cdaf4512
+EBUILD scala-mode-2.7.3.ebuild 745 RMD160 20337664b3bcf28b4b8705bcff1528b4dd343eda SHA1 57dce3408ed678ca7856f1a5bbfe1614480066a6 SHA256 887387bb0ab9ba68961ce4706b64e1d1117af82401845ab96328c08f317cb9fc
+MISC ChangeLog 540 RMD160 500469ea9fd3166027741b37a23659cee3883a09 SHA1 4c694d963770cf9e6aa6c20a5752b0aa413b081b SHA256 a9e71c023e8d2cc48ad56889ca4a2f423a282430f6d0dcdefa5bcb5ddc31e715
+MISC metadata.xml 158 RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 SHA1 61f6eff9729cd87a725c2a70c81aca4270a17fc4 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.9 (GNU/Linux)
+
+iEYEARECAAYFAkmS9c4ACgkQOeoy/oIi7ux1qwCgto8LbeaUNar8bpi53mqybgAk
+iHkAn2nzXikxOe4pWCU2m7Jbck5wNFB8
+=cQ/s
+-----END PGP SIGNATURE-----
diff --git a/app-emacs/scala-mode/files/50scala-mode-gentoo.el b/app-emacs/scala-mode/files/50scala-mode-gentoo.el
new file mode 100644
index 000000000000..a811f290c138
--- /dev/null
+++ b/app-emacs/scala-mode/files/50scala-mode-gentoo.el
@@ -0,0 +1,5 @@
+
+;;; scala-mode site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(require 'scala-mode-auto)
diff --git a/app-emacs/scala-mode/files/scala-mode-2.7.3-fix-bytecompile.patch b/app-emacs/scala-mode/files/scala-mode-2.7.3-fix-bytecompile.patch
new file mode 100644
index 000000000000..702c106f9bcd
--- /dev/null
+++ b/app-emacs/scala-mode/files/scala-mode-2.7.3-fix-bytecompile.patch
@@ -0,0 +1,79 @@
+--- scala-mode-constants.el~ 2009-01-13 15:02:44.000000000 +0100
++++ scala-mode-constants.el 2009-02-09 16:13:41.000000000 +0100
+@@ -49,6 +49,7 @@
+
+ (provide 'scala-mode-constants)
+
++(require 'cl)
+ (require 'regexp-opt)
+
+ ;; Helper functions
+--- scala-mode-feature-tags.el~ 2009-01-13 15:02:44.000000000 +0100
++++ scala-mode-feature-tags.el 2009-02-09 16:15:31.000000000 +0100
+@@ -49,6 +49,7 @@
+
+ (provide 'scala-mode-feature-tags)
+
++(require 'cl)
+ (require 'etags)
+
+ (defgroup scala-mode-feature:tags nil
+--- scala-mode-fontlock.el~ 2009-01-13 15:02:44.000000000 +0100
++++ scala-mode-fontlock.el 2009-02-09 16:19:54.000000000 +0100
+@@ -49,7 +49,11 @@
+
+ (provide 'scala-mode-fontlock)
+
++(require 'cl)
+ (require 'font-lock)
++(require 'scala-mode-constants)
++(require 'scala-mode-lib)
++(require 'scala-mode-navigation)
+
+ (defun scala-mark-borders (funs)
+ (loop for (fun . flag) in funs
+--- scala-mode-indent.el~ 2009-01-13 15:02:44.000000000 +0100
++++ scala-mode-indent.el 2009-02-09 16:14:08.000000000 +0100
+@@ -49,6 +49,10 @@
+
+ (provide 'scala-mode-indent)
+
++(require 'cl)
++(require 'scala-mode-constants)
++(require 'scala-mode-navigation)
++
+ (defcustom scala-mode-indent:step 2
+ "Indentation step."
+ :type 'integer
+--- scala-mode-navigation.el~ 2009-01-13 15:02:44.000000000 +0100
++++ scala-mode-navigation.el 2009-02-09 16:21:24.000000000 +0100
+@@ -49,6 +49,8 @@
+
+ (provide 'scala-mode-navigation)
+
++(require 'scala-mode-constants)
++
+ (defun scala-when-looking-at* (regexp &optional thunk)
+ (let ((saved-match-data (match-data)))
+ (if (looking-at regexp)
+--- scala-mode-ui.el~ 2009-01-13 15:02:44.000000000 +0100
++++ scala-mode-ui.el 2009-02-09 16:24:27.000000000 +0100
+@@ -50,13 +50,15 @@
+ (provide 'scala-mode-ui)
+
+ (require 'easymenu)
++(require 'scala-mode-lib)
+
+ (eval-when-compile
+ (require 'scala-mode-inf))
+
+-(defcustom scala-mode-ui:prefix-key "\C-c"
+- "Key prefix for scala mode."
+- :group 'scala)
++(eval-and-compile
++ (defcustom scala-mode-ui:prefix-key "\C-c"
++ "Key prefix for scala mode."
++ :group 'scala))
+
+ (defmacro scala-mode-ui:key (key)
+ "Simple macro for appending 'scala-mode-prefix-key' to key commands"
diff --git a/app-emacs/scala-mode/metadata.xml b/app-emacs/scala-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/scala-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>
diff --git a/app-emacs/scala-mode/scala-mode-2.7.3.ebuild b/app-emacs/scala-mode/scala-mode-2.7.3.ebuild
new file mode 100644
index 000000000000..e47a78162637
--- /dev/null
+++ b/app-emacs/scala-mode/scala-mode-2.7.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/scala-mode/scala-mode-2.7.3.ebuild,v 1.1 2009/02/11 15:58:03 ulm Exp $
+
+EAPI=2
+
+inherit elisp eutils
+
+MY_P="scala-tool-support-${PV}.final"
+DESCRIPTION="Scala mode for Emacs"
+HOMEPAGE="http://www.scala-lang.org/"
+SRC_URI="http://www.scala-lang.org/downloads/distrib/files/scala-packages/${MY_P}.sbp -> ${MY_P}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND="dev-lang/scala"
+
+S="${WORKDIR}/misc/scala-tool-support/emacs/"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="AUTHORS FUTURE README"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-fix-bytecompile.patch"
+}