jupyter-collaboration-3.0.0-1 does not contain the jupyterlab extension

The upstream repository was restructured in this pull request before version 3.0.0 and the Arch build was probably not updated correctly. The current package has a few problems:

  • it contains only Python packages, but nothing in /usr/share/jupyter/labextensions/
  • the Python packages are installed in directories with a dash (e.g. /usr/lib/python3.12/site-packages/jupyter-collaboration/jupyter_collaboration/ rather than just /usr/lib/python3.12/site-packages/jupyter_collaboration/

Overall, running jupyter labextension list after installing jupyter-collaboration does not show the collaboration extension anymore. It should show the following (same as after running pip install jupyter-collaboration in a venv):

        @jupyter/docprovider-extension v3.0.0 enabled OK (python, jupyter-docprovider)
        @jupyter/collaboration-extension v3.0.0 enabled OK (python, jupyter-collaboration-ui)