mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-06 07:47:53 +10:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user