git: 87b6c08fc0cf - main - devel/py-protobuf: Update to 4.22.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 27 Apr 2023 15:52:32 UTC
The branch main has been updated by sunpoet:

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

commit 87b6c08fc0cf9f622efbd10aa19cbe0869b380a7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-27 15:45:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-27 15:45:41 +0000

    devel/py-protobuf: Update to 4.22.3
    
    - Update WWW
    
    Changes:        https://github.com/protocolbuffers/protobuf/releases
---
 devel/py-protobuf/Makefile | 14 +++++++-------
 devel/py-protobuf/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/devel/py-protobuf/Makefile b/devel/py-protobuf/Makefile
index d511b124a977..b759240befac 100644
--- a/devel/py-protobuf/Makefile
+++ b/devel/py-protobuf/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	protobuf
-PORTVERSION=	4.21.12
+PORTVERSION=	4.22.3
 PORTEPOCH=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
@@ -7,18 +7,18 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Google protobuf Python Client Library
-WWW=		https://github.com/protocolbuffers/protobuf
+WWW=		https://protobuf.dev/ \
+		https://github.com/protocolbuffers/protobuf \
+		https://github.com/protocolbuffers/protobuf/tree/main/python
 
 LICENSE=	BSD3CLAUSE
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-BUILD_DEPENDS=	protoc:devel/protobuf
 
 USES=		cpe python:3.7+
 USE_PYTHON=	autoplist concurrent distutils
 
-NO_ARCH=	yes
-
 CPE_VENDOR=	google
 
+post-install:
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
+
 .include <bsd.port.mk>
diff --git a/devel/py-protobuf/distinfo b/devel/py-protobuf/distinfo
index 7ce8dd35c1d9..4644bff4ef80 100644
--- a/devel/py-protobuf/distinfo
+++ b/devel/py-protobuf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674589584
-SHA256 (protobuf-4.21.12.tar.gz) = 7cd532c4566d0e6feafecc1059d04c7915aec8e182d1cf7adee8b24ef1e2e6ab
-SIZE (protobuf-4.21.12.tar.gz) = 220324
+TIMESTAMP = 1682354476
+SHA256 (protobuf-4.22.3.tar.gz) = 23452f2fdea754a8251d0fc88c0317735ae47217e0d27bf330a30eec2848811a
+SIZE (protobuf-4.22.3.tar.gz) = 388844