From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4C98013829C for ; Sat, 4 Jun 2016 08:24:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6BF89254024; Sat, 4 Jun 2016 08:24:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 96A35254020 for ; Sat, 4 Jun 2016 08:24:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0727B340C3E for ; Sat, 4 Jun 2016 08:24:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA7981BA1 for ; Sat, 4 Jun 2016 08:24:42 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1465028619.6499a53dcfe5e681083caadd1c45e9dc40c4dbff.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ipython/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/ipython/Manifest dev-python/ipython/ipython-4.2.0.ebuild X-VCS-Directories: dev-python/ipython/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 6499a53dcfe5e681083caadd1c45e9dc40c4dbff X-VCS-Branch: master Date: Sat, 4 Jun 2016 08:24:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7747d825-6eaf-4937-88ef-edf49b0a5f03 X-Archives-Hash: cb0851fb1e58b783d326ecaf3c3998d8 commit: 6499a53dcfe5e681083caadd1c45e9dc40c4dbff Author: Marius Brehler linux sungazer de> AuthorDate: Tue May 31 08:51:34 2016 +0000 Commit: David Seifert gentoo org> CommitDate: Sat Jun 4 08:23:39 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6499a53d dev-python/ipython: Version bump to 4.2.0 Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1571 Signed-off-by: David Seifert gentoo.org> dev-python/ipython/Manifest | 1 + dev-python/ipython/ipython-4.2.0.ebuild | 142 ++++++++++++++++++++++++++++++++ 2 files changed, 143 insertions(+) diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest index 10ce4dd..690baed 100644 --- a/dev-python/ipython/Manifest +++ b/dev-python/ipython/Manifest @@ -3,3 +3,4 @@ DIST ipython-4.0.1.tar.gz 6207566 SHA256 3bd3b78abc4f43b9ea7fa5353a2a9ba01af8ac4 DIST ipython-4.0.3.tar.gz 6207899 SHA256 3a928f59e8ac8dd97858c28390867c87c09510f1f8bbe97e4e9c6b036eb84fc0 SHA512 1e2deb597348757e69aaeadd0632cf984056e5f7278ee5bbbd7b4233581323b07f55685b1891c23dc0977d9f30f7dc734dcf2216bc8876424cdb0f7a9294fecf WHIRLPOOL 1beb60e6daf3cea4609318e87a07307843eeb1002847f8c3c5fbe8e114ab29cb052c810884b410f1e8414437b91c5335048106756e2d88a82a7e440e3ff8fc17 DIST ipython-4.1.1.tar.gz 4938684 SHA256 1cb340dfdf6ec306b9ded72071742c87fa5247929db7ab704e17defe1975e38f SHA512 ccb24a6d3de5f12a21225387e46ad1b1038910d51d8c0aeb1f4ad6d24751b300295548083f60f3eadec3f29c75370644638b30e6ce391d13f900454e8b3d60a5 WHIRLPOOL f041d10747d4919566a0119e25bfd9030d6213021ecd222bad9e456a7cb3505ee5d3ffc7fe0de5aa1080453565245c3e95cb774df0746f7d4a13b51067bc53b9 DIST ipython-4.1.2.tar.gz 4953949 SHA256 052f9692a227f285febecec856d749811ac6a20b32c7629b4de31f04ea701692 SHA512 2a28a82cbc5d11cb1f1c88e452f52dbc6b196ac12d46cdec1f35d49e7f97aa8ee5c2a90a6f02f072297c4ef17f84a4454100a4b2594968ec46995c4fd459c09b WHIRLPOOL 1ae1fb4a88d9fd73c93ce096cdb4754d3153e156d87760b48825a2af3ec7eec3d3232b2b0f59f5fce94fb4e14b8c51361781527d9f5320a336ed786fc339567f +DIST ipython-4.2.0.tar.gz 4935042 SHA256 dba42f182b5f6f26630d2202efd30383712d9f7d8d8d9896b37ae2145deca616 SHA512 01c931a9745af7d43d174b761b506b78840ac9484007741665ff3d4a448131384194869552957353d07beb35e29187743353002c7c0a31f3b336f3b01a64a323 WHIRLPOOL 62468bef537d7533eaf9c89106bd7587dae70c921d623374c0ea796262e304cbf53020375c1876ebefb8b42e7d896b8b071afbcd5e1c710dac4a0a00783f3d82 diff --git a/dev-python/ipython/ipython-4.2.0.ebuild b/dev-python/ipython/ipython-4.2.0.ebuild new file mode 100644 index 0000000..8d0e448 --- /dev/null +++ b/dev-python/ipython/ipython-4.2.0.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) +PYTHON_REQ_USE='readline,sqlite,threads(+)' + +inherit distutils-r1 eutils virtualx + +DESCRIPTION="Advanced interactive shell for Python" +HOMEPAGE="http://ipython.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples matplotlib mongodb notebook nbconvert qt4 +smp test wxwidgets" + +REQUIRED_USE=" + test? ( doc matplotlib mongodb notebook nbconvert qt4 wxwidgets ) + doc? ( mongodb )" + +CDEPEND=" + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pickleshare[${PYTHON_USEDEP}] + dev-python/pyparsing[${PYTHON_USEDEP}] + dev-python/simplegeneric[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] + >=dev-python/prompt_toolkit-1.0.0[${PYTHON_USEDEP}] + matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] ) + mongodb? ( /dev/null || die + "${PYTHON}" -m IPython.testing.iptestcontroller --all || fail=1 + popd > /dev/null || die + } + virtx run_tests + [[ ${fail} ]] && die "Tests fail with ${EPYTHON}" +} + +python_install() { + distutils-r1_python_install + + # Create ipythonX.Y symlinks. + # TODO: + # 1. do we want them for pypy? No. pypy has no numpy + # 2. handle it in the eclass instead (use _python_ln_rel). + # With pypy not an option the dosym becomes unconditional + dosym ../lib/python-exec/${EPYTHON}/ipython \ + /usr/bin/ipython${EPYTHON#python} +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/build/html/. ) + distutils-r1_python_install_all + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r examples/. + docompress -x /usr/share/doc/${PF}/examples + fi +} + +pkg_postinst() { + optfeature "sympyprinting" dev-python/sympy + optfeature "cythonmagic" dev-python/cython + optfeature "%lprun magic command" dev-python/line_profiler + optfeature "%mprun magic command" dev-python/memory_profiler + if use nbconvert; then + if ! has_version app-text/pandoc ; then + einfo "Node.js will be used to convert notebooks to other formats" + einfo "like HTML. Support for that is still experimental. If you" + einfo "encounter any problems, please use app-text/pandoc instead." + fi + fi +}