diff --git a/srcpkgs/python3-jupyter_events/patches/fix-dep.patch b/srcpkgs/python3-jupyter_events/patches/fix-dep.patch new file mode 100644 index 00000000000..c96f3c21159 --- /dev/null +++ b/srcpkgs/python3-jupyter_events/patches/fix-dep.patch @@ -0,0 +1,15 @@ +We don't have all dependencies required for `jsonschema[format-nongpl]`. +However, `rfc3339-validator` and `rfc3986-validator` seem enough, and +we do have them listed in `depends=`. + +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -24,7 +24,7 @@ + ] + dependencies = [ + "referencing", +- "jsonschema[format-nongpl]>=4.18.0", ++ "jsonschema>=4.18.0", + "python-json-logger>=2.0.4", + "pyyaml>=5.3", + "traitlets>=5.3", diff --git a/srcpkgs/python3-jupyter_events/template b/srcpkgs/python3-jupyter_events/template index f1191124ca7..63a6aaa7a98 100644 --- a/srcpkgs/python3-jupyter_events/template +++ b/srcpkgs/python3-jupyter_events/template @@ -1,11 +1,12 @@ # Template file for 'python3-jupyter_events' pkgname=python3-jupyter_events -version=0.10.0 -revision=2 +version=0.12.0 +revision=1 build_style=python3-pep517 hostmakedepends="hatchling" depends="python3-jsonschema python3-json-logger python3-yaml python3-traitlets - python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator" + python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator + python3-packaging python3-referencing" checkdepends="$depends python3-pytest-asyncio python3-pytest-console-scripts" short_desc="Configurable event system for Jupyter applications and extensions" maintainer="Gonzalo TornarĂ­a " @@ -13,7 +14,7 @@ license="BSD-3-Clause" homepage="https://github.com/jupyter/jupyter_events" changelog="https://raw.githubusercontent.com/jupyter/jupyter_events/main/CHANGELOG.md" distfiles="${PYPI_SITE}/j/jupyter_events/jupyter_events-${version}.tar.gz" -checksum=670b8229d3cc882ec782144ed22e0d29e1c2d639263f92ca8383e66682845e22 +checksum=fc3fce98865f6784c9cd0a56a20644fc6098f21c8c33834a8d9fe383c17e554b post_install() { vlicense LICENSE