[Midnightbsd-cvs] [MidnightBSD/mports] 251a3c: archivers/py-brotli: add py-pkgconfig build depend...
Lucas Holt
noreply at github.com
Wed Sep 23 11:31:37 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: 251a3cf8a11cc824151a3b7553335beba61791d7
https://github.com/MidnightBSD/mports/commit/251a3cf8a11cc824151a3b7553335beba61791d7
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-09-23 (Wed, 23 Sep 2026)
Changed paths:
M archivers/py-brotli/Makefile
Log Message:
-----------
archivers/py-brotli: add py-pkgconfig build dependency (#1607)
Fixes the Magus failure in run 648, port ID 2260569:
```
ERROR Missing dependencies:
pkgconfig
```
## Cause
brotli 1.2.0's `pyproject.toml` lists `pkgconfig` in
`build-system.requires`. The PEP 517 frontend (`python -m build`) checks
every listed requirement before building, so the build fails on a clean
builder, even though `setup.py` only imports `pkgconfig` when
`USE_SYSTEM_BROTLI` is set. The port never declared the dependency. The
1.2.0 update (#1278) passed locally only because `py312-pkgconfig` was
already installed.
## Fix
Add
`${PYTHON_PKGNAMEPREFIX}pkgconfig>=0:devel/py-pkgconfig@${PY_FLAVOR}` to
`BUILD_DEPENDS`. `devel/py-pkgconfig` passes on Magus 4.1. The port
still builds brotli's bundled C sources, as intended.
No PORTREVISION bump, because only the build dependencies changed and
the package contents are the same.
## Testing
- I removed `py312-pkgconfig` from the build box. Without this change,
the build failed with the same error as Magus.
- With this change, the port installed `py312-pkgconfig` itself, and
`bmake package` produced `py312-brotli-1.2.0.mport`.
- portlint: no fatal errors.
When this lands, it should unblock py-urllib3, py-fonttools, yt-dlp and
py-geventhttpclient.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
## Summary by Sourcery
Bug Fixes:
- Declare py-pkgconfig as a build dependency so py-brotli can be built
by PEP 517 frontends on clean builders.
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply at anthropic.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list