summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-07-28 18:06:33 +0000
committerHans de Graaff <graaff@gentoo.org>2014-07-28 18:06:33 +0000
commit4a7616990136b4ca110c14c9d4dbe3276d72ecb6 (patch)
tree6a4ba64edb8ba462e986ef32ad6d2e14a531cb23 /app-emacs
parentTaking over full maintainership instead of through proxy-maint (diff)
downloadgentoo-2-4a7616990136b4ca110c14c9d4dbe3276d72ecb6.tar.gz
gentoo-2-4a7616990136b4ca110c14c9d4dbe3276d72ecb6.tar.bz2
gentoo-2-4a7616990136b4ca110c14c9d4dbe3276d72ecb6.zip
Version bump. Add support for Rakefiles to the sitefile, fixing bug 445368.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/ruby-mode/ChangeLog8
-rw-r--r--app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.1.2.el12
-rw-r--r--app-emacs/ruby-mode/ruby-mode-2.1.2.ebuild19
3 files changed, 38 insertions, 1 deletions
diff --git a/app-emacs/ruby-mode/ChangeLog b/app-emacs/ruby-mode/ChangeLog
index b24e66c62097..c14d5041d62d 100644
--- a/app-emacs/ruby-mode/ChangeLog
+++ b/app-emacs/ruby-mode/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emacs/ruby-mode
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/ruby-mode/ChangeLog,v 1.56 2014/03/29 14:19:14 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/ruby-mode/ChangeLog,v 1.57 2014/07/28 18:06:33 graaff Exp $
+
+*ruby-mode-2.1.2 (28 Jul 2014)
+
+ 28 Jul 2014; Hans de Graaff <graaff@gentoo.org> +ruby-mode-2.1.2.ebuild,
+ +files/50ruby-mode-gentoo-2.1.2.el:
+ Version bump. Add support for Rakefiles to the sitefile, fixing bug 445368.
*ruby-mode-2.1.1 (29 Mar 2014)
diff --git a/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.1.2.el b/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.1.2.el
new file mode 100644
index 000000000000..691abdfdaf99
--- /dev/null
+++ b/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.1.2.el
@@ -0,0 +1,12 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'ruby-mode "ruby-mode" "Major mode to edit ruby files." t)
+
+(add-to-list 'auto-mode-alist '("Rakefile\\'" . ruby-mode))
+(add-to-list 'auto-mode-alist '("\\.\\(rake\\|rb\\)\\'" . ruby-mode))
+(add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode))
+
+(autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process" t)
+(autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode")
+
+(add-hook 'ruby-mode-hook 'inf-ruby-keys)
diff --git a/app-emacs/ruby-mode/ruby-mode-2.1.2.ebuild b/app-emacs/ruby-mode/ruby-mode-2.1.2.ebuild
new file mode 100644
index 000000000000..001d612de249
--- /dev/null
+++ b/app-emacs/ruby-mode/ruby-mode-2.1.2.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/ruby-mode/ruby-mode-2.1.2.ebuild,v 1.1 2014/07/28 18:06:33 graaff Exp $
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Emacs major mode for editing Ruby code"
+HOMEPAGE="http://www.ruby-lang.org/"
+SRC_URI="mirror://ruby/ruby-${PV}.tar.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+S="${WORKDIR}/ruby-${PV}/misc"
+DOCS="README"
+SITEFILE="50${PN}-gentoo-${PV}.el"