fix(debian): remove pybuild, use manual install in rules
Some checks failed
Build and Release .deb / build-deb (push) Failing after 21s

- Remove dh-python and pybuild from debian/rules
- Remove python3-all from build deps
- Manual install of scripts and full_updater module
- Update Depends to use python3 directly
This commit is contained in:
enzo 2026-05-13 00:43:44 +02:00
parent 25b1309dc1
commit 9b449b39ce
3 changed files with 14 additions and 6 deletions

View file

@ -43,7 +43,7 @@ jobs:
working-directory: /workspace/repo working-directory: /workspace/repo
run: | run: |
apt-get update apt-get update
apt-get install -y build-essential debhelper dh-python python3-all python3-venv devscripts fakeroot apt-get install -y build-essential debhelper devscripts fakeroot
- name: Build .deb package - name: Build .deb package
working-directory: /workspace/repo working-directory: /workspace/repo

4
debian/control vendored
View file

@ -2,12 +2,12 @@ Source: full-updater
Section: admin Section: admin
Priority: optional Priority: optional
Maintainer: Enzo <admin@geronzi.fr> Maintainer: Enzo <admin@geronzi.fr>
Build-Depends: debhelper-compat (= 13), dh-python, python3-all, python3-venv Build-Depends: debhelper-compat (= 13)
Standards-Version: 4.6.0 Standards-Version: 4.6.0
Package: full-updater Package: full-updater
Architecture: all Architecture: all
Depends: ${python3:Depends}, python3-textual, python3-pyperclip, python3-venv, git, pct Depends: python3, python3-venv, git, pct
Description: TUI for APT/CVE updates on Proxmox host and LXC Description: TUI for APT/CVE updates on Proxmox host and LXC
Full Updater is a terminal user interface (TUI) that visualizes Full Updater is a terminal user interface (TUI) that visualizes
available APT updates and CVEs for the Proxmox host and all LXC available APT updates and CVEs for the Proxmox host and all LXC

14
debian/rules vendored
View file

@ -1,14 +1,22 @@
#!/usr/bin/make -f #!/usr/bin/make -f
export DH_VERBOSE = 1 export DH_VERBOSE = 1
export PYBUILD_NAME = full-updater
%: %:
dh $@ --with python3 --buildsystem=pybuild dh $@
override_dh_auto_install: override_dh_auto_install:
dh_auto_install install -d -m 755 $(CURDIR)/debian/full-updater/opt/full-updater
install -d -m 755 $(CURDIR)/debian/full-updater/opt/full-updater/scripts
install -d -m 755 $(CURDIR)/debian/full-updater/usr/local/bin
install -D -m 755 scripts/fullupdater $(CURDIR)/debian/full-updater/opt/full-updater/scripts/fullupdater install -D -m 755 scripts/fullupdater $(CURDIR)/debian/full-updater/opt/full-updater/scripts/fullupdater
install -D -m 755 scripts/fullupdater-update $(CURDIR)/debian/full-updater/usr/local/bin/fullupdater-update install -D -m 755 scripts/fullupdater-update $(CURDIR)/debian/full-updater/usr/local/bin/fullupdater-update
install -D -m 644 requirements.txt $(CURDIR)/debian/full-updater/opt/full-updater/requirements.txt install -D -m 644 requirements.txt $(CURDIR)/debian/full-updater/opt/full-updater/requirements.txt
cp -r full_updater $(CURDIR)/debian/full-updater/opt/full-updater/ cp -r full_updater $(CURDIR)/debian/full-updater/opt/full-updater/
find $(CURDIR)/debian/full-updater/opt/full-updater -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
override_dh_auto_build:
# Pas de build necessaire
override_dh_auto_clean:
# Pas de clean necessaire