Fix archive path: homebrew-fonts-main → homebrew-fonts
Gitea archives unpack as homebrew-fonts/, not homebrew-fonts-main/. Updated formula generator, tests, and docs to match. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
387a4795d7
commit
a85f0e9b53
138 changed files with 551 additions and 540 deletions
|
|
@ -16,9 +16,9 @@ from tests.conftest import (
|
|||
def _run_install_simulation(font_name: str, font_dir: Path, prefix: Path, formula_name: str) -> None:
|
||||
"""
|
||||
Simulate the formula's install: copy ttf/otf/web/other_files to prefix
|
||||
as the formula would (same layout as homebrew-fonts-main/font_files/<font_name>/).
|
||||
as the formula would (same layout as homebrew-fonts/font_files/<font_name>/).
|
||||
"""
|
||||
# Layout formula expects: homebrew-fonts-main/font_files/<font_name>/{ttf,otf,web,other_files}
|
||||
# Layout formula expects: homebrew-fonts/font_files/<font_name>/{ttf,otf,web,other_files}
|
||||
# We use font_dir directly (same layout).
|
||||
(prefix / "fonts").mkdir(parents=True)
|
||||
(prefix / "fonts/truetype").mkdir(parents=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue