git: 4fdffea32456 - main - devel/py-protobuf: Update to 4.25.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Nov 2023 17:19:39 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=4fdffea324568ce4df727b1b55e37e73977cf958 commit 4fdffea324568ce4df727b1b55e37e73977cf958 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-11-14 16:40:32 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-11-14 17:15:54 +0000 devel/py-protobuf: Update to 4.25.0 Changes: https://github.com/protocolbuffers/protobuf/releases --- devel/py-protobuf/Makefile | 2 +- devel/py-protobuf/distinfo | 6 +++--- devel/py-protobuf/files/patch-clang16 | 23 ----------------------- 3 files changed, 4 insertions(+), 27 deletions(-) diff --git a/devel/py-protobuf/Makefile b/devel/py-protobuf/Makefile index 931f5f1e1e2a..89ffccd604ca 100644 --- a/devel/py-protobuf/Makefile +++ b/devel/py-protobuf/Makefile @@ -1,5 +1,5 @@ PORTNAME= protobuf -PORTVERSION= 4.24.4 +PORTVERSION= 4.25.0 PORTEPOCH= 1 CATEGORIES= devel python MASTER_SITES= PYPI diff --git a/devel/py-protobuf/distinfo b/devel/py-protobuf/distinfo index 20652a2f2898..39aa3b85d710 100644 --- a/devel/py-protobuf/distinfo +++ b/devel/py-protobuf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1696753660 -SHA256 (protobuf-4.24.4.tar.gz) = 5a70731910cd9104762161719c3d883c960151eea077134458503723b60e3667 -SIZE (protobuf-4.24.4.tar.gz) = 383850 +TIMESTAMP = 1699774626 +SHA256 (protobuf-4.25.0.tar.gz) = 68f7caf0d4f012fd194a301420cf6aa258366144d814f358c5b32558228afa7c +SIZE (protobuf-4.25.0.tar.gz) = 380020 diff --git a/devel/py-protobuf/files/patch-clang16 b/devel/py-protobuf/files/patch-clang16 deleted file mode 100644 index 87b64d4d2354..000000000000 --- a/devel/py-protobuf/files/patch-clang16 +++ /dev/null @@ -1,23 +0,0 @@ ---- python/message.c.orig 2000-01-01 00:00:00 UTC -+++ python/message.c -@@ -1235,7 +1235,7 @@ static PyObject* PyUpb_Message_CopyFrom(PyObject* _sel - Py_DECREF(tmp); - - upb_Message_DeepCopy(self->ptr.msg, other->ptr.msg, -- upb_MessageDef_MiniTable(other->def), -+ upb_MessageDef_MiniTable((upb_MessageDef *) other->def), - PyUpb_Arena_Get(self->arena)); - PyUpb_Message_SyncSubobjs(self); - -@@ -1606,9 +1606,9 @@ PyObject* DeepCopy(PyObject* _self, PyObject* arg) { - - PyObject* arena = PyUpb_Arena_New(); - upb_Message* clone = -- upb_Message_DeepClone(self->ptr.msg, upb_MessageDef_MiniTable(self->def), -+ upb_Message_DeepClone(self->ptr.msg, upb_MessageDef_MiniTable((upb_MessageDef *) self->def), - PyUpb_Arena_Get(arena)); -- PyObject* ret = PyUpb_Message_Get(clone, self->def, arena); -+ PyObject* ret = PyUpb_Message_Get(clone, (upb_MessageDef *) self->def, arena); - Py_DECREF(arena); - - return ret;