[Midnightbsd-cvs] [MidnightBSD/mports] a74685: archivers/py-brotli: update to 1.2.0 (#1278)
Lucas Holt
noreply at github.com
Wed Sep 16 09:21:32 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: a74685d0057ea905b1f9b50d9c7c86cb7fc558a6
https://github.com/MidnightBSD/mports/commit/a74685d0057ea905b1f9b50d9c7c86cb7fc558a6
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-09-16 (Wed, 16 Sep 2026)
Changed paths:
M archivers/py-brotli/Makefile
M archivers/py-brotli/distinfo
A archivers/py-brotli/files/patch-setup.py
Log Message:
-----------
archivers/py-brotli: update to 1.2.0 (#1278)
1.0.9 -> 1.2.0. Required by `www/py-aiohttp` 3.14, whose `SPEEDUPS`
option
needs `Brotli>=1.2`.
Part of #1269.
- Switches from `distutils` to `pep517`, matching upstream's move to a
wheel build
- Upstream 1.2.0 derives its version from the git checkout, so
`setup.py` is
patched to use `PORTVERSION` (same patch FreeBSD uses)
- Drops the vestigial `SHEBANG_FILES=python/bro.py`: that script was
never
packaged. Verified against the old 1.0.9_1 `.mport` — the installed file
list
is unchanged apart from `egg-info` becoming `dist-info`.
### Bundled C sources
Unlike FreeBSD, this keeps the bundled brotli C sources rather than
setting
`USE_SYSTEM_BROTLI=1`. `archivers/brotli` in the tree is 1.1.0, below
what
py-brotli 1.2.0 wants, and that library has 26 dependents — updating it
is a
separate change. Worth filing as a follow-up.
### Validation
- `bmake makesum` / `patch` / `build` / `fake` / `package` all pass
- `portlint -AC` clean
- Compress/decompress round-trip verified;
`importlib.metadata.version('brotli')`
reports 1.2.0 on MidnightBSD 4.0.6/amd64, py312
- All 6 dependents test-built OK (`devel/py-geventhttpclient`,
`net/py-urllib3`,
`print/py-fonttools`, `print/py-fonttools3`, `www/py-httpx`,
`www/yt-dlp`)
`PORTREVISION` bumps for dependents are in the separate bump PR.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01NSsgED5s7GPYJNb1HxuaU9
## Summary by Sourcery
Update archivers/py-brotli to 1.2.0 to support consumers requiring the
newer Brotli release.
Enhancements:
- Update the py-brotli port to version 1.2.0 and adopt the upstream PEP
517 wheel build.
Build:
- Add the build requirements needed for the PEP 517 packaging workflow
and retain the bundled Brotli sources.
Chores:
- Align package metadata with the new upstream release while preserving
the existing installed functionality.
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Co-authored-by: Claude Opus 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