Simplify deb/brew packages to thin wrappers around pip install

Remove all non-essential dependencies from both package formats.
The .deb now only depends on python3, pip, and venv. The brew
formula only depends on python@3.13. All other runtime deps
(node, chrome, yt-dlp, wget, ripgrep, etc.) are installed
on-demand by `archivebox install` at runtime.

Removed from brew formula:
- 6 depends_on entries (node, git, wget, curl, ripgrep, yt-dlp)
- on_linux block (pkg-config, openssl, libffi)
- post_install hook (was running archivebox install)
- service block (users run archivebox server directly)

Removed from .deb:
- 6 depends entries (nodejs, npm, git, wget, curl, ripgrep)
- recommends section (yt-dlp, ffmpeg, chromium)

Net: -126 lines across packaging files.

https://claude.ai/code/session_01Vx1EsNrNySgsc8Y67dGzCn
This commit is contained in:
Claude
2026-03-15 03:56:39 +00:00
parent 0fac8a7346
commit 82932812ae
5 changed files with 13 additions and 139 deletions

View File

@@ -25,17 +25,8 @@ depends:
- python3 (>= 3.11)
- python3-pip
- python3-venv
- nodejs
- npm
- git
- wget
- curl
- ripgrep
recommends:
- yt-dlp
- ffmpeg
- chromium | chromium-browser | google-chrome-stable
# All other runtime deps (node, chrome, yt-dlp, etc.) are installed on-demand
# by `archivebox install` and should NOT be declared as package dependencies.
contents:
# Wrapper script for /usr/bin/archivebox