diff options
author | Rob Cakebread <pythonhead@gentoo.org> | 2007-04-22 20:08:55 +0000 |
---|---|---|
committer | Rob Cakebread <pythonhead@gentoo.org> | 2007-04-22 20:08:55 +0000 |
commit | 9d4375534d5f0cf085cdac6e69fac1e03ff28143 (patch) | |
tree | 8e0d65265c87b268939cd4ef58eaa82252be444c | |
parent | Restricting FEATURES=test for now, make bootstrap deletes the *.opt files (th... (diff) | |
download | gentoo-2-9d4375534d5f0cf085cdac6e69fac1e03ff28143.tar.gz gentoo-2-9d4375534d5f0cf085cdac6e69fac1e03ff28143.tar.bz2 gentoo-2-9d4375534d5f0cf085cdac6e69fac1e03ff28143.zip |
Version bump.
(Portage version: 2.1.2.4)
-rw-r--r-- | dev-python/ipython/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/ipython/files/digest-ipython-0.8.0 | 3 | ||||
-rw-r--r-- | dev-python/ipython/ipython-0.8.0.ebuild | 72 |
3 files changed, 81 insertions, 1 deletions
diff --git a/dev-python/ipython/ChangeLog b/dev-python/ipython/ChangeLog index c1663cba0647..837d7ee3a628 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.37 2007/02/22 06:48:57 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ChangeLog,v 1.38 2007/04/22 20:08:55 pythonhead Exp $ + +*ipython-0.8.0 (22 Apr 2007) + + 22 Apr 2007; Rob Cakebread <pythonhead@gentoo.org> +ipython-0.8.0.ebuild: + Version bump. 22 Feb 2007; Christian Faulhammer <opfer@gentoo.org> -files/50ipython-mode-gentoo.el, +files/62ipython-gentoo.el, diff --git a/dev-python/ipython/files/digest-ipython-0.8.0 b/dev-python/ipython/files/digest-ipython-0.8.0 new file mode 100644 index 000000000000..722301258a12 --- /dev/null +++ b/dev-python/ipython/files/digest-ipython-0.8.0 @@ -0,0 +1,3 @@ +MD5 2ea4e280d74f1ea72830cd7a37a520bb ipython-0.8.0.tar.gz 1119396 +RMD160 fa0b875f6a69855b5a00aa6b1d8512a6148c6a54 ipython-0.8.0.tar.gz 1119396 +SHA256 274fc53d5acf745a96b0e10dbeab17f91251c63a2f7ddd4804d19d5718ec004f ipython-0.8.0.tar.gz 1119396 diff --git a/dev-python/ipython/ipython-0.8.0.ebuild b/dev-python/ipython/ipython-0.8.0.ebuild new file mode 100644 index 000000000000..bfe78dea92fa --- /dev/null +++ b/dev-python/ipython/ipython-0.8.0.ebuild @@ -0,0 +1,72 @@ +# 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.8.0.ebuild,v 1.1 2007/04/22 20:08:55 pythonhead Exp $ + +NEED_PYTHON=2.3 + +inherit distutils elisp-common + +DESCRIPTION="An advanced interactive shell for Python." +HOMEPAGE="http://ipython.scipy.org/" +SRC_URI="http://ipython.scipy.org/dist/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~s390 ~x86" +IUSE="doc examples emacs gnuplot test" + +RDEPEND="gnuplot? ( dev-python/gnuplot-py ) + emacs? ( virtual/emacs + app-emacs/python-mode ) + dev-python/pexpect" +DEPEND="${RDEPEND}" + +PYTHON_MODNAME="IPython" +SITEFILE="62ipython-gentoo.el" + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i \ + -e '/examfiles/d' -e '/examples/d' \ + -e "/'manual'/d" -e '/manfiles)/d' \ + -e 's/^docfiles.*/docfiles=""/' \ + 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 + + cd doc + insinto /usr/share/doc/${PF} + + if use doc ; then + dohtml manual/* + doins *.pdf + fi + if use examples ; then + doins -r examples + fi + if use emacs ; then + elisp-install ${PN} ipython.el ipython.elc || die "elisp-install failed" + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |