diff options
author | Lukasz Strzygowski <lucass@gentoo.org> | 2007-02-17 09:52:21 +0000 |
---|---|---|
committer | Lukasz Strzygowski <lucass@gentoo.org> | 2007-02-17 09:52:21 +0000 |
commit | 2ecd287fb0cb96fac5c17b5f040386c593db47b3 (patch) | |
tree | f6ad02bf6ce8ca4c9a38d6316cd01d4c0f2a6ad8 /dev-python | |
parent | Fix ROOT abuse, bug #167277 (diff) | |
download | gentoo-2-2ecd287fb0cb96fac5c17b5f040386c593db47b3.tar.gz gentoo-2-2ecd287fb0cb96fac5c17b5f040386c593db47b3.tar.bz2 gentoo-2-2ecd287fb0cb96fac5c17b5f040386c593db47b3.zip |
Added pkg_postinst/pkg_postrm with elisp-site-regen (bug #167305). Fixed trailing whitespace.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/ipython/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/ipython/files/digest-ipython-0.7.3-r3 | 3 | ||||
-rw-r--r-- | dev-python/ipython/ipython-0.7.3-r2.ebuild | 4 | ||||
-rw-r--r-- | dev-python/ipython/ipython-0.7.3-r3.ebuild | 72 |
4 files changed, 85 insertions, 3 deletions
diff --git a/dev-python/ipython/ChangeLog b/dev-python/ipython/ChangeLog index d5e6338d1d3c..3bd8fb99168c 100644 --- a/dev-python/ipython/ChangeLog +++ b/dev-python/ipython/ChangeLog @@ -1,6 +1,13 @@ # 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.35 2007/02/14 20:28:16 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ChangeLog,v 1.36 2007/02/17 09:52:21 lucass Exp $ + +*ipython-0.7.3-r3 (17 Feb 2007) + + 17 Feb 2007; Lukasz Strzygowski <lucass@gentoo.org> + ipython-0.7.3-r2.ebuild, +ipython-0.7.3-r3.ebuild: + Added pkg_postinst/pkg_postrm with elisp-site-regen (bug #167305). + Fixed trailing whitespace. *ipython-0.7.3-r2 (14 Feb 2007) diff --git a/dev-python/ipython/files/digest-ipython-0.7.3-r3 b/dev-python/ipython/files/digest-ipython-0.7.3-r3 new file mode 100644 index 000000000000..3f2787efdb05 --- /dev/null +++ b/dev-python/ipython/files/digest-ipython-0.7.3-r3 @@ -0,0 +1,3 @@ +MD5 40cbc814b812f2c3d6c13b47d41a6cc5 ipython-0.7.3.tar.gz 1095673 +RMD160 8a47b9d9f8985b2639570ebda77b9f341c142a9a ipython-0.7.3.tar.gz 1095673 +SHA256 269fe2f2224f87588e4481da6383c233b63a6a096a4f7f7abd4648ee792b9a84 ipython-0.7.3.tar.gz 1095673 diff --git a/dev-python/ipython/ipython-0.7.3-r2.ebuild b/dev-python/ipython/ipython-0.7.3-r2.ebuild index 4b0dc43d516c..73788ca08ea6 100644 --- a/dev-python/ipython/ipython-0.7.3-r2.ebuild +++ b/dev-python/ipython/ipython-0.7.3-r2.ebuild @@ -1,6 +1,6 @@ # 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-r2.ebuild,v 1.1 2007/02/14 20:28:16 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.7.3-r2.ebuild,v 1.2 2007/02/17 09:52:21 lucass Exp $ NEED_PYTHON=2.3 @@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~ia64 ~ppc ~s390 ~x86" IUSE="doc examples emacs gnuplot test" RDEPEND="gnuplot? ( dev-python/gnuplot-py ) - emacs? ( virtual/emacs + emacs? ( virtual/emacs app-emacs/python-mode ) dev-python/pexpect" DEPEND="${RDEPEND}" diff --git a/dev-python/ipython/ipython-0.7.3-r3.ebuild b/dev-python/ipython/ipython-0.7.3-r3.ebuild new file mode 100644 index 000000000000..5a91e9dd0b5b --- /dev/null +++ b/dev-python/ipython/ipython-0.7.3-r3.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.7.3-r3.ebuild,v 1.1 2007/02/17 09:52:21 lucass 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="50ipython-mode-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 +} |