5develΣ=0 5Version of this port present on the latest quarterly branch.upstream: v6A newer version was found upstream by portscout, first on 2026-06-20.
ghpr is a Python-based tool to land GitHub pull requests into FreeBSD
repositories.
It streamlines the process of integrating GitHub pull requests by combining
PR initialization, staging, and pushing into a unified command-line interface.
Key features:
- Creates and maintains a dedicated staging branch for PR integration
- Downloads PRs and rebases them with automatic conflict detection
- Adds appropriate commit metadata (reviewer info and PR references)
- Tracks PR status through GitHub labels ('staged' and 'merged')
- Pushes changes upstream while automatically closing associated PRs
- Supports dry-run mode and verbose output for debugging
- Handles conflict resolution workflows
Requires the GitHub CLI (gh) with configured authentication.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-ghpr listed in the above command, you can pick from the names under the Packages section.
devel/ghpr: add missing `BUILD_DEPENDS`
This change adds additional build dependencies accidentally missed in
the previous commit.
Although the devel/py-setuptools dependency is technically redundant in
light of devel/py-setuptools-scm, it's best to express all of the needed
dependencies in `BUILD_DEPENDS`.
Reported by: poudriere
Approved by: imp (maintainer)
Pointyhat to: ngie
Fixes: 59337d86174 ("devel/ghpr: update to v3")
Differential Revision: https://reviews.freebsd.org/D55962
devel/ghpr: update to v3
v3 makes the following high-level changes apart from the standard
version update described in [1]:
- pyproject.toml / PEP-517 using setuptools_scm integration.
- Now the package is prefixed with `PYTHON_PKGNAMEPREFIX` so multiple
versions of the package can be built with different versions of
python and installed concurrently (if one decided to do that).
- LICENSE.md from the latest version is used/incorporated into the
end-resulting package.
- Make the port portlint clean by reordering variables and using
`PORTVERSION` instead of `DISTVERSION`.
Approved by: imp (maintainer)
Differential Revision: https://reviews.freebsd.org/D55892