Restore Homebrew and Debian package manager support

- Add Homebrew formula (brew_dist/archivebox.rb) using virtualenv pattern
  with auto-generation via homebrew-pypi-poet in bin/build_brew.sh
- Add Debian packaging via nFPM (pkg/debian/) with thin .deb that pip-installs
  archivebox into /opt/archivebox/venv on postinstall
- Add build/release scripts: bin/{build,release}_{brew,deb}.sh
- Update CI workflows to build packages on release and test them
- Update README apt/brew install instructions with working commands
- Update bin/setup.sh to use .deb download instead of old Launchpad PPA

https://claude.ai/code/session_01Vx1EsNrNySgsc8Y67dGzCn
This commit is contained in:
Claude committed 2026-03-15 00:19:50 +00:00
1 parent fdef1f991e
commit f3fcc1584c
17 files changed
+552 -122

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
# postinstall script for archivebox .deb package
set -e
/opt/archivebox/install.sh
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# preremove script for archivebox .deb package
set -e
echo "[+] Removing ArchiveBox virtualenv..."
rm -rf /opt/archivebox/venv
echo "[i] Your ArchiveBox data directories have NOT been removed."
echo " Remove them manually if you no longer need them."