diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-07-24 14:45:59 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-07-24 14:45:59 +0200 |
commit | 9fbfdf24d785e488fc97aa23b089face850e1fd0 (patch) | |
tree | 76c98d362b39c1f25c796ca3f5168d179859bcd8 /dev-python/notebook | |
parent | dev-python/mypy_extensions: Remove old (diff) | |
download | gentoo-9fbfdf24d785e488fc97aa23b089face850e1fd0.tar.gz gentoo-9fbfdf24d785e488fc97aa23b089face850e1fd0.tar.bz2 gentoo-9fbfdf24d785e488fc97aa23b089face850e1fd0.zip |
dev-python/notebook: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/notebook')
-rw-r--r-- | dev-python/notebook/Manifest | 1 | ||||
-rw-r--r-- | dev-python/notebook/files/notebook-6.4.11-no-mathjax.patch | 42 | ||||
-rw-r--r-- | dev-python/notebook/notebook-6.4.12.ebuild | 97 |
3 files changed, 0 insertions, 140 deletions
diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest index a7dfb7d1f6aa..dbd70028fc9f 100644 --- a/dev-python/notebook/Manifest +++ b/dev-python/notebook/Manifest @@ -1,3 +1,2 @@ -DIST notebook-6.4.12.tar.gz 14389641 BLAKE2B 1cda6a1eb1f4e7ccce964153bdce8de243588ffd4abcc5ab6687ba0ea347d68c5dd239c2af5bf93809409d850747db28df72be5c2ec03bfd06b725976ae1c599 SHA512 1314cfebe97ddada61e1013fdfd606bed08908c06b58e59f2fda6e63c43a1158eeed6a93a5cddbb609ecad0347bf80ee3a74747104fd29942629734c1ea749f0 DIST notebook-6.5.4.tar.gz 5785832 BLAKE2B 28845c51c244d08b12e6a2853d3407a2af9e351f1501db8e76ff4f069e656d9bf27c3d2893b38f3f2bb51cedf38658219be3843a3397a588046d55bf445d3222 SHA512 72bf4efa4d553a6265c72e188ad0ee085accbbc05b0af182531c892303149d83f38f6d410f1bcb2c835071f713cb4267d58324b982b4087caabf9b46b8d77cfa DIST notebook-7.0.0.tar.gz 3922786 BLAKE2B 5aaeae9f48c456691607d5ef05012368f0e6abd1eb1266a5fc68ac999027cdb1e03a640b13048b47a754ef8c803bf1fe3a8c056dc600d825fa05387e905183a2 SHA512 fb58c03b60f02cc8b2096c13c493c38324fbb76a93dbb31a94775ed341a9594168598bc3a35ce18ef1ce6e2dd79f7b2e32d752dc3307780cfbc9fbc0c7f1c9a6 diff --git a/dev-python/notebook/files/notebook-6.4.11-no-mathjax.patch b/dev-python/notebook/files/notebook-6.4.11-no-mathjax.patch deleted file mode 100644 index 85d326b9dfde..000000000000 --- a/dev-python/notebook/files/notebook-6.4.11-no-mathjax.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff -dupr notebook-6.4.11.orig/setupbase.py notebook-6.4.11/setupbase.py ---- notebook-6.4.11.orig/setupbase.py 2022-04-20 09:37:45.964925905 +0200 -+++ notebook-6.4.11/setupbase.py 2022-04-20 09:40:32.624674341 +0200 -@@ -167,38 +167,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') - diff --git a/dev-python/notebook/notebook-6.4.12.ebuild b/dev-python/notebook/notebook-6.4.12.ebuild deleted file mode 100644 index 0367b35c25b6..000000000000 --- a/dev-python/notebook/notebook-6.4.12.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi xdg-utils - -DESCRIPTION="Jupyter Interactive Notebook" -HOMEPAGE="https://jupyter.org" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~ia64" - -RDEPEND=" - >=dev-libs/mathjax-2.4 - dev-python/argon2-cffi[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] - >=dev-python/tornado-6.0[${PYTHON_USEDEP}] - dev-python/ipython_genutils[${PYTHON_USEDEP}] - >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] - >=dev-python/jupyter-core-4.6.1[${PYTHON_USEDEP}] - >=dev-python/pyzmq-17[${PYTHON_USEDEP}] - >=dev-python/jupyter-client-5.3.4[${PYTHON_USEDEP}] - dev-python/nbformat[${PYTHON_USEDEP}] - >=dev-python/nest_asyncio-1.5[${PYTHON_USEDEP}] - dev-python/ipykernel[${PYTHON_USEDEP}] - >=dev-python/send2trash-1.8.0[${PYTHON_USEDEP}] - dev-python/prometheus-client[${PYTHON_USEDEP}]" - -BDEPEND=" - >=dev-python/jupyter-packaging-0.9[${PYTHON_USEDEP}] - test? ( - dev-python/requests[${PYTHON_USEDEP}] - dev-python/requests-unixsocket[${PYTHON_USEDEP}] - ) -" - -PDEPEND=">=dev-python/nbconvert-4.2.0[${PYTHON_USEDEP}]" - -PATCHES=( - "${FILESDIR}"/notebook-6.4.11-no-mathjax.patch -) - -distutils_enable_tests pytest - -python_prepare_all() { - # disable bundled mathjax - sed -i 's/^.*MathJax.*$//' bower.json || die - - distutils-r1_python_prepare_all -} - -EPYTEST_DESELECT=( - # trash doesn't seem to work for us - notebook/services/contents/tests/test_contents_api.py::APITest::test_checkpoints_follow_file - notebook/services/contents/tests/test_contents_api.py::APITest::test_delete - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_checkpoints_follow_file - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_dirs - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_non_empty_dir - notebook/services/contents/tests/test_manager.py::TestContentsManager::test_delete - notebook/services/contents/tests/test_manager.py::TestContentsManagerNoAtomic::test_delete - # TODO - notebook/services/kernels/tests/test_kernels_api.py::KernelAPITest::test_connections - notebook/services/kernels/tests/test_kernels_api.py::AsyncKernelAPITest::test_connections - notebook/services/kernels/tests/test_kernels_api.py::KernelCullingTest::test_culling - notebook/services/nbconvert/tests/test_nbconvert_api.py::APITest::test_list_formats -) - -EPYTEST_IGNORE=( - # selenium tests require geckodriver - notebook/tests/selenium -) - -python_install() { - distutils-r1_python_install - - ln -sf \ - "${EPREFIX}/usr/share/mathjax" \ - "${D}$(python_get_sitedir)/notebook/static/components/MathJax" || die -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update -} |