diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-05-21 21:15:15 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-05-21 21:22:46 +0200 |
commit | 9f03e1860ceeec6d49cd432d483245fec7920839 (patch) | |
tree | 566c2e930c02f68bf7b7306d6e34921a1c81ac60 /dev-python/notebook/files | |
parent | sys-kernel/gentoo-sources: drop 4.9.313 (diff) | |
download | gentoo-9f03e1860ceeec6d49cd432d483245fec7920839.tar.gz gentoo-9f03e1860ceeec6d49cd432d483245fec7920839.tar.bz2 gentoo-9f03e1860ceeec6d49cd432d483245fec7920839.zip |
dev-python/notebook: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/notebook/files')
-rw-r--r-- | dev-python/notebook/files/notebook-5.7.0-no-mathjax.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/dev-python/notebook/files/notebook-5.7.0-no-mathjax.patch b/dev-python/notebook/files/notebook-5.7.0-no-mathjax.patch deleted file mode 100644 index f9ce5c3a9e39..000000000000 --- a/dev-python/notebook/files/notebook-5.7.0-no-mathjax.patch +++ /dev/null @@ -1,44 +0,0 @@ -Disable bundled mathjax. - -Patch by Marius Brehler. ---- notebook-5.7.0.orig/setupbase.py -+++ notebook-5.7.0/setupbase.py -@@ -169,38 +169,6 @@ def find_package_data(): - if f.endswith(('.js', '.css')): - static_data.append(pjoin(parent, f)) - -- # Trim mathjax -- mj = lambda *path: pjoin(components, 'MathJax', *path) -- static_data.extend([ -- mj('MathJax.js'), -- mj('config', 'TeX-AMS-MML_HTMLorMML-full.js'), -- mj('config', 'Safe.js'), -- ]) -- -- trees = [] -- mj_out = mj('jax', 'output') -- -- if os.path.exists(mj_out): -- for output in os.listdir(mj_out): -- path = pjoin(mj_out, output) -- static_data.append(pjoin(path, '*.js')) -- autoload = pjoin(path, 'autoload') -- if os.path.isdir(autoload): -- trees.append(autoload) -- -- for tree in trees + [ -- mj('localization'), # limit to en? -- mj('fonts', 'HTML-CSS', 'STIX-Web', 'woff'), -- mj('extensions'), -- mj('jax', 'input', 'TeX'), -- mj('jax', 'output', 'HTML-CSS', 'fonts', 'STIX-Web'), -- mj('jax', 'output', 'SVG', 'fonts', 'STIX-Web'), -- mj('jax', 'element', 'mml'), -- ]: -- for parent, dirs, files in os.walk(tree): -- for f in files: -- static_data.append(pjoin(parent, f)) -- - os.chdir(os.path.join('tests',)) - js_tests = glob('*.js') + glob('*/*.js') - |