From 33e65e174c34944a25f7f63467c907af8a13805f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Tue, 26 Sep 2023 17:13:52 -0300 Subject: [PATCH] python3-jupyter_console: update to 6.6.3, adopt. --- srcpkgs/python3-jupyter_console/template | 31 +++++++++++++++--------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/srcpkgs/python3-jupyter_console/template b/srcpkgs/python3-jupyter_console/template index 9bbbb0488d4..1b286c83e5a 100644 --- a/srcpkgs/python3-jupyter_console/template +++ b/srcpkgs/python3-jupyter_console/template @@ -1,22 +1,29 @@ # Template file for 'python3-jupyter_console' pkgname=python3-jupyter_console -version=6.4.4 -revision=2 -build_style=python3-module -hostmakedepends="python3-setuptools" -depends="python3-ipython python3-ipython_ipykernel python3-jupyter_client - python3-prompt_toolkit python3-Pygments python3-traitlets" -checkdepends="$depends python3-pytest" +version=6.6.3 +revision=1 +build_style=python3-pep517 +hostmakedepends="hatchling" +depends="python3-ipython_ipykernel python3-ipython python3-jupyter_client + python3-jupyter_core python3-prompt_toolkit python3-Pygments python3-pyzmq + python3-traitlets" +checkdepends="$depends python3-pytest python3-flaky" short_desc="Jupyter terminal console (Python3)" -maintainer="Orphaned " +maintainer="Gonzalo TornarĂ­a " license="BSD-3-Clause" homepage="https://github.com/jupyter/jupyter_console" +changelog="https://raw.githubusercontent.com/jupyter/jupyter_console/main/CHANGELOG.md" distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz" -checksum=172f5335e31d600df61613a97b7f0352f2c8250bbd1092ef2d658f77249f89fb -# alternatives will be a conflict +checksum=566a4bf31c87adbfadf22cdf846e3069b59a71ed5da71d6ba4d8aaad14a53539 conflicts="python-jupyter_console<=6.0.0_2" -# Tests fail because stdin is not a terminal -make_check=no + +if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then + # these two tests are flaky on CI, even with @flaky sometimes fail + make_check_args=" + --deselect=jupyter_console/tests/test_console.py::test_console_starts + --deselect=jupyter_console/tests/test_console.py::test_display_text + " +fi post_install() { vlicense LICENSE