Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 2026 15:29:46 +0000
From:      Enji Cooper <ngie@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 59337d861744 - main - devel/ghpr: update to v3
Message-ID:  <69b9736a.446f5.77615a77@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by ngie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=59337d86174464d008b11fa944c101469ace99d0

commit 59337d86174464d008b11fa944c101469ace99d0
Author:     Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-03-17 06:51:40 +0000
Commit:     Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-03-17 15:29:10 +0000

    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
---
 devel/ghpr/Makefile | 16 ++++++----------
 devel/ghpr/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 13 deletions(-)

diff --git a/devel/ghpr/Makefile b/devel/ghpr/Makefile
index c05dc58c8aea..4e58c9a6c729 100644
--- a/devel/ghpr/Makefile
+++ b/devel/ghpr/Makefile
@@ -1,30 +1,26 @@
 PORTNAME=	ghpr
+PORTVERSION=	3
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2
 CATEGORIES=	devel python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	imp@FreeBSD.org
 COMMENT=	GitHub Pull Request landing tool for FreeBSD
 WWW=		https://github.com/bsdimp/ghpr
 
 LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 RUN_DEPENDS=	gh:devel/gh \
 		git:devel/git
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR}
 
-USES=		python:3.8+ shebangfix
-SHEBANG_GLOB=	*.py
-USE_PYTHON=	py3kplist
+USES=		python:3.10+
+USE_PYTHON=	autoplist concurrent pep517
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	bsdimp
 
 NO_ARCH=	yes
-NO_BUILD=	yes
-
-PLIST_FILES=	bin/ghpr
-
-do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/ghpr.py ${STAGEDIR}${PREFIX}/bin/ghpr
 
 .include <bsd.port.mk>
diff --git a/devel/ghpr/distinfo b/devel/ghpr/distinfo
index bf8982964de6..32d1829f5ae2 100644
--- a/devel/ghpr/distinfo
+++ b/devel/ghpr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1772928119
-SHA256 (bsdimp-ghpr-v2_GH0.tar.gz) = 1d519edd37d8d1feb78e408495268bda0ace8590bbaefe850733c7e1801c590c
-SIZE (bsdimp-ghpr-v2_GH0.tar.gz) = 21202
+TIMESTAMP = 1773730167
+SHA256 (bsdimp-ghpr-v3_GH0.tar.gz) = 4e3a1bcb21b01563ccb2549346d2650b617711a40450bf783388715b4b686aec
+SIZE (bsdimp-ghpr-v3_GH0.tar.gz) = 23614


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b9736a.446f5.77615a77>