Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481726 - dev-python/ipython[notebook] should depend on dev-libs/mathjax
Summary: dev-python/ipython[notebook] should depend on dev-libs/mathjax
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-20 08:36 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2015-06-22 09:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2013-08-20 08:36:51 UTC
>=dev-python/ipython-0.12[notebook] should depend on dev-libs/mathjax.

In src_install() phase appropriate symlinks pointing to ${EPREFIX}/usr/share/mathjax should be created:
- In IPython 0.12.* and 0.13.*:
    ${ED}/.../site-packages/IPython/frontend/html/notebook/static/mathjax
- In IPython 1.0.*:
    ${ED}/.../site-packages/IPython/html/static/mathjax

http://ipython.org/ipython-doc/rel-1.0.0/install/install.html#dependencies-for-the-ipython-html-notebook
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2013-08-27 20:02:53 UTC
+  27 Aug 2013; Kacper Kowalik <xarthisius@gentoo.org> -ipython-0.10.1.ebuild,
+  -ipython-0.10.ebuild, -ipython-0.12.1.ebuild, -ipython-0.13.1-r1.ebuild,
+  -ipython-0.13.1.ebuild, -ipython-0.13.ebuild, ipython-0.12-r1.ebuild,
+  ipython-0.13.2.ebuild, ipython-1.0.0.ebuild, metadata.xml:
+  Add missing dependencies. Fixes bug #481342 and #481726 by
+  <jcpetkovich@gmail.com> and Arfrever Frehtes Taifersar Arahesis
+  <arfrever.fta@gmail.com> respectively. Drop obsolete versions

I didn't want to mess with <1.0.0. That would require dropping keywords and such. I've fixed latest version, i.e. 1.0.0. After bug 481462 I'll just drop the rest. I don't see the point keeping them in tree.
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2013-08-28 07:29:02 UTC
+  28 Aug 2013; Kacper Kowalik <xarthisius@gentoo.org> ipython-1.0.0.ebuild:
+  Provide symlink to mathjax in order to  force notebook to use the local
+  version. Thanks to Arfrever for his insight in bug #481726
Comment 3 Bob Johnson 2014-03-26 06:05:03 UTC
A flaw with the current fix is that if the notebook USE flag is not set the mathjax package is not pulled in but the mathjax symlink is still created in /usr/lib/pythonX.Y/site-packages/IPython/html/static/mathjax, creating a dead symlink. `find -L /usr -type l | sort --unique` picks it up. Is this OK?
Comment 4 Arfrever Frehtes Taifersar Arahesis 2014-03-26 10:07:25 UTC
Symlink generation should be inside 'if use notebook; then...fi' as it hath always been in my ebuild.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2015-03-13 14:39:41 UTC
Please reopen if still exists with >ipython-2
Comment 6 Arfrever Frehtes Taifersar Arahesis 2015-03-14 21:43:23 UTC
Changes described in comment #4 have not been implemented yet in dev-python/ipython::gentoo.
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2015-06-22 09:46:07 UTC
+*ipython-3.2.0 (22 Jun 2015)
+*ipython-2.2.0-r1 (22 Jun 2015)
+
+  22 Jun 2015; Justin Lecher <jlec@gentoo.org>
+  +files/ipython-2.2.0-login-backport.patch, +ipython-2.2.0-r1.ebuild,
+  +ipython-3.2.0.ebuild, -ipython-2.4.1.ebuild, -ipython-3.0.0.ebuild,
+  -ipython-3.1.0.ebuild:
+  Backport vulnerability fix, bug #552816; drop vulnerable versions; create
+  mathjax symlink USE dependent, bug #481726
+