diff options
author | Patrick Lauer <patrick@gentoo.org> | 2014-11-10 08:36:37 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2014-11-10 08:36:37 +0000 |
commit | 2a5ccfb7ae0514b158b28d07ae190e4c3ddbfb68 (patch) | |
tree | 0588410c939f5b45f125d7b768b5991bf900f9c4 /dev-python/ipython | |
parent | initial import, ebuild by me (diff) | |
download | historical-2a5ccfb7ae0514b158b28d07ae190e4c3ddbfb68.tar.gz historical-2a5ccfb7ae0514b158b28d07ae190e4c3ddbfb68.tar.bz2 historical-2a5ccfb7ae0514b158b28d07ae190e4c3ddbfb68.zip |
Bump
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Diffstat (limited to 'dev-python/ipython')
-rw-r--r-- | dev-python/ipython/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/ipython/Manifest | 24 | ||||
-rw-r--r-- | dev-python/ipython/ipython-2.3.0.ebuild | 130 |
3 files changed, 139 insertions, 22 deletions
diff --git a/dev-python/ipython/ChangeLog b/dev-python/ipython/ChangeLog index 0e0953c16568..102b5b1dadaa 100644 --- a/dev-python/ipython/ChangeLog +++ b/dev-python/ipython/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/ipython # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ChangeLog,v 1.147 2014/08/27 12:19:41 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ChangeLog,v 1.148 2014/11/10 08:36:27 patrick Exp $ + +*ipython-2.3.0 (10 Nov 2014) + + 10 Nov 2014; Patrick Lauer <patrick@gentoo.org> +ipython-2.3.0.ebuild: + Bump 27 Aug 2014; Anthony G. Basile <blueness@gentoo.org> ipython-1.0.0.ebuild, ipython-1.1.0-r1.ebuild, ipython-1.1.0-r2.ebuild, ipython-1.1.0.ebuild, diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest index e0215d5308b2..2771bdff671f 100644 --- a/dev-python/ipython/Manifest +++ b/dev-python/ipython/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -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 62ipython-gentoo.el 127 SHA256 b5900b95df4f197aedea20432f3c71de5bc7149fa1022f8417be7a606647b449 SHA512 83b8c1da29f954856f0c74521b2a58c3476eedce4ba8c2294c94bb8be63e2e87cf768a4769a6441509337f843b0c69d4e41e6e2041aa161fa8a3ffae11a5edf3 WHIRLPOOL 8c283ad947a4a6fee2976ff0da2075ae7f1c6a75bb4ed03895392e20053580205978457c24c24f6cc9d4f8a6f3031924e365a83c035603b739f734353386df45 @@ -17,6 +14,7 @@ DIST ipython-1.2.0.tar.gz 8665978 SHA256 c4b4e250d2a68ded2ef267d8deae2a972f5f944 DIST ipython-1.2.1.tar.gz 8666632 SHA256 c27aeae9b8e5c4a2d28ba0f04b879216d6f96f36380cd465a823b1efb0595874 SHA512 ef0afb15aa211e1ffde8375e1f75dbadb6018d626756952c164f6d2aecd7cd0b663c28cbaea487ff0b02ec0b3406eb0f515efc7de73f94d7a7857430c2529bed WHIRLPOOL 9eaa29b0556380722bc0ecbbdc63f0b958bc440c120fafec5d0ec30d15f153acf68524667b7bf917185c632d4beb04682cfea7cbdaa757cc479eacd264569747 DIST ipython-2.1.0.tar.gz 11886492 SHA256 ca86a6308c4b53ea8a040ba776066dc9a7af4ac738ad43ab2059a016c09b0c2d SHA512 68c15f6402cacfd623f8e2b70c22d06541de3616fdb2d502ce93cd2fdb4e7507bb5b841a414a4123264221ee5ffb0ebefbb8541f79e647fcb9f73310b4c2d460 WHIRLPOOL 099f387e00739c641c20e05bb3f23f46ef7ff82c6e273a0307163f0660cb1a92c2f78e1e0737f8be8173226eebeedf499e863538a77bf25f0c58e84f7447a123 DIST ipython-2.2.0.tar.gz 11912007 SHA256 b7ca77ba54a02f032055b73f5f62b01431f818ae00f63716b78f881c2b2564e2 SHA512 4953bf5e9d6d5c6ad538d07d62b5b100fd86a37f6b861238501581c0059bd4655345ca05cf395e79709c38ce4cb9c6293f5d11ac0252a618ad8272b161140d13 WHIRLPOOL a5e433a3a840b65fd0644f023cc9e93862e48a906e4e9d1596ebbd24290d486be580dca017ef1586da980b6792dcd7ed9aab4af81421bbf083d885927db6fcc8 +DIST ipython-2.3.0.tar.gz 11913980 SHA256 a2f81afe3eca5c8b2e8cf4ec35518fd007a39231770e67e6c2c4f9bd2b857aae SHA512 4639a97c7cd1fda8421e69ea346e64a5975eb8bddadef8b6e5cf19e0b7eb4a1ed7fb9e3bbbb8402406ac258be05403b79ad1fdd79876ae22339f7ae3eb985d72 WHIRLPOOL 4216a22917aade320a6a12a893014c482ac068a3ca026a62aa0bdba5fad10dfb9fe08cdedf9759b128d092187c3f9093fd9fc1a12f3b09da7e22ad2c334813b5 EBUILD ipython-0.10.2.ebuild 3252 SHA256 297a5c6573ecfaada05fc527101d82925680db9224e99a0e239e17743fd57e22 SHA512 43e29db6ab0342d8293a6fe6ae6fedb6db7da9d894f2f2b9f6da7ec45dfb63355d612838a58e4dc4f524103d213e3e31a7a60f64d3667c7e7cf643199de607c7 WHIRLPOOL 910ebd8d9ef97272e96f68cd24182b3ac7a8c8d4a5e601b3869ae41669ec201d5b87a4ccd450f69e86dc9e3a36206bfe72470b7d55f8506b6630c07fdcddf47e EBUILD ipython-0.12-r1.ebuild 3957 SHA256 be079a770254887faf9ac1d36a1bef2353384433effc5f5796d5ba3620157b1d SHA512 fe6d6d9f86e98170acc1633b3168a277fff2dbf9b1df359fdbb40ddd6f998a601cedcad7dcc68dcdd48e7ff08868b22e4bef3b15d717492dec346c13ed04f6f9 WHIRLPOOL 1ffbfa1708695e1f052d25421c51c44b6e8d38062aa7d544c978185d5da442341163e955768d6cfeaaa23b1bfdfac8d949ea87533360f20e2cfe13150452fe1d EBUILD ipython-0.13.2.ebuild 5388 SHA256 6c341a85fca7622aee9f79374286accf700a46922ee11d80e507a1cc6fb61a7d SHA512 91a1be5286c0d8cc6434e98d66b7f33bccd6e96e7cd4208bc83aecfec663c8310c239287de3663409d08b83df6156889bba8cc40c429b197b223b7f459206ded WHIRLPOOL 5c85ea8def79c0c71eb86e1d61054d9cf66090e9e37c6e0d654aa9e50dfb60ca08c15ca66ec38d121b6e452e62453b9a3e90d8677372caed3ac096b1d73f8d1d @@ -28,22 +26,6 @@ EBUILD ipython-1.2.0.ebuild 5948 SHA256 c3ba4266e244c0d0d84dc5a016a6fe3826c7efcb EBUILD ipython-1.2.1.ebuild 6114 SHA256 4e5cced309c855ab6d75aff5631e09dacd37c3202e9dd5d6b458b8b8080cb56c SHA512 d402992b5798ad0c9a0bd0aeb0204ed0f952e835316133fb5ca6e00ffc9fd98f163bf8771a39e4a09be4791d41d7d6ba2c2a80da0900231390508d7ff6dc6497 WHIRLPOOL 32e3e434b0dcba0e7ddab85ffdb46ff4f06f67923a9ba07618d0026f854ce167b5391072cda23dd0f7d8fd6ef630324447695f9a3f3644d529b12bd87cf3e1ea EBUILD ipython-2.1.0.ebuild 3926 SHA256 15ed6a2f2aac8ee5f7d4e0562b96528ed6c00eee0db27fe4d4f130b52567d466 SHA512 950108fd8911c1488601432eac3db7604966302f7227259f48ce94643eda8120f63b399005e6376c248aa43c3befaf52ba64c0901de15432d96afc98c030ca51 WHIRLPOOL 6ffd8cf0ec3829d9457cbec7017874b4d6a602e0b0a114a9e6f9b0ad5515a979e13e524c3670725ca515ecf4b306f2af9b4393311d8f303b852aa99d870746eb EBUILD ipython-2.2.0.ebuild 3926 SHA256 e3c276fcf5d0c3291a17b5a69ce4817dacaa7e7eff1b508a3835bf7d63f00769 SHA512 bf5229b7bdbad4cf74b007bd55860738ab609e944ed7e18252873032b132a954d3a6f5014bdbfad2ac1dd2d5b9c8b1844cb98688401f0c494b793e8760790ea8 WHIRLPOOL 142186830fe2b8d54892aacaa7fb7e8faa30fca1537b1864cef6530e339549ce0d85357e52f00b1909f6373ffa3c495207a50b791ef578da667aa9f79a638636 -MISC ChangeLog 22625 SHA256 a8b8f27f9f39ab4e51afadb0cb362ff348f10872d381b8b07448f7e9c6d8ff1f SHA512 913028bb2128ca7ec037916a317e16c4a0a1b0c406d6da7c9a56595336fc947529e74eaf323ee387b0759ff08f7e022c4f9a789bc731dfb07f623a29d81bc491 WHIRLPOOL e366701e3823903654058eb04b347bbaebe2b27400e5e2a47a24a57288e880f7f85a3dc0aec784a33f4b21733f0101bcdca46b69a4c9a28b6103f5d9ec5e6780 +EBUILD ipython-2.3.0.ebuild 3925 SHA256 c4db614a6f42115b42f5526694ef06e2d98d3e22db1207b5f5c1eec457b90d2a SHA512 0aeb286c7517abeb798664e4a365274484b72c699353e1c5e9154c1494738473c44a549ae51782988725d8f72af61cf04c9aaba5c34f65fe87297761aaa24e25 WHIRLPOOL eacadc98f903607c921ff63514c436a4a659df1b41bd62c0c4af8cc11f06f15a069c055551f45fbf71eee518b26fb8af8a3ba40a9f9eb88eff49e8a3b0ad95c1 +MISC ChangeLog 22735 SHA256 9f739eb7762b418b0d25a880cd64018b4c8aca76bc2bb4906b8b70150a1798f0 SHA512 c7fc7791a60f30d36f10178a57f1768d5e355ade60452b7379668548d205f7a5274dcad33c30c141227a46daa1ca0c6b99e5ec7075389445a59fd502a253390d WHIRLPOOL 89dc6fd626f458acf4ec48ab4594bdce066f4ec83a456e406024100fb35abfcc8470ac0e16df7495deee484b70d43cbef01b8249b767595ec0ef84b8e721cc8b MISC metadata.xml 2954 SHA256 457f227688ed9110571933da9e2f0774257805e65a2b1b9f1db649cef9ec66ef SHA512 552276198c31917583e30767f72be5f5d4614440f32ddb364c30a71f214329707d5034476961d85514dad0fd2ea42d3b1325fc131f50f2f620205e5a471a5a8c WHIRLPOOL 65056671f494f2a2614bb12463e7e50255d482bb454178bf43f06baf8cc2ba0478fc1baae20dd2fb241ba5f3047f7f2cdd4e96099db754d9d34b6ea0c78cb0a3 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2 - -iQIcBAEBCAAGBQJT/c2EAAoJEJOE+m71LUu6QlkP/i0fxJxv0kj1OgSbi+mhulMY -+QsLkTru8S+d+SMnk6yrZuut5ZiC1LpM4yURdq7A4acyDrBmwV9mMGisUoqbv2Q3 -cIQPNc4yCmVOktmIeSk08CgqUaXSMjB1qP9Ovxlt8bqkXKLJrt0UvtH5J2/4ZQp1 -q6liL+7NWzGjsicvUjeG5C1hQMVYEKt4E40ZaiZXYV5KvAv6+CrefoDYFAJtfSP9 -iCHYgYyrFSaExnTjyv6V4LuN9oKbCz3N0a2FvOpgymiWWfDxrMX+2ee5AqybCVK+ -CfWDvIREdtFLUPftPQLaWHafasKJ+Hr8ReVpy908Norf0mQw2PnwYzz/axxt58VG -KTgDUA7SOewCSunhL7F51rQOC3c0RMIxS/xPNM8S5BZTHRKgdfQ4UNhDgFF+2s09 -q7pA9K9IbhL+2t0ZrcUtbQyh8TYZP57wdC8rjxFlkT1ZI63u/4Lz8RPlNst4dgQ/ -LBiIMNipx2DuqmbNUx9z0zX2jX63YFOpl8yY9ScnQylQl3U2+QXVcIm+sS/akJfj -2A4g2AA0Kd98UumjIp9zQe/FcQJodJk9Q8FYN1XoaR+rkTKc5BtVQJ/zDf2tHaxq -HkjDPJitRyYBmfKMyUTn3LxeXpej7J1jCFRrA918ucT51f+d07xcDmz0MV/N+kWc -51Nyd5X8PIlECF1FM5as -=h8km ------END PGP SIGNATURE----- diff --git a/dev-python/ipython/ipython-2.3.0.ebuild b/dev-python/ipython/ipython-2.3.0.ebuild new file mode 100644 index 000000000000..40ad7c3585fb --- /dev/null +++ b/dev-python/ipython/ipython-2.3.0.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-2.3.0.ebuild,v 1.1 2014/11/10 08:36:27 patrick Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +PYTHON_REQ_USE='readline,sqlite' + +inherit distutils-r1 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 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" + +IUSE="doc examples matplotlib mongodb notebook nbconvert octave qt4 +smp test wxwidgets" + +PY2_USEDEP=$(python_gen_usedep python2_7) +CDEPEND=" + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/simplegeneric[${PYTHON_USEDEP}] + dev-python/pyparsing[${PYTHON_USEDEP}] + matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] ) + mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] ) + octave? ( dev-python/oct2py[${PYTHON_USEDEP}] ) + smp? ( >=dev-python/pyzmq-2.1.11[${PYTHON_USEDEP}] ) + wxwidgets? ( $(python_gen_cond_dep 'dev-python/wxpython[${PYTHON_USEDEP}]' python2_7) )" +RDEPEND="${CDEPEND} + notebook? ( + >=www-servers/tornado-3.1[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + >=dev-python/pyzmq-2.1.11[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-libs/mathjax + ) + nbconvert? ( + >=app-text/pandoc-1.12.1 + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + ) + qt4? ( || ( dev-python/PyQt4[${PYTHON_USEDEP}] dev-python/pyside[${PYTHON_USEDEP}] ) + dev-python/pygments[${PYTHON_USEDEP}] + >=dev-python/pyzmq-2.1.11[${PYTHON_USEDEP}] )" +DEPEND="${CDEPEND} + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/mock[${PY2_USEDEP}] + ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/numpydoc[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_USEDEP}] + dev-python/rpy[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/fabric[${PYTHON_USEDEP}]' python2_7) + >=www-servers/tornado-3.1[${PYTHON_USEDEP}] + )" + +REQUIRED_USE="doc? ( matplotlib mongodb octave )" + +PATCHES=( ${FILESDIR}/2.1.0-substitute-files.patch + ${FILESDIR}/2.1.0-disable-tests.patch ) + +DISTUTILS_IN_SOURCE_BUILD=1 + +python_prepare_all() { + # Remove out of date insource files + rm IPython/extensions/rmagic.py || die + rm IPython/extensions/octavemagic.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 +} + +src_test() { + # virtualx has trouble with parallel runs. + local DISTUTILS_NO_PARALLEL_BUILD=1 + distutils-r1_src_test +} + +python_test() { + distutils_install_for_testing + 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 + ln -snf "${EPREFIX}"/usr/share/mathjax \ + "${D}$(python_get_sitedir)"/IPython/html/static/mathjax || die + + # 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() { + elog "To enable sympyprinting, it's required to emerge sympy" + elog "To enable cythonmagic, it's required to emerge cython" +} |