diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-24 14:55:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-24 14:55:44 +0100 |
commit | b83b16e0f6c963583f6323fe1bb12ecbd11d6f81 (patch) | |
tree | d67748047921162af2742c3e1255e3f1421f769b /dev-python/notebook | |
parent | 76617568771869151cb2a3f71939719c15dd47a2 (diff) |
gentoo auto-resync : 24:07:2023 - 14:55:44
Diffstat (limited to 'dev-python/notebook')
-rw-r--r-- | dev-python/notebook/Manifest | 3 | ||||
-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, 142 deletions
diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest index 02ce05439e3e..b859645de41f 100644 --- a/dev-python/notebook/Manifest +++ b/dev-python/notebook/Manifest @@ -1,8 +1,5 @@ -AUX notebook-6.4.11-no-mathjax.patch 1527 BLAKE2B ccd6d1af303eccdd0eacb760d1b741b11354fa19c46b4d96c04da150793ea9e825cbf0922e152c7eac010ac4ef95d4fd16057092967a12873744fe45e6fbc4b6 SHA512 eb72afff71ab2589afafc735dff50651f9bd55aa8bda520d6d9ed8769373db8b557f79d69e4f2a0d95863e3c9f4d83e09a3a915390e6ad89d6d3bc558101a44e -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 -EBUILD notebook-6.4.12.ebuild 3072 BLAKE2B 699c9b0bfca4584085ed1cc0b78eef14d90fb68a977e272dcba45b3f30db56ceae9611a4b366f75ef503ee0538e59bd65a9fa40b12cca19e7002d1b563db9d3b SHA512 bd434524ecfa0951f11167c0833ac0cc9207ca28078c29d678727a32aa245505f443f7095d59af24d8c1747d1d56b5d0deb91f1279cef86d591e1c53352ca2b8 EBUILD notebook-6.5.4.ebuild 2858 BLAKE2B c30ce60901402b7b603ff3982bae0e12b7c560f2aca30e38c475738167c7da430b7b4c8de761ccb981d46679b89f83ff72c0de7ffa5efcc9e3342bf582d1aec3 SHA512 a987751e7c1c14365504feda6459da32801cdce59c4fb64bb4e5f3916f1aaaa91ad2660a9baf2309c0f9af9312637c6e33f49c045dd9414f260bc3c93a874cb6 EBUILD notebook-7.0.0.ebuild 1372 BLAKE2B aa606d66cdfb2faba671c8f7374b8663a379283dee947b49d9972a2149423d59a4866ce184a01ea522f0413786c7f6141d04a4e3a6c23d74ee7f1f6bc4ca29e1 SHA512 98326f09605a5a08fbba7931724ba5a1941ed89d36d0d36b4633ec00de068195dce15a79d642bbbef0030932d4bb434f0ba4ed86d0fdb0a362337a677dde26c5 MISC metadata.xml 525 BLAKE2B 03602bbd7c6b55aaa4c4d6011a91127090359079ed2d7e6b9e3cefe63b2b249b36cd172a40d1ce69234de2440d9248e933dd94a636b95c07f06a658ecb929227 SHA512 18f6bd5cb4b1c90cc228a5ee506cea17c4aa9d60174e00c7cb4df654d5d7158aa20ea6346bf9a0734877402a0e0916aa7f9e82f0bdce0cca78c877c5e87550e3 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 -} |