Files
python3-damaris/requirements.debian
T
markusro 9cc449d6e1
Build Debian Packages / build (bookworm, debian12) (push) Successful in 8m30s
Build Debian Packages / build (trixie, debian13) (push) Successful in 9m14s
build HTML docs at package build time and open them from the Help menu
- debian/rules: build sphinx HTML into build/html
- debian/install: install it as usr/share/doc/python3-damaris/html/
  instead of shipping the raw doc/ source tree (whose gitignored
  doc/_build never existed on CI checkouts)
- debian/control: declare ${sphinxdoc:Depends} and python3-sphinx
  (provides sphinx-build) explicitly
- requirements.debian: install python3-sphinx explicitly
- DamarisGUI: point the manual at the packaged HTML path with a
  source-tree fallback, populate the Help dropdown menu, and open
  the DAMARIS manual on a plain toolbar click
- doc/manual.rst: document the Help menu

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-10-18 17:20:33 +02:00

26 lines
980 B
Bash

#!/bin/bash
apt-get -y install libcairo2-dev gir1.2-gtksource-3.0 hdf5-tools
apt-get -y install python3-dev python3-scipy python3-lmfit python3-matplotlib python3-tables python3-xdg python3-setuptools python3-sphinx-rtd-theme
apt-get -y install debhelper dh-sequence-python3 lsb-release sphinx-common python3-sphinx pybuild-plugin-pyproject python3-sphinxcontrib.bibtex
DEBRELEASE=$(lsb_release -cs)
case $DEBRELEASE in
"trixie")
echo "Trixie detected"
# python3-setuptools needed, python >= 3.12 has no stdlib distutils module
apt-get -y install libgirepository-2.0-dev
;;
"bookworm")
echo "Bookworm detected"
apt-get -y install libgirepository1.0-dev
;;
"bullseye")
echo "Bullseye detected"
wget https://archive.debian.org/debian/pool/main/d/dh-python/pybuild-plugin-pyproject_5.20230130~bpo11+1_all.deb
dpkg -i pybuild-plugin-pyproject_5.20230130~bpo11+1_all.deb
apt-get -y install libgirepository1.0-dev
;;
*)
echo "not implemented" ; exit 1
;;
esac