summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/ipython')
-rw-r--r--dev-python/ipython/ChangeLog7
-rw-r--r--dev-python/ipython/Manifest26
-rw-r--r--dev-python/ipython/ipython-3.2.1.ebuild151
3 files changed, 166 insertions, 18 deletions
diff --git a/dev-python/ipython/ChangeLog b/dev-python/ipython/ChangeLog
index 847e3dee1d5f..4431950da1bc 100644
--- a/dev-python/ipython/ChangeLog
+++ b/dev-python/ipython/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/ipython
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ChangeLog,v 1.182 2015/06/29 12:37:34 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ChangeLog,v 1.183 2015/07/18 06:55:17 idella4 Exp $
+
+*ipython-3.2.1 (18 Jul 2015)
+
+ 18 Jul 2015; Ian Delaney <idella4@gentoo.org> +ipython-3.2.1.ebuild:
+ bump wrt security bug #541628, minot tidy to ebuild in deps
29 Jun 2015; Justin Lecher <jlec@gentoo.org> ipython-3.2.0.ebuild:
Fix sandbox violation
diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest
index ee2778a76e67..e37a8c28fdcd 100644
--- a/dev-python/ipython/Manifest
+++ b/dev-python/ipython/Manifest
@@ -1,31 +1,23 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
AUX 2.1.0-disable-tests.patch 1219 SHA256 e57afec15a63758a53bc8243cdcbeb0f5bdc3809fd3a47bd3328e5eb3246a996 SHA512 e049c8ba0b20ee57d9290e4a92378cd0cf4d323d90d199bca7bbf442ab158bbb31e1e2258c154bc26ff3fac08b7b0d19d56eb66e404d179d04178cd5aeeb9105 WHIRLPOOL 1b77f98bc754af7e7b0c510c618e61e546d306b0c3f14bd0e1410eb03239fd2dcb294c60a76c26da0dd39ab7899251180d6536c97400f63bd243fdc909009c71
AUX 2.1.0-substitute-files.patch 1017 SHA256 5547660171b6a92145aed499bc0ccfafd079a1f86db86eac05baf60b39f6a15e SHA512 fc4c9e12267ac5f04a2e16ad27334a093638538b8149ff380099fcbeb674a276ab9eb624a508010e37f82c05d5f7ab527a80e386b3e7b61c123ecb8effd9d542 WHIRLPOOL 581a456407b325d554689c9ad99ce6ee969468a41351e80f81b846267a97dca6cdf1052ab87088b42cd7d8445d73c17d5a99093f385e5e5e3640b5a10547ffe9
AUX ipython-2.2.0-login-backport.patch 1630 SHA256 88c1780822a38ead284b9a5f2c164921c9c2bc80156985d0f045005e5638dafe SHA512 da20803d65fd0adbc722360df812898c5899fcc18414b261d774eb745c0fa11c870251b5b7abd748a6da7c11d84896d544be1affb0ae49639a3891421fae4401 WHIRLPOOL 8cdd4257cff58d56b1683a328a9a05208e242af17425acb07b93d5be563afd49cdebc57e643d8710254895c917cc0b0aaf470509ecd45e10ebc305160ecb19ae
DIST ipython-2.2.0.tar.gz 11912007 SHA256 b7ca77ba54a02f032055b73f5f62b01431f818ae00f63716b78f881c2b2564e2 SHA512 4953bf5e9d6d5c6ad538d07d62b5b100fd86a37f6b861238501581c0059bd4655345ca05cf395e79709c38ce4cb9c6293f5d11ac0252a618ad8272b161140d13 WHIRLPOOL a5e433a3a840b65fd0644f023cc9e93862e48a906e4e9d1596ebbd24290d486be580dca017ef1586da980b6792dcd7ed9aab4af81421bbf083d885927db6fcc8
DIST ipython-3.2.0.tar.gz 10883925 SHA256 8e64b441e16298c08025b826126b2d7bc5c1776d2d2f071672166f615f327887 SHA512 d298f8ce09f7bd98bf11156c0f34816ce846dc3e6a511d354f0905300af99e15f5be46547766207f1121bd11850456a20262626a8a22be1ffc756eb84f5a982c WHIRLPOOL 482d1c22199aff6bbb9ea23f12fd50e0c8f221bbf43f1779e1739e6d637e7a6f9edd8d4b60263cc3292746f2833a28d72e6282755b046668c96882002dd73134
+DIST ipython-3.2.1.tar.gz 10884249 SHA256 c913adee7ae5b338055274c51a7d2b3cea468b5b316046fa520cd8a434b09177 SHA512 de7723e3b859d21a58a24456c76c8d8ec98c019f290f61269f46270e7647d2b49a98671138fecd75cb6f46384fde7e09618eb5c85c175e0e442c7fae7328d8fe WHIRLPOOL 9f020c167559259931dcb177d0c3a5211939632e5775c2627795ba390cf57bd62c378c15b7ee9b9ed2079180f8df8e062eb9673ed9cfc025a56f1da82c9428d1
EBUILD ipython-2.2.0-r1.ebuild 4008 SHA256 d5a9675c755360b960092cf27a8355534027f4829496cfac61616e4a3cc2143b SHA512 6bb91a0d1af53a0e16234aaad16a533a1013bdf918ded20d23e971455a31d58615f02881f36debebff80249136a88e18221072dfffecb1a1bfae45d85d519bf3 WHIRLPOOL eb860c4af65ae23bdde1b416eb17676f06eb353904696abefe0d917720ef3ee923be86db8a9138b3ab9d66bcc363f2e545b4e9d8d46b983c8ee0f88eb77b50b4
EBUILD ipython-3.2.0.ebuild 4786 SHA256 6fcdcc5990d747abe22645943b782baab3372aea2038dd62222f80cd311e982d SHA512 abc54d15eec258a4a599645560f4889c02219344da9830098db8b0c62d007d9df228c3306382d4e8bc8df3e0c8d0c87e1e73765ee12ad9b91917e8bf5ff97f26 WHIRLPOOL 1b204039b7e640a025e811199fa33a2fd40a21a551f445c93e52b728df0f7be031afaefc1cedf20a226eea3aa9bb3b0a2d551832c4cacd65d78b336805e045ad
-MISC ChangeLog 27777 SHA256 44c459be2a0ad361ca6055345e5ede15961efeb6501e2e9e52973d1e9e8cf0d0 SHA512 ccc9cc6fc987d46873136ef515a39b893e710e2b4f54c59c80b8703ca524e5cb5a32f14868b3315e841c90b0cfd10cceeba15a11bc9b4f4039b53d9e8b876aaa WHIRLPOOL fc7635346463be613b9142a28f58993837d144f512b91d232938ab2e831ca8aaa5d3276f98b9a79d6e80da454d5129e684a2eada5ea25b931667686c78efa164
+EBUILD ipython-3.2.1.ebuild 4763 SHA256 acaee852827fc7d6646e4f83eca5b526a1170654c3d61eb562daa001688e537e SHA512 ad88c63f6437e348687dfe3de61fd5649f14b40c4f12c3cc8b48cfff11349e5f3f5282235e42ba3ce4d82b453c7f465c551c83d7473ff4a577fcc3411ed23ad6 WHIRLPOOL a3046bc540245455f36c4d6ad6ec08b0079042458e454ac359a6120327844e0038f49e40b7fa5224022db224f89221de9c07cc72885312b6825abfa14ca8371e
+MISC ChangeLog 27944 SHA256 1fcfe6730da6c4311b76416ec4760abea75f58921a31dd8a58d1617c9440649b SHA512 f2f962e80e65685dbdf705e4454c6501dba3fe36187a0e87cd2e338d291025533b07ea6752ecebb816e5a1e7c450e0c5ad80b1694d60e53c5a6a781b9ffa2e75 WHIRLPOOL a7f7a5b102f54327abed67d6ba42f96b9020b9e3280ead008ca6e1f3331c49000e814f57b9a52b1c8252cf5a013dca305939d553b0c93b076c5b50187ce7d1e6
MISC metadata.xml 2954 SHA256 457f227688ed9110571933da9e2f0774257805e65a2b1b9f1db649cef9ec66ef SHA512 552276198c31917583e30767f72be5f5d4614440f32ddb364c30a71f214329707d5034476961d85514dad0fd2ea42d3b1325fc131f50f2f620205e5a471a5a8c WHIRLPOOL 65056671f494f2a2614bb12463e7e50255d482bb454178bf43f06baf8cc2ba0478fc1baae20dd2fb241ba5f3047f7f2cdd4e96099db754d9d34b6ea0c78cb0a3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.1
-iQJ8BAEBCgBmBQJVkTwPXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
-ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0QUU0N0I4NzFERUI0MTJFN0EyODE0NUFF
-OTQwMkE3OUIwMzUyOUEyAAoJEOlAKnmwNSmiXfYQAIR570akKdcGS6WcnKYn1dLF
-7zsUB1UGuDGEpi77ICwPxlE6wUfkrLALhr6cJbNTdW/MBKBx0AYse14fp7ewSGbY
-ePOZ1UeQhjgKV4tuME5/tdVptkjvqngudSJQ4FTlx9jlV8Ebruhkng8bsokyxFoU
-7cpBzfDFAN3OwlcPetRfuLuDY5RGE7PoWrPMmEM4P4DRQ9M86RQWeMLXHBgmN37K
-XlBpZbvoBtTiYp+Qk1jiGhJxfUSKyf0h7eKO8cbd+aK688b2TeQOO6wrmTPxajL4
-HY8dq3Ny3MtBw2llsHxo8FawR1n4tsB5OuM6FzZGu4S44+YcDurUPo6Ez55qv1TB
-zVmrhSfeIPMcoKvITuh9hDkLuoxd3bQV8kedvzQSVBdE0ow5mzN4o7327F/KM4Oo
-tHyCGnXDHIkOLScDvBiyGNLMuxM6ieKOydCasq3WhF8br/WppR4spJ+k1j6QCa04
-/Ctqs6lf7nsTzslfzeUFzpyY5w9Er+FQTxrekj+AyDbEICAV6zkmDx/qUyR1PYE/
-qPXLjRz4znvSSsIHV0NzVFcsBxufgsv1RArsjEnlbfJvj1dG5wibsL/Y1rVbkfLD
-dMjyLj1RQuRCNMZRy5uXIE1PDN/CVmUmc5h7tF/L0+kWHGcku40swbGMkkqOCZ+a
-FyIEsHTInZoiAIJhdeKC
-=ibJ7
+iKYEAREIAGYFAlWp+FVfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
+bnBncC5maWZ0aGhvcnNlbWFuLm5ldDdDQUM1OUY0ODkzMERBREU1NUQ1RjJBRkIy
+OEVDMjEzQjgwNzJCMEQACgkQso7CE7gHKw2p1wCg02iY4bJ9TnwDPiqBBqnVxarK
+QyEAn306BRyh+JyhNfN2PsZlTpFdBe8O
+=ErtY
-----END PGP SIGNATURE-----
diff --git a/dev-python/ipython/ipython-3.2.1.ebuild b/dev-python/ipython/ipython-3.2.1.ebuild
new file mode 100644
index 000000000000..40fbd6322a4d
--- /dev/null
+++ b/dev-python/ipython/ipython-3.2.1.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-3.2.1.ebuild,v 1.1 2015/07/18 06:55:17 idella4 Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4} )
+PYTHON_REQ_USE='readline,sqlite'
+
+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 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="doc examples matplotlib mongodb notebook nbconvert octave qt4 +smp test wxwidgets"
+
+REQUIRED_USE="
+ test? ( doc matplotlib mongodb notebook nbconvert octave qt4 wxwidgets )
+ doc? ( mongodb )"
+
+CDEPEND="
+ dev-python/decorator[${PYTHON_USEDEP}]
+ dev-python/pexpect[${PYTHON_USEDEP}]
+ dev-python/pyparsing[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/simplegeneric[${PYTHON_USEDEP}]
+ matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
+ mongodb? ( <dev-python/pymongo-3[${PYTHON_USEDEP}] )
+ octave? ( dev-python/oct2py[${PYTHON_USEDEP}] )
+ smp? ( >=dev-python/pyzmq-13[${PYTHON_USEDEP}] )
+ wxwidgets? ( $(python_gen_cond_dep 'dev-python/wxpython:*[${PYTHON_USEDEP}]' python2_7) )"
+RDEPEND="${CDEPEND}
+ notebook? (
+ dev-libs/mathjax
+ dev-python/jinja[${PYTHON_USEDEP}]
+ >=dev-python/jsonschema-2.0[${PYTHON_USEDEP}]
+ >=dev-python/mistune-0.5[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]
+ >=dev-python/pyzmq-13[${PYTHON_USEDEP}]
+ >=dev-python/terminado-0.3.3[${PYTHON_USEDEP}]
+ >=www-servers/tornado-4.0[${PYTHON_USEDEP}]
+ )
+ nbconvert? (
+ || ( >=net-libs/nodejs-0.9.12 >=app-text/pandoc-1.12.1 )
+ dev-python/jinja[${PYTHON_USEDEP}]
+ >=dev-python/jsonschema-2.0[${PYTHON_USEDEP}]
+ >=dev-python/mistune-0.5[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ )
+ qt4? (
+ || (
+ dev-python/PyQt4[${PYTHON_USEDEP},svg]
+ dev-python/PyQt5[${PYTHON_USEDEP},svg]
+ dev-python/pyside[${PYTHON_USEDEP},svg]
+ )
+ dev-python/pygments[${PYTHON_USEDEP}]
+ >=dev-python/pyzmq-13[${PYTHON_USEDEP}] )"
+DEPEND="${CDEPEND}
+ test? (
+ app-text/dvipng
+ dev-python/jinja[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
+ >=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ >=www-servers/tornado-4.0[${PYTHON_USEDEP}]
+ )
+ doc? (
+ dev-python/cython[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep 'dev-python/fabric[${PYTHON_USEDEP}]' python2_7)
+ >=dev-python/jsonschema-2.0[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ >=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
+ dev-python/numpydoc[${PYTHON_USEDEP}]
+ dev-python/rpy[${PYTHON_USEDEP}]
+ >=dev-python/sphinx-1.1[${PYTHON_USEDEP}]
+ >=www-servers/tornado-4.0[${PYTHON_USEDEP}]
+ )"
+
+PATCHES=(
+ "${FILESDIR}"/2.1.0-substitute-files.patch
+ )
+
+DISTUTILS_IN_SOURCE_BUILD=1
+
+python_prepare_all() {
+ # Remove out of date insource files
+ rm IPython/extensions/rmagic.py || die
+
+ # Prevent un-needed download during build
+ if use doc; then
+ sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
+ fi
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ use doc && emake -C docs html_noapi
+}
+
+python_test() {
+ distutils_install_for_testing
+ # https://github.com/ipython/ipython/issues/8639
+ # Failure of some modules only in python3.4
+ local fail
+ run_tests() {
+ pushd ${TEST_DIR} > /dev/null
+ "${PYTHON}" -m IPython.testing.iptestcontroller --all || fail=1
+ popd > /dev/null
+ }
+ VIRTUALX_COMMAND=run_tests virtualmake
+ [[ ${fail} ]] && die "Tests fail with ${EPYTHON}"
+}
+
+python_install() {
+ distutils-r1_python_install
+ use notebook && \
+ ln -sf "${EPREFIX}/usr/share/mathjax" "${D}$(python_get_sitedir)/IPython/html/static/mathjax"
+
+ # 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/. )
+ use examples && local EXAMPLES=( examples/. )
+ distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+ optfeature "sympyprinting" dev-python/sympy
+ optfeature "cythonmagic" dev-python/cython
+ 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
+}