From 8d95258fc398f003c5f81911d4eed098e9aac415 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Thu, 25 May 2023 23:12:45 -0300 Subject: [PATCH] python3-nbclassic: update to 1.0.0. --- srcpkgs/python3-nbclassic/template | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/srcpkgs/python3-nbclassic/template b/srcpkgs/python3-nbclassic/template index 81fb1831006..6f6d16a47a4 100644 --- a/srcpkgs/python3-nbclassic/template +++ b/srcpkgs/python3-nbclassic/template @@ -1,25 +1,25 @@ # Template file for 'python3-nbclassic' pkgname=python3-nbclassic -version=0.4.8 -revision=2 -build_style=python3-module -hostmakedepends="python3-setuptools" -depends="python3-jupyter_notebook python3-jupyter_server" -checkdepends="${depends} python3-pytest python3-pytest-fixture-config python3-pytest-subtests" +version=1.0.0 +revision=1 +build_style=python3-pep517 +make_build_args="--skip-dependency-check" +hostmakedepends="python3-jupyter_packaging python3-jupyter_server" +depends="mathjax2 python3-notebook_shim" +checkdepends="$depends python3-pytest-jupyter" short_desc="Jupyter Notebook as a Jupyter Server Extension" maintainer="dkwo " license="BSD-3-Clause" -homepage="https://jupyter.org" +homepage="https://github.com/jupyter/nbclassic" +changelog="https://raw.githubusercontent.com/jupyter/nbclassic/main/CHANGELOG.md" distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz" -checksum=c74d8a500f8e058d46b576a41e5bc640711e1032cf7541dde5f73ea49497e283 -# missing fixtures: jp_create_notebook jp_fetch -make_check=no - -conf_files="/etc/jupyter/jupyter_server_config.d/*.json" +checksum=0ae11eb2319455d805596bf320336cda9554b41d99ab9a3c31bf8180bffa30e3 post_install() { vlicense LICENSE + mv ${DESTDIR}/usr/etc ${DESTDIR} - # jupyter honors /etc/juypter; move config files there - mv "${DESTDIR}/usr/etc" "${DESTDIR}/etc" + # use system mathjax2 + rm -rf ${DESTDIR}/${py3_sitelib}/nbclassic/static/components/MathJax + ln -sf /usr/share/mathjax ${DESTDIR}/${py3_sitelib}/nbclassic/static/components/MathJax }