From 049c2aba50aa7e7dbc6efacedf372ffaca8494fb Mon Sep 17 00:00:00 2001 From: Lukasz Strzygowski Date: Sat, 17 Feb 2007 09:52:21 +0000 Subject: [PATCH] Added pkg_postinst/pkg_postrm with elisp-site-regen (bug #167305). Fixed trailing whitespace. Package-Manager: portage-2.1.2-r9 --- dev-python/ipython/ChangeLog | 9 ++- dev-python/ipython/Manifest | 33 ++++++--- .../ipython/files/digest-ipython-0.7.3-r3 | 3 + dev-python/ipython/ipython-0.7.3-r2.ebuild | 4 +- dev-python/ipython/ipython-0.7.3-r3.ebuild | 72 +++++++++++++++++++ 5 files changed, 110 insertions(+), 11 deletions(-) create mode 100644 dev-python/ipython/files/digest-ipython-0.7.3-r3 create mode 100644 dev-python/ipython/ipython-0.7.3-r3.ebuild 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 + 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/Manifest b/dev-python/ipython/Manifest index b920c4c8e2cd..ef5cf91f35df 100644 --- a/dev-python/ipython/Manifest +++ b/dev-python/ipython/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX 50ipython-mode-gentoo.el 94 RMD160 22e350a65841dd8bad82eeebb9da285dea203b60 SHA1 75f57d970691fe4475aa877506f574910b9caeaa SHA256 e6386552ab04131245b98ba59abaad08050bba47005258da53e32bfb0bdd4743 MD5 088c95421442879712afee2fbd78b68a files/50ipython-mode-gentoo.el 94 RMD160 22e350a65841dd8bad82eeebb9da285dea203b60 files/50ipython-mode-gentoo.el 94 @@ -8,14 +11,18 @@ EBUILD ipython-0.6.15.ebuild 558 RMD160 c8b0a1a7574430653f90f302ff55a9b881c39ffe 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-r2.ebuild 1407 RMD160 d8b1d4ba7a09984a0dcb28525f27a14156989650 SHA1 8b25bc7bc01ff33dd84f549d334a37b21fc0d063 SHA256 ea3f90e83eead609d1b46f76f41ca5b2cac19ed65bfbbe9ef8c3a16d73759759 -MD5 4c82e9e1c7b3c62c8d4c8e19401f0f59 ipython-0.7.3-r2.ebuild 1407 -RMD160 d8b1d4ba7a09984a0dcb28525f27a14156989650 ipython-0.7.3-r2.ebuild 1407 -SHA256 ea3f90e83eead609d1b46f76f41ca5b2cac19ed65bfbbe9ef8c3a16d73759759 ipython-0.7.3-r2.ebuild 1407 -MISC ChangeLog 5813 RMD160 b5b9bb29a780fbf3380d0cf7c55dbf6c8f9239d8 SHA1 08d62d46d1c0b5f1537889081a8d38fdbd5b9a43 SHA256 d64bcb59673591e9e61f09af0d95bcd2365e539ad2b612f9f47267a57097a34c -MD5 eb338ac5746e9b479b769ab6359ce80b ChangeLog 5813 -RMD160 b5b9bb29a780fbf3380d0cf7c55dbf6c8f9239d8 ChangeLog 5813 -SHA256 d64bcb59673591e9e61f09af0d95bcd2365e539ad2b612f9f47267a57097a34c ChangeLog 5813 +EBUILD ipython-0.7.3-r2.ebuild 1404 RMD160 dae1574965da3056940dedebb707aa688d50ac64 SHA1 9e2260fa6e224ff718fb31de420e2c73eb8c2f24 SHA256 3846765a23e2e85b52e4704aea07f590e2522f21e9058a9d19164b5bfec8f4b1 +MD5 b02a0dd87923a6073bcdacc11dcf5c94 ipython-0.7.3-r2.ebuild 1404 +RMD160 dae1574965da3056940dedebb707aa688d50ac64 ipython-0.7.3-r2.ebuild 1404 +SHA256 3846765a23e2e85b52e4704aea07f590e2522f21e9058a9d19164b5bfec8f4b1 ipython-0.7.3-r2.ebuild 1404 +EBUILD ipython-0.7.3-r3.ebuild 1504 RMD160 3bf1194a80b4736f879d66fb34880f63fb1dcfc7 SHA1 35995b07dde352410fb2dd3a7ba22128befda037 SHA256 b3463201a82f4a39219a2f0209c9eec9909cf2785bf5ed81a14cc336ac62467b +MD5 3ee38fcca0ef9daa49c0859c7d41cdc6 ipython-0.7.3-r3.ebuild 1504 +RMD160 3bf1194a80b4736f879d66fb34880f63fb1dcfc7 ipython-0.7.3-r3.ebuild 1504 +SHA256 b3463201a82f4a39219a2f0209c9eec9909cf2785bf5ed81a14cc336ac62467b ipython-0.7.3-r3.ebuild 1504 +MISC ChangeLog 6050 RMD160 ff62c6290b3506d905556392a53d4a06604cbfc8 SHA1 f4ced1a2d65e010fb555f75ca0936e02f4673642 SHA256 17a36782fe7922d22338235634ce610eacd343222e24164cd787d20468d3acfa +MD5 dc30fc0ef1c624a800ae04245cfebab0 ChangeLog 6050 +RMD160 ff62c6290b3506d905556392a53d4a06604cbfc8 ChangeLog 6050 +SHA256 17a36782fe7922d22338235634ce610eacd343222e24164cd787d20468d3acfa ChangeLog 6050 MISC metadata.xml 2253 RMD160 11b7d3c6141b2b4954c942f490e154fa377af775 SHA1 9fbb4853f4f52d1430fabe006a453e0d26dabbff SHA256 cad8d0fb7419d230ecc674fd8b855926903f2343bc1eaeb6f2e0fd4fe3713827 MD5 06bf581552d6f6debd761e5135c4cc68 metadata.xml 2253 RMD160 11b7d3c6141b2b4954c942f490e154fa377af775 metadata.xml 2253 @@ -26,3 +33,13 @@ SHA256 4d6793f3db9e5ed87b2d5cabc43dc64c49e7bcbf1705185b84c19e9014bcc221 files/di MD5 0afdeee3a0e6c488965e5b9e0085e508 files/digest-ipython-0.7.3-r2 244 RMD160 de4d7eaca800d08daef3757757cf890733f20899 files/digest-ipython-0.7.3-r2 244 SHA256 5a68bcf431e028913936e53ce9ebfc3302fbb420bc825c2cd7ea0374c07c1ad0 files/digest-ipython-0.7.3-r2 244 +MD5 0afdeee3a0e6c488965e5b9e0085e508 files/digest-ipython-0.7.3-r3 244 +RMD160 de4d7eaca800d08daef3757757cf890733f20899 files/digest-ipython-0.7.3-r3 244 +SHA256 5a68bcf431e028913936e53ce9ebfc3302fbb420bc825c2cd7ea0374c07c1ad0 files/digest-ipython-0.7.3-r3 244 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.2 (GNU/Linux) + +iD8DBQFF1tBi2jLqHNfbg2URAipCAJ0fEeWRbavsB6YG2M/n4p5fmkbmwQCguIrS +7dnUvc5UzHSzkiV86jKEMO8= +=Z5sZ +-----END PGP SIGNATURE----- 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 +} -- 2.26.2