From 8eb8acd15473777afba1b6c655da57fe9dfc93da Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:40:27 +0200 Subject: [PATCH 01/20] python3-ipython_ipykernel: update to 5.5.4 --- srcpkgs/python3-ipython_ipykernel/template | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/srcpkgs/python3-ipython_ipykernel/template b/srcpkgs/python3-ipython_ipykernel/template index 36ef97f08d73..4cf95a85c8d6 100644 --- a/srcpkgs/python3-ipython_ipykernel/template +++ b/srcpkgs/python3-ipython_ipykernel/template @@ -1,25 +1,20 @@ # Template file for 'python3-ipython_ipykernel' pkgname=python3-ipython_ipykernel -version=5.2.0 -revision=2 +version=5.5.4 +revision=1 wrksrc="ipykernel-${version}" build_style=python3-module hostmakedepends="python3-setuptools python3-ipython python3-jupyter_client python3-traitlets python3-tornado" depends="python3-ipython python3-traitlets python3-jupyter_client python3-tornado" -checkdepends="python3-pytest $depends python3-numpy python3-flaky python3-nose" short_desc="IPython kernel for Jupyter (Python3)" maintainer="Alessio Sergi " license="BSD-3-Clause" homepage="https://github.com/ipython/ipykernel" distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz" -checksum=37c65d2e2da3326e5cf114405df6d47d997b8a3eba99e2cc4b75833bf71a5e18 - -do_check() { - # Those two tests are problematic in python 3.8, - # Old versions of ipykernel are more problematic - pytest -k 'not ipykernel/inprocess' -} +checksum=1ce0e83672cc3bfdc1ffb5603e1d77ab125f24b41abc4612e22bfb3e994c0db2 +# checks create a cycle with python3-jupyter_core and python3-jupyter_client +make_check=no post_install() { vlicense COPYING.md LICENSE From a16bf0b9640ef51902d82244b78fb7844a6f661c Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:41:11 +0200 Subject: [PATCH 02/20] python3-jupyter_ipywidgets: update to 7.6.3 --- srcpkgs/python3-jupyter_ipywidgets/template | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template index fa38f1632a83..9dd693ee4ae9 100644 --- a/srcpkgs/python3-jupyter_ipywidgets/template +++ b/srcpkgs/python3-jupyter_ipywidgets/template @@ -1,25 +1,18 @@ # Template file for 'python3-jupyter_ipywidgets' pkgname=python3-jupyter_ipywidgets -version=7.5.1 -revision=2 -_widgetsnbextver=3.5.0 +version=7.6.3 +revision=1 wrksrc="ipywidgets-${version}" build_style=python3-module hostmakedepends="python3-setuptools" -depends="python3-jupyter_widgetsnbextension>=${_widgetsnbextver} - python3-ipython_ipykernel python3-traitlets" -checkdepends="python3-pytest python3-jupyter_widgetsnbextension - python3-ipython_ipykernel python3-traitlets" +depends="python3-jupyter_widgetsnbextension python3-ipython_ipykernel python3-traitlets" +checkdepends="python3-pytest $depends" short_desc="IPython widgets for the Jupyter notebook" maintainer="Alessio Sergi " license="BSD-3-Clause" homepage="https://github.com/jupyter-widgets/ipywidgets" distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz" -checksum=e945f6e02854a74994c596d9db83444a1850c01648f1574adf144fbbabe05c97 - -do_check() { - pytest -} +checksum=9f1a43e620530f9e570e4a493677d25f08310118d315b00e25a18f12913c41f0 post_install() { vlicense LICENSE From e4d939b7734f8c235f3621aaf4a062a965e2df6e Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:41:43 +0200 Subject: [PATCH 03/20] New package: python3-nest_asyncio-1.5.1 --- srcpkgs/python3-nest_asyncio/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-nest_asyncio/template diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template new file mode 100644 index 000000000000..00ecc33a132b --- /dev/null +++ b/srcpkgs/python3-nest_asyncio/template @@ -0,0 +1,19 @@ +# Template file for 'python3-nest_asyncio' +pkgname=python3-nest_asyncio +version=1.5.1 +revision=1 +wrksrc="${pkgname#python3-}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools_scm python3-toml" +depends="python3" +checkdepends="python3-pytest" +short_desc="Python asyncio patch to allow nested event loops" +maintainer="dkwo " +license="BSD-2-Clause" +homepage="https://github.com/erdewit/nest_asyncio" +distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz" +checksum=afc5a1c515210a23c461932765691ad39e8eba6551c055ac8d5546e69250d0aa + +post_install() { + vlicense LICENSE +} From 36889a1b3594056ccd1cf3c32408f5a98809281e Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:42:25 +0200 Subject: [PATCH 04/20] python3-jupyter_client: update to 6.2.0 --- .../patches/test_session.patch | 15 ------------ srcpkgs/python3-jupyter_client/template | 24 ++++++------------- 2 files changed, 7 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/python3-jupyter_client/patches/test_session.patch diff --git a/srcpkgs/python3-jupyter_client/patches/test_session.patch b/srcpkgs/python3-jupyter_client/patches/test_session.patch deleted file mode 100644 index 2febffe28cf9..000000000000 --- a/srcpkgs/python3-jupyter_client/patches/test_session.patch +++ /dev/null @@ -1,15 +0,0 @@ -encoding option is removed from msgpack.unpackb -See: https://pypi.org/project/msgpack/ -diff --git jupyter_client/tests/test_session.py jupyter_client/tests/test_session.py -index 82d63df..d8636ff 100644 ---- jupyter_client/tests/test_session.py -+++ jupyter_client/tests/test_session.py -@@ -311,7 +311,7 @@ class TestSession(SessionTestCase): - - session = ss.Session( - pack=msgpack.packb, -- unpack=lambda buf: msgpack.unpackb(buf, encoding='utf8'), -+ unpack=lambda buf: msgpack.unpackb(buf), - ) - self._datetime_test(session) - diff --git a/srcpkgs/python3-jupyter_client/template b/srcpkgs/python3-jupyter_client/template index 9dc13b8a261f..99a46093dec7 100644 --- a/srcpkgs/python3-jupyter_client/template +++ b/srcpkgs/python3-jupyter_client/template @@ -1,31 +1,21 @@ # Template file for 'python3-jupyter_client' pkgname=python3-jupyter_client -version=6.1.0 -revision=2 +version=6.2.0 +revision=1 wrksrc="jupyter_client-${version}" build_style=python3-module hostmakedepends="python3-setuptools" -depends="python3-setuptools python3-traitlets python3-jupyter_core>=4.6.0 - python3-pyzmq>=13 python3-dateutil>=2.1 python3-tornado>=3.5 - python3-simplejson" -checkdepends="python3-pytest python3-ipython_ipykernel - python3-setuptools python3-traitlets python3-jupyter_core - python3-pyzmq python3-dateutil python3-tornado - python3-simplejson python3-msgpack python3-Sphinx" +depends="python3-traitlets python3-jupyter_core python3-pyzmq + python3-dateutil python3-tornado python3-nest_asyncio" short_desc="Jupyter protocol client APIs" maintainer="Alessio Sergi " license="BSD-3-Clause" homepage="https://github.com/jupyter/jupyter_client" distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz" -checksum=61429e7d2c4b385135d31054944dd3f23a1c6affb0ca3d4328d42fc9ba82b7f5 +checksum=e2ab61d79fbf8b56734a4c2499f19830fbd7f6fefb3e87868ef0545cb3c17eb9 conflicts="python-jupyter_client<=5.2.4_2" - -do_check() { - # test_install_kernel_spec_prefix is problematic - # The test is fine when run in-tree, - # but it's failing in ./xbps-src check - pytest -k 'not test_install_kernel_spec_prefix' -} +# checks create a cycle with python3-jupyter_core and python3-ipython_ipykernel +make_check=no post_install() { vlicense COPYING.md LICENSE From 096f96df405930054255718e9a6bddbb3faf3a7a Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:43:00 +0200 Subject: [PATCH 05/20] python3-jupyter_console: update to 6.4.0 --- .../python3-jupyter_console/patches/setuptools.diff | 11 ----------- srcpkgs/python3-jupyter_console/template | 11 ++++------- 2 files changed, 4 insertions(+), 18 deletions(-) delete mode 100644 srcpkgs/python3-jupyter_console/patches/setuptools.diff diff --git a/srcpkgs/python3-jupyter_console/patches/setuptools.diff b/srcpkgs/python3-jupyter_console/patches/setuptools.diff deleted file mode 100644 index 4c39edde077f..000000000000 --- a/srcpkgs/python3-jupyter_console/patches/setuptools.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py -+++ setup.py -@@ -51,7 +51,7 @@ - import os - from glob import glob - --from distutils.core import setup -+from setuptools import setup - - pjoin = os.path.join - here = os.path.abspath(os.path.dirname(__file__)) diff --git a/srcpkgs/python3-jupyter_console/template b/srcpkgs/python3-jupyter_console/template index f491e1640f5c..a9cc6c6cb843 100644 --- a/srcpkgs/python3-jupyter_console/template +++ b/srcpkgs/python3-jupyter_console/template @@ -1,7 +1,7 @@ # Template file for 'python3-jupyter_console' pkgname=python3-jupyter_console -version=6.1.0 -revision=5 +version=6.4.0 +revision=1 wrksrc="jupyter_console-${version}" build_style=python3-module hostmakedepends="python3-setuptools" @@ -13,13 +13,10 @@ maintainer="Alessio Sergi " license="BSD-3-Clause" homepage="https://github.com/jupyter/jupyter_console" distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz" -checksum=6f6ead433b0534909df789ea64f0a14cdf9b6b2360757756f08182be4b9e431b +checksum=242248e1685039cd8bff2c2ecb7ce6c1546eb50ee3b08519729e6e881aec19c7 # alternatives will be a conflict conflicts="python-jupyter_console<=6.0.0_2" - -do_check() { - : pytest reports Stdin is not a terminal. -} +make_check=no post_install() { vlicense COPYING.md LICENSE From be7c12523dc1582f964d3d74a0d8f21f654e576b Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:43:31 +0200 Subject: [PATCH 06/20] python3-jupyter_core: update to 4.7.1 --- srcpkgs/python3-jupyter_core/template | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/srcpkgs/python3-jupyter_core/template b/srcpkgs/python3-jupyter_core/template index 413be27873f2..ceb91e029f5b 100644 --- a/srcpkgs/python3-jupyter_core/template +++ b/srcpkgs/python3-jupyter_core/template @@ -1,24 +1,20 @@ # Template file for 'python3-jupyter_core' pkgname=python3-jupyter_core -version=4.6.3 -revision=2 +version=4.7.1 +revision=1 wrksrc="jupyter_core-${version}" build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-traitlets" -checkdepends="$depends python3-pytest python3-six python3-ipython_genutils - python3-ipython_ipykernel python3-decorator python3-nose" short_desc="Jupyter core package" maintainer="Alessio Sergi " license="BSD-3-Clause" homepage="https://jupyter.org" distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz" -checksum=394fd5dd787e7c8861741880bdf8a00ce39f95de5d18e579c74b882522219e7e +checksum=79025cb3225efcd36847d0840f3fc672c0abd7afd0de83ba8a1d3837619122b4 conflicts="python-jupyter_core<=4.4.0_3" - -do_check() { - PYTHONPATH=$(pwd)/build/lib py.test -} +# checks create a cycle with python3-jypter_client and python3-ipython_ipykernel +make_check=no post_install() { vlicense COPYING.md LICENSE From dca85a83bc8a7c74bf69a7ce6e2442ece726e846 Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:43:56 +0200 Subject: [PATCH 07/20] New package: python3-jupyterlab_pygments-0.1.2 --- srcpkgs/python3-jupyterlab_pygments/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-jupyterlab_pygments/template diff --git a/srcpkgs/python3-jupyterlab_pygments/template b/srcpkgs/python3-jupyterlab_pygments/template new file mode 100644 index 000000000000..e0d031841387 --- /dev/null +++ b/srcpkgs/python3-jupyterlab_pygments/template @@ -0,0 +1,20 @@ +# Template file for 'python3-jupyterlab_pygments' +pkgname=python3-jupyterlab_pygments +version=0.1.2 +revision=1 +wrksrc="${pkgname#python3-}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-Pygments" +short_desc="Pygments theme making use of JupyterLab CSS variables" +maintainer="dkwo " +license="BSD-3-Clause" +homepage="https://github.com/jupyterlab/jupyterlab_pygments" +distfiles="${PYPI_SITE}/j/jupyterlab_pygments/jupyterlab_pygments-${version}.tar.gz" +checksum=cfcda0873626150932f438eccf0f8bf22bfa92345b814890ab360d666b254146 +# Upstream defines no tests +make_check=no + +post_install() { + vlicense LICENSE +} From 7a4186b302a93b7afe624c83434396bada81c51d Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:44:36 +0200 Subject: [PATCH 08/20] New package: python3-nbclient-0.5.3 --- srcpkgs/python3-nbclient/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-nbclient/template diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template new file mode 100644 index 000000000000..f97fd91f3d4c --- /dev/null +++ b/srcpkgs/python3-nbclient/template @@ -0,0 +1,21 @@ +# Template file for 'python3-nbclient' +pkgname=python3-nbclient +version=0.5.3 +revision=1 +wrksrc="${pkgname#python3-}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-traitlets python3-jupyter_client + python3-jupyter_nbformat python3-async_generator python3-nest_asyncio" +short_desc="Client library for executing Jupyter notebooks" +maintainer="dkwo " +license="BSD-3-Clause" +homepage="https://nbclient.readthedocs.io/en/latest/" +distfiles="${PYPI_SITE}/n/nbclient/nbclient-${version}.tar.gz" +checksum=db17271330c68c8c88d46d72349e24c147bb6f34ec82d8481a8f025c4d26589c +# Package might need to be installed for testing +make_check=no + +post_install() { + vlicense LICENSE +} From 16afbf6c4536cf8bef999ee5868081cc550ae583 Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:45:11 +0200 Subject: [PATCH 09/20] python3-jupyter_nbconvert: update to 6.0.7 --- .../patches/test-timeout.patch | 16 ----------- srcpkgs/python3-jupyter_nbconvert/template | 28 ++++++------------- 2 files changed, 9 insertions(+), 35 deletions(-) delete mode 100644 srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch diff --git a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch b/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch deleted file mode 100644 index 172692d34384..000000000000 --- a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch +++ /dev/null @@ -1,16 +0,0 @@ -This test is used to test other errors instead of TimeoutError, -according to the attached comment, increase timeout should be fine. -I run into the timeout 1 out of 10 run. -diff --git nbconvert/preprocessors/tests/test_execute.py nbconvert/preprocessors/tests/test_execute.py -index 243a725..a55116e 100644 ---- nbconvert/preprocessors/tests/test_execute.py -+++ nbconvert/preprocessors/tests/test_execute.py -@@ -317,7 +317,7 @@ def test_many_parallel_notebooks(capfd): - with ProcessPool(max_workers=4) as pool: - futures = [ - # Travis needs a lot more time even though 10s is enough on most dev machines -- pool.schedule(run_notebook, args=(input_file, opts, res), timeout=30) -+ pool.schedule(run_notebook, args=(input_file, opts, res), timeout=60) - for i in range(0, 8) - ] - for index, future in enumerate(futures): diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template index fd3a27576358..59d7d2c5014a 100644 --- a/srcpkgs/python3-jupyter_nbconvert/template +++ b/srcpkgs/python3-jupyter_nbconvert/template @@ -1,36 +1,26 @@ # Template file for 'python3-jupyter_nbconvert' pkgname=python3-jupyter_nbconvert -version=5.6.1 -revision=2 +version=6.0.7 +revision=1 wrksrc="nbconvert-${version}" build_style=python3-module hostmakedepends="python3-setuptools" -depends="python3-mistune python3-Jinja2>=2.4 python3-Pygments - python3-traitlets>=4.2 python3-jupyter_core python3-jupyter_nbformat>=4.4 - python3-entrypoints>=0.2.2 python3-testpath python3-bleach - python3-pandocfilters>=1.4.1 python3-defusedxml" +depends="python3-mistune python3-Jinja2 python3-jupyterlab_pygments + python3-nbclient python3-jupyter_core python3-entrypoints python3-testpath + python3-bleach python3-pandocfilters python3-defusedxml" checkdepends="python3-pytest python3-ipython_ipykernel - python3-mistune python3-Jinja2 python3-Pygments - python3-traitlets python3-jupyter_core python3-jupyter_nbformat - python3-entrypoints python3-testpath python3-bleach - python3-pandocfilters python3-defusedxml - python3-jupyter_ipywidgets python3-Pebble pandoc inkscape" + python3-jupyter_ipywidgets python3-Pebble pandoc inkscape $depends" short_desc="Converting Jupyter notebooks" maintainer="Alessio Sergi " license="BSD-3-Clause" homepage="https://github.com/jupyter/nbconvert" distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz" -checksum=21fb48e700b43e82ba0e3142421a659d7739b65568cc832a13976a77be16b523 +checksum=cbbc13a86dfbd4d1b5dee106539de0795b4db156c894c2c5dc382062bbc29002 conflicts="python-jupyter_nbconvert<=5.4.1_2" -post_patch() { - # only 1 test cases in test_nbconvertapp is failing, - # but disable it will make everything run into trouble - rm -f nbconvert/tests/test_nbconvertapp.py -} - do_check() { - pytest -k 'not test_run_all_notebooks[SVG.ipynb-opts9]' + # WebPDF export depends on unpackaged pyppeteer + python3 -m pytest -k 'not TestWebPDFExporter and not test_webpdf_with_chromium' } post_install() { From 9999b05bf2cf9c6af4502c271e75f6efdfddea4f Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:45:41 +0200 Subject: [PATCH 10/20] python3-jupyter_nbformat: update to 5.1.3 --- srcpkgs/python3-jupyter_nbformat/template | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/srcpkgs/python3-jupyter_nbformat/template b/srcpkgs/python3-jupyter_nbformat/template index 4a04f11f5fb3..f8d21d621bd8 100644 --- a/srcpkgs/python3-jupyter_nbformat/template +++ b/srcpkgs/python3-jupyter_nbformat/template @@ -1,25 +1,24 @@ # Template file for 'python3-jupyter_nbformat' pkgname=python3-jupyter_nbformat -version=5.0.4 -revision=2 +version=5.1.3 +revision=1 wrksrc="nbformat-${version}" build_style=python3-module hostmakedepends="python3-setuptools" -depends="python3-jsonschema>=2.6.0 python3-traitlets>=4.1 - python3-ipython_genutils python3-jupyter_core" -checkdepends="python3-pytest python3-testpath - python3-jsonschema python3-traitlets +depends="python3-jsonschema python3-traitlets python3-ipython_genutils python3-jupyter_core" +checkdepends="python3-pytest python3-testpath $depends" short_desc="Jupyter notebook format" maintainer="Alessio Sergi " license="BSD-3-Clause" homepage="https://github.com/jupyter/nbformat" distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz" -checksum=562de41fc7f4f481b79ab5d683279bf3a168858268d4387b489b7b02be0b324a +checksum=b516788ad70771c6250977c1374fcca6edebe6126fd2adb5a69aa5c2356fd1c8 conflicts="python-jupyter_nbformat<=4.4.0_3" do_check() { - pytest + # Tests require a non-existent notebook file + python3 -m pytest -k 'not test_upgrade_v4_to_4_dot_5 and not test_sample_notebook' } post_install() { From 4a488089c4c1cd6f8c652b1bc95b671df3368f0f Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:46:09 +0200 Subject: [PATCH 11/20] python3-jupyter_notebook: update to 6.3.0 --- srcpkgs/python3-jupyter_notebook/template | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/srcpkgs/python3-jupyter_notebook/template b/srcpkgs/python3-jupyter_notebook/template index c7a8b2d03904..441ac0f9a4a6 100644 --- a/srcpkgs/python3-jupyter_notebook/template +++ b/srcpkgs/python3-jupyter_notebook/template @@ -1,7 +1,7 @@ # Template file for 'python3-jupyter_notebook' pkgname=python3-jupyter_notebook -version=6.0.3 -revision=2 +version=6.3.0 +revision=1 wrksrc="notebook-${version}" build_style=python3-module hostmakedepends="python3-setuptools" @@ -9,15 +9,16 @@ depends="python3-Jinja2 python3-terminado python3-tornado python3-ipython_genutils python3-traitlets python3-jupyter_core python3-jupyter_client python3-jupyter_nbformat python3-jupyter_nbconvert python3-ipython_ipykernel python3-send2trash python3-prometheus_client - mathjax" -checkdepends="$depends" + mathjax python3-argon2" short_desc="Jupyter interactive notebook" maintainer="Alessio Sergi " license="BSD-3-Clause" homepage="https://jupyter.org/" distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz" -checksum=47a9092975c9e7965ada00b9a20f0cf637d001db60d241d479f53c0be117ad48 +checksum=cbc9398d6c81473e9cdb891d2cae9c0d3718fca289dda6d26df5cb660fcadc7d conflicts="python-jupyter_notebook<=5.7.0_2" +# Tests require unpackaged selenium +make_check=no post_install() { vlicense LICENSE @@ -25,7 +26,3 @@ post_install() { rm -rf ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax ln -sf /usr/share/mathjax ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax } - -do_check() { - : no selenium -} From 6b538fd84cdfc8902ec20566a15ad1dc1e6ecf30 Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:47:42 +0200 Subject: [PATCH 12/20] python3-jsonschema: update to 3.2.0 --- srcpkgs/python3-jsonschema/template | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template index c3954b106dc5..916a2d3164e3 100644 --- a/srcpkgs/python3-jsonschema/template +++ b/srcpkgs/python3-jsonschema/template @@ -1,27 +1,20 @@ # Template file for 'python3-jsonschema' pkgname=python3-jsonschema -reverts="3.0.2_1" -version=2.6.0 -revision=6 +version=3.2.0 +revision=1 wrksrc="jsonschema-${version}" build_style=python3-module -hostmakedepends="python3-setuptools" -depends="python3-setuptools" +hostmakedepends="python3-setuptools_scm" +depends="python3-setuptools python3-six python3-attrs python3-pyrsistent" +checkdepends="python3-pytest python3-Twisted $depends" short_desc="Implementation of JSON Schema for Python3" maintainer="Orphaned " license="MIT" homepage="https://github.com/Julian/jsonschema" +changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst" distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz" -checksum=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02 -conflicts="python-jsonschema>=0" +checksum=c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a -pre_build() { - vsed -i setup.py \ - -e '/setup_requires/d' \ - -e '/vcversioner/d' \ - -e "/name=/a\ - version=\"${version}\"," -} post_install() { vlicense COPYING LICENSE } From 8caecd6e5c1556dc6f85a1a6bfda16cea22be52a Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:48:15 +0200 Subject: [PATCH 13/20] New package: python3-pyrsistent-0.17.3 --- srcpkgs/python3-pyrsistent/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-pyrsistent/template diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template new file mode 100644 index 000000000000..1162f8d74ede --- /dev/null +++ b/srcpkgs/python3-pyrsistent/template @@ -0,0 +1,23 @@ +# Template file for 'python3-pyrsistent' +pkgname=python3-pyrsistent +version=0.17.3 +revision=1 +wrksrc="pyrsistent-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3-devel" +depends="python3" +short_desc="Python persistent immutable data structures" +maintainer="dkwo " +license="MIT" +homepage="https://github.com/tobgu/pyrsistent/" +distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz" +checksum=2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e + +do_check() { + : # Disable as it downloads many packages +} + +post_install() { + vlicense LICENCE.mit LICENSE +} From bcc239936c04698b22331f71cbbd74588b9385d4 Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:49:33 +0200 Subject: [PATCH 14/20] python3-terminado: update to 0.9.4 --- srcpkgs/python3-terminado/template | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template index f7e32aebd35a..4dbe5964dd38 100644 --- a/srcpkgs/python3-terminado/template +++ b/srcpkgs/python3-terminado/template @@ -1,17 +1,18 @@ # Template file for 'python3-terminado' pkgname=python3-terminado -version=0.8.2 -revision=4 +version=0.9.4 +revision=1 wrksrc="terminado-${version}" build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-ptyprocess python3-tornado" +checkdepends="python3-pytest $depends" short_desc="Terminals served to term.js using Tornado websockets (Python3)" maintainer="Orphaned " license="BSD-2-Clause" homepage="https://github.com/takluyver/terminado" distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz" -checksum=de08e141f83c3a0798b050ecb097ab6259c3f0331b2f7b7750c9075ced2c20c2 +checksum=9a7dbcfbc2778830eeb70261bf7aa9d98a3eac8631a3afe3febeb57c12f798be post_install() { vlicense LICENSE From 06579ad9d69d16b5aaa09dd6f1b657fed343ab9d Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:51:34 +0200 Subject: [PATCH 15/20] New package: python3-anyio-3.0.1 --- srcpkgs/python3-anyio/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-anyio/template diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template new file mode 100644 index 000000000000..078d295976e6 --- /dev/null +++ b/srcpkgs/python3-anyio/template @@ -0,0 +1,20 @@ +# Template file for 'python3-anyio' +pkgname=python3-anyio +version=3.0.1 +revision=1 +wrksrc=anyio-${version} +build_style=python3-module +hostmakedepends="python3-setuptools python3-setuptools_scm" +depends="python3-sniffio python3-idna" +short_desc="High level asynchronous concurrency and networking framework +that works on top of either trio or asyncio" +maintainer="dkwo " +license="MIT" +homepage="https://github.com/agronholm/anyio" +distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz" +checksum=1ef7622396ab55829d4236a6f75e2199df6d26a4ba79bea0cb942a5fd2f79a23 +make_check=no + +post_install() { + vlicense LICENSE +} From 7aad6be8379e8904ca61b2843e0fa4d20a9bb1bb Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:51:58 +0200 Subject: [PATCH 16/20] New package: python3-json5-0.9.5 --- srcpkgs/python3-json5/template | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 srcpkgs/python3-json5/template diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template new file mode 100644 index 000000000000..84483176d2a5 --- /dev/null +++ b/srcpkgs/python3-json5/template @@ -0,0 +1,13 @@ +# Template file for 'python3-json5' +pkgname=python3-json5 +version=0.9.5 +revision=1 +wrksrc=json5-${version} +build_style=python3-module +hostmakedepends="python3-setuptools" +short_desc="Python implementation of the JSON5 data format" +maintainer="dkwo " +license="Apache-2.0" +homepage="https://github.com/dpranke/pyjson5" +distfiles="${PYPI_SITE}/j/json5/json5-${version}.tar.gz" +checksum=703cfee540790576b56a92e1c6aaa6c4b0d98971dc358ead83812aa4d06bdb96 From c6b817aa819ce528d909607325385683cb957879 Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:53:00 +0200 Subject: [PATCH 17/20] New package: python3-jupyter_server-1.7.0 --- srcpkgs/python3-jupyter_server/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/python3-jupyter_server/template diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template new file mode 100644 index 000000000000..e54efa88c3a8 --- /dev/null +++ b/srcpkgs/python3-jupyter_server/template @@ -0,0 +1,22 @@ +# Template file for 'python3-jupyter_server' +pkgname=python3-jupyter_server +version=1.7.0 +revision=1 +wrksrc="jupyter_server-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-anyio python3-jupyter_client python3-jupyter_nbformat + python3-jupyter_nbconvert python3-terminado + python3-prometheus_client python3-traitlets python3-tornado + python3-Jinja2 python3-send2trash python3-websocket-client" +short_desc="Backend to Jupyter web applications" +maintainer="dkwo " +license="BSD-3-Clause" +homepage="https://jupyter.org" +distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz" +checksum=d9cfc1d21ff9951f185d9cbf9b742b911f57b98887ed79e210acd6f720505576 +make_check=no + +post_install() { + vlicense COPYING.md +} From e9b74c730bc9a6896dded0ba819840a49ca53a95 Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:53:26 +0200 Subject: [PATCH 18/20] New package: python3-jupyterlab_server-2.5.1 --- srcpkgs/python3-jupyterlab_server/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-jupyterlab_server/template diff --git a/srcpkgs/python3-jupyterlab_server/template b/srcpkgs/python3-jupyterlab_server/template new file mode 100644 index 000000000000..128cda576ce4 --- /dev/null +++ b/srcpkgs/python3-jupyterlab_server/template @@ -0,0 +1,20 @@ +# Template file for 'python3-jupyterlab_server' +pkgname=python3-jupyterlab_server +version=2.5.1 +revision=1 +wrksrc="jupyterlab_server-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3-jupyter_notebook python3-jupyter_server" +depends="python3-requests python3-json5 python3-Babel" +short_desc="Server components for JupyterLab and -like applications" +maintainer="dkwo " +license="BSD-3-Clause" +homepage="https://jupyter.org" +distfiles="https://github.com/jupyterlab/jupyterlab_server/archive/refs/tags/v${version}.tar.gz" +checksum=2b6016b893b6999ce4f3eb2413548486d0a795e4a5c92959a12ad2c65ee6874c +make_check=no + +post_install() { + vlicense LICENSE +} From e98f2aaf918f7f14abe6c9eb4ba3c43194da82d7 Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:54:03 +0200 Subject: [PATCH 19/20] New package: jupyterlab-3.0.15 --- srcpkgs/jupyterlab/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/jupyterlab/template diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template new file mode 100644 index 000000000000..3c558c4e485a --- /dev/null +++ b/srcpkgs/jupyterlab/template @@ -0,0 +1,18 @@ +# Template file for 'jupyterlab' +pkgname=jupyterlab +version=3.0.15 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-jupyterlab_server nodejs python3-nbclassic" +short_desc="JupyterLab computational environment" +maintainer="dkwo " +license="custom:jupyterlab" +homepage="https://jupyter.org" +distfiles="https://github.com/jupyterlab/jupyterlab/archive/refs/tags/v${version}.tar.gz" +checksum=b83ccd2dc068e714158155f2e0f22313ca0be2dfb7aacdc604efdb05969a0af8 +make_check=no + +post_install() { + vlicense LICENSE +} From af1bcdaeb2c2a05d7583a3389fcda6d4746c586e Mon Sep 17 00:00:00 2001 From: dkwo Date: Sat, 22 May 2021 20:20:05 +0200 Subject: [PATCH 20/20] New package: python3-nbclassic-0.2.8 --- srcpkgs/python3-nbclassic/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-nbclassic/template diff --git a/srcpkgs/python3-nbclassic/template b/srcpkgs/python3-nbclassic/template new file mode 100644 index 000000000000..3bcc7cf89318 --- /dev/null +++ b/srcpkgs/python3-nbclassic/template @@ -0,0 +1,19 @@ +# Template file for 'python3-nbclassic' +pkgname=python3-nbclassic +version=0.2.8 +revision=1 +wrksrc=nbclassic-${version} +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-jupyter_notebook python3-jupyter_server" +short_desc="Jupyter Notebook as a Jupyter Server Extension" +maintainer="dkwo " +license="BSD-3-Clause" +homepage="https://jupyter.org" +distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz" +checksum=9553dcd9ae4d932db640dad0daa186fe6c64e69ec2159868c0b38d7adef9b3b5 +make_check=no + +post_install() { + vlicense LICENSE +}