Files
python3-damaris/requirements.debian
markusro 1322fd3835
Build Debian Packages / build (bookworm, debian12) (push) Successful in 12m12s
Build Debian Packages / build (trixie, debian13) (push) Successful in 12m42s
Build Debian Packages / build (bullseye, debian11) (push) Has been cancelled
Install from backports-bullseye pybuild-plugin-pyproject
2026-03-27 16:16:42 +01:00

26 lines
965 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 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