aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2009-02-24 10:25:29 -0800
committerDonnie Berkholz <dberkholz@gentoo.org>2009-02-24 10:25:29 -0800
commitf7bea400927163345bb5f725ab4d127e0d31fa8f (patch)
tree613cb6f925a4cf2dcc1ce3b5316084923b1f3310 /app-emacs
parentcclib: bump to 0.91 (yes, this is right after 0.9. yay science.) (diff)
downloaddberkholz-f7bea400927163345bb5f725ab4d127e0d31fa8f.tar.gz
dberkholz-f7bea400927163345bb5f725ab4d127e0d31fa8f.tar.bz2
dberkholz-f7bea400927163345bb5f725ab4d127e0d31fa8f.zip
ropemacs: python refactoring for emacs (#202700).
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/ropemacs/Manifest3
-rw-r--r--app-emacs/ropemacs/files/55ropemacs-gentoo.el5
-rw-r--r--app-emacs/ropemacs/ropemacs-0.6.ebuild37
3 files changed, 45 insertions, 0 deletions
diff --git a/app-emacs/ropemacs/Manifest b/app-emacs/ropemacs/Manifest
new file mode 100644
index 0000000..4bbec6c
--- /dev/null
+++ b/app-emacs/ropemacs/Manifest
@@ -0,0 +1,3 @@
+AUX 55ropemacs-gentoo.el 102 RMD160 00dd530d6974bec984af57031f72798e04d838c1 SHA1 3091dacd466ab669175c0db8577f3fd2c0a6ac75 SHA256 e501aaae6834702202389fda80aae7248ed532f812d1a797e784204ca3b58bee
+DIST ropemacs-0.6.tar.gz 29162 RMD160 5e9c10a251ea438a786522a175502c3aab40e9ee SHA1 907bc99bdf179edd6fd077ea005bfab3c38176af SHA256 44831ce6a9d2e7634b036ae0c5c6e931a0d0dd0c7d228f3a9fd81d2bebf2d8a9
+EBUILD ropemacs-0.6.ebuild 684 RMD160 99ec04dc19df95de6299bafcadb9f102259516a4 SHA1 ad08bcd83d9e2098c869b0f4832c55ded1303bfa SHA256 53ec9711b83ba4aa22b90f447c31c72724fb0cdc36e640a188c399a8ce6f44e2
diff --git a/app-emacs/ropemacs/files/55ropemacs-gentoo.el b/app-emacs/ropemacs/files/55ropemacs-gentoo.el
new file mode 100644
index 0000000..d0efc5f
--- /dev/null
+++ b/app-emacs/ropemacs/files/55ropemacs-gentoo.el
@@ -0,0 +1,5 @@
+;;; dev-python/ropemacs site-lisp configuration
+
+(require 'pymacs)
+(pymacs-load "ropemacs" "rope-")
+
diff --git a/app-emacs/ropemacs/ropemacs-0.6.ebuild b/app-emacs/ropemacs/ropemacs-0.6.ebuild
new file mode 100644
index 0000000..2c87611
--- /dev/null
+++ b/app-emacs/ropemacs/ropemacs-0.6.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=""
+
+inherit distutils eutils elisp-common
+
+DESCRIPTION="Emacs interface for rope"
+HOMEPAGE="http://rope.sourceforge.net/"
+SRC_URI="mirror://sourceforge/rope/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="nomirror"
+DEPEND=">=dev-python/rope-0.7
+ >=app-emacs/pymacs-0.22-r1"
+RDEPEND="${DEPEND}"
+SITEFILE=55${PN}-gentoo.el
+
+src_install() {
+ distutils_src_install
+
+ dodir docs
+ dodoc docs/*.txt
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+}
+
+pkg_postinst() {
+ elisp-site-regen
+}
+
+pkg_postrm() {
+ elisp-site-regen
+}