summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2007-02-03 11:15:31 +0000
committerTiziano Müller <dev-zero@gentoo.org>2007-02-03 11:15:31 +0000
commit822c6176adaf89232156d7b1db485c9f724ae46b (patch)
tree7c8923db84ad48438094a45309e3710c7aa9cb0e /dev-python/ipython
parentDon't use egamesinstall (diff)
downloadhistorical-822c6176adaf89232156d7b1db485c9f724ae46b.tar.gz
historical-822c6176adaf89232156d7b1db485c9f724ae46b.tar.bz2
historical-822c6176adaf89232156d7b1db485c9f724ae46b.zip
Added 50ipython-mode-gentoo.el from bug 92218 and inherit from elisp-common to complete emacs support (thanks to dan).
Package-Manager: portage-2.1.2-r5
Diffstat (limited to 'dev-python/ipython')
-rw-r--r--dev-python/ipython/ChangeLog7
-rw-r--r--dev-python/ipython/Manifest20
-rw-r--r--dev-python/ipython/files/50ipython-mode-gentoo.el1
-rw-r--r--dev-python/ipython/ipython-0.7.3.ebuild23
4 files changed, 36 insertions, 15 deletions
diff --git a/dev-python/ipython/ChangeLog b/dev-python/ipython/ChangeLog
index 84a856ff4bfe..1148ada15aee 100644
--- a/dev-python/ipython/ChangeLog
+++ b/dev-python/ipython/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/ipython
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ChangeLog,v 1.32 2007/02/03 10:44:59 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ChangeLog,v 1.33 2007/02/03 11:15:31 dev-zero Exp $
+
+ 03 Feb 2007; Tiziano Müller <dev-zero@gentoo.org>
+ +files/50ipython-mode-gentoo.el, ipython-0.7.3.ebuild:
+ Added 50ipython-mode-gentoo.el from bug 92218 and inherit from elisp-common
+ to complete emacs support (thanks to dan).
*ipython-0.7.3 (03 Feb 2007)
diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest
index 048fb8f3c501..f16f6e2a9283 100644
--- a/dev-python/ipython/Manifest
+++ b/dev-python/ipython/Manifest
@@ -1,17 +1,21 @@
+AUX 50ipython-mode-gentoo.el 18 RMD160 4d644a0b09ed7044f32678b81d04de09a2205504 SHA1 c597abf3c6bc06f091d14729bda83e160e4c9555 SHA256 2902f757d27797b14441abde102bd13a10fa862ac242f509720b11af8cd2d242
+MD5 0abf23b5758f6fbbf465f429a763eb6b files/50ipython-mode-gentoo.el 18
+RMD160 4d644a0b09ed7044f32678b81d04de09a2205504 files/50ipython-mode-gentoo.el 18
+SHA256 2902f757d27797b14441abde102bd13a10fa862ac242f509720b11af8cd2d242 files/50ipython-mode-gentoo.el 18
DIST ipython-0.6.15.tar.gz 888905 RMD160 cb9cb2fe3e4ae5fdc4017fc6b03ea719516611b2 SHA1 c15cfdf957d46f17d23af6cf53d5b08dca15d93d SHA256 99a3aad3d4e30aca1050343ff4410782ab47f94a33bff568fbc3a841981e2980
DIST ipython-0.7.3.tar.gz 1095673 RMD160 8a47b9d9f8985b2639570ebda77b9f341c142a9a SHA1 91edea4ae7b1a422bc7a0e6dd9df185207b951be SHA256 269fe2f2224f87588e4481da6383c233b63a6a096a4f7f7abd4648ee792b9a84
EBUILD ipython-0.6.15.ebuild 558 RMD160 c8b0a1a7574430653f90f302ff55a9b881c39ffe SHA1 07eac9bd1759f8c5e8b73568f12cedb998b78a36 SHA256 22c1de9c956517959dbf066567705e7affd7b11a18e739ea94cf0713368cbf67
MD5 cd23be430413a87bf5283164188f0c11 ipython-0.6.15.ebuild 558
RMD160 c8b0a1a7574430653f90f302ff55a9b881c39ffe ipython-0.6.15.ebuild 558
SHA256 22c1de9c956517959dbf066567705e7affd7b11a18e739ea94cf0713368cbf67 ipython-0.6.15.ebuild 558
-EBUILD ipython-0.7.3.ebuild 1104 RMD160 5bb9e9b0130ab0271968c572d6a7430f5494b862 SHA1 4a8d98de4e743f924dbd4e2d7653cd1feff422b6 SHA256 b3715361547b5b37e65686e642943d282852e2a6b46644e87d361d45341a4dd8
-MD5 6f551237ac31789246400283e6ef0737 ipython-0.7.3.ebuild 1104
-RMD160 5bb9e9b0130ab0271968c572d6a7430f5494b862 ipython-0.7.3.ebuild 1104
-SHA256 b3715361547b5b37e65686e642943d282852e2a6b46644e87d361d45341a4dd8 ipython-0.7.3.ebuild 1104
-MISC ChangeLog 5094 RMD160 069364bec9dba218f6559b1b750f17bc694d6cbd SHA1 9bbcee6ee38d523800e7136067478306ad78c3b6 SHA256 c37183c88da4c45c9cbaccadda630d87bac5a192ea7622f46225480b405ad9d4
-MD5 60ebca45b3d3df66a9a0e6f1b33983f8 ChangeLog 5094
-RMD160 069364bec9dba218f6559b1b750f17bc694d6cbd ChangeLog 5094
-SHA256 c37183c88da4c45c9cbaccadda630d87bac5a192ea7622f46225480b405ad9d4 ChangeLog 5094
+EBUILD ipython-0.7.3.ebuild 1389 RMD160 4fc75a38b92ca6fe846c7063282e8c5b70e79db4 SHA1 6f2c1fda288f79631f7f6778a69d5616c15214f8 SHA256 567e0e2956d475e924f384e5fb585e975c2ff32a67d37658922e49d6946786d1
+MD5 4d64e8ffe6d136ef7496190936d49f9a ipython-0.7.3.ebuild 1389
+RMD160 4fc75a38b92ca6fe846c7063282e8c5b70e79db4 ipython-0.7.3.ebuild 1389
+SHA256 567e0e2956d475e924f384e5fb585e975c2ff32a67d37658922e49d6946786d1 ipython-0.7.3.ebuild 1389
+MISC ChangeLog 5328 RMD160 addb941cedb67394d118b1522c7fdcd2aaa84ced SHA1 de2c954bc06218c9211daface05eeb04f8f01b03 SHA256 ddb45ab8dcd50d09c463ca7e1ba3d158de8bda7362e487f68f137c9384612635
+MD5 2096499d0b704658108e7ae10a0d3ba1 ChangeLog 5328
+RMD160 addb941cedb67394d118b1522c7fdcd2aaa84ced ChangeLog 5328
+SHA256 ddb45ab8dcd50d09c463ca7e1ba3d158de8bda7362e487f68f137c9384612635 ChangeLog 5328
MISC metadata.xml 2253 RMD160 11b7d3c6141b2b4954c942f490e154fa377af775 SHA1 9fbb4853f4f52d1430fabe006a453e0d26dabbff SHA256 cad8d0fb7419d230ecc674fd8b855926903f2343bc1eaeb6f2e0fd4fe3713827
MD5 06bf581552d6f6debd761e5135c4cc68 metadata.xml 2253
RMD160 11b7d3c6141b2b4954c942f490e154fa377af775 metadata.xml 2253
diff --git a/dev-python/ipython/files/50ipython-mode-gentoo.el b/dev-python/ipython/files/50ipython-mode-gentoo.el
new file mode 100644
index 000000000000..818864f83ecb
--- /dev/null
+++ b/dev-python/ipython/files/50ipython-mode-gentoo.el
@@ -0,0 +1 @@
+(require 'ipython) \ No newline at end of file
diff --git a/dev-python/ipython/ipython-0.7.3.ebuild b/dev-python/ipython/ipython-0.7.3.ebuild
index 6498f8c7ee72..7ae68094b204 100644
--- a/dev-python/ipython/ipython-0.7.3.ebuild
+++ b/dev-python/ipython/ipython-0.7.3.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.7.3.ebuild,v 1.2 2007/02/03 10:55:56 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.7.3.ebuild,v 1.3 2007/02/03 11:15:31 dev-zero Exp $
NEED_PYTHON=2.3
-inherit distutils
+inherit distutils elisp-common
DESCRIPTION="An advanced interactive shell for Python."
HOMEPAGE="http://ipython.scipy.org/"
@@ -15,10 +15,13 @@ SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~s390 ~x86"
IUSE="doc examples emacs gnuplot test"
-DEPEND="test? ( dev-python/pexpect )"
-RDEPEND="gnuplot? ( dev-python/gnuplot-py )"
+RDEPEND="gnuplot? ( dev-python/gnuplot-py )
+ emacs? ( virtual/emacs )"
+DEPEND="${RDEPEND}
+ test? ( dev-python/pexpect )"
PYTHON_MODNAME="IPython"
+SITEFILE="50ipython-mode-gentoo.el"
src_unpack() {
unpack ${A}
@@ -31,6 +34,14 @@ src_unpack() {
setup.py || die "sed failed"
}
+src_compile() {
+ distutils_src_compile
+ if use emacs ; then
+ cd doc
+ elisp-comp ipython.el || die "elisp-comp failed"
+ fi
+}
+
src_install() {
DOCS="doc/ChangeLog"
distutils_src_install
@@ -46,7 +57,7 @@ src_install() {
doins -r examples
fi
if use emacs ; then
- insinto /usr/share/emacs/site-lisp
- doins ipython.el
+ elisp-install ${PN} ipython.el ipython.elc || die "elisp-install failed"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
fi
}