git: faf28601af95 - main - devel/py-types-protobuf: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 12 Aug 2025 18:18:13 UTC
The branch main has been updated by sunpoet:

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

commit faf28601af950aade1745026861cd86ec8501707
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-08-12 17:58:49 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-08-12 18:15:45 +0000

    devel/py-types-protobuf: Convert to USE_PYTHON=pep517
    
    - Update WWW
    - Add LICENSE_FILE
    - Update pkg-descr
    - Bump PORTREVISION for package change
    - Take maintainership
---
 devel/py-types-protobuf/Makefile  | 12 +++++++++---
 devel/py-types-protobuf/pkg-descr |  5 ++---
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/devel/py-types-protobuf/Makefile b/devel/py-types-protobuf/Makefile
index 54ae3496d681..e80f041810a7 100644
--- a/devel/py-types-protobuf/Makefile
+++ b/devel/py-types-protobuf/Makefile
@@ -1,18 +1,24 @@
 PORTNAME=	types-protobuf
 PORTVERSION=	5.29.1.20250315
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	types_protobuf-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Typing stubs for protobuf
-WWW=		https://pypi.org/project/types-protobuf/
+WWW=		https://github.com/python/typeshed/tree/main/stubs/protobuf
 
 LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist concurrent pep517
+
 NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/devel/py-types-protobuf/pkg-descr b/devel/py-types-protobuf/pkg-descr
index 81ea0fe0c7b0..42347e850fa1 100644
--- a/devel/py-types-protobuf/pkg-descr
+++ b/devel/py-types-protobuf/pkg-descr
@@ -1,3 +1,2 @@
-This is a PEP 561 type stub package for the `protobuf` package.
-It can be used by type-checking tools like mypy, PyCharm, pytype
-etc. to check code that uses `protobuf`.
+This is a PEP 561 type stub package for the protobuf package. It can be used by
+type checkers to check code that uses protobuf.