git: f2ee14b6e9f4 - main - devel/py-pysimdjson: Update to 5.0.2 and fix build with python-3.11

From: Wen Heping <wen_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 13:03:46 UTC
The branch main has been updated by wen:

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

commit f2ee14b6e9f4968ced5f89847c300239889d8d5f
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-01-22 13:01:39 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-01-22 13:03:12 +0000

    devel/py-pysimdjson: Update to 5.0.2 and fix build with python-3.11
    
    PR:             275494
    Approved by:    portmgr(blanket, fix build)
---
 devel/py-pysimdjson/Makefile                        |  2 +-
 devel/py-pysimdjson/distinfo                        |  6 +++---
 devel/py-pysimdjson/files/patch-simdjson_simdjson.h | 20 --------------------
 3 files changed, 4 insertions(+), 24 deletions(-)

diff --git a/devel/py-pysimdjson/Makefile b/devel/py-pysimdjson/Makefile
index d765b5df2166..df63bc613bd8 100644
--- a/devel/py-pysimdjson/Makefile
+++ b/devel/py-pysimdjson/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pysimdjson
-PORTVERSION=	4.0.3
+PORTVERSION=	5.0.2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-pysimdjson/distinfo b/devel/py-pysimdjson/distinfo
index 24cfb31d42a9..1e22bb19dfda 100644
--- a/devel/py-pysimdjson/distinfo
+++ b/devel/py-pysimdjson/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1647704832
-SHA256 (pysimdjson-4.0.3.tar.gz) = 61900992d7f992b073a8c5f93cafa4af9bfd3209624baa775699b0fdd6f67517
-SIZE (pysimdjson-4.0.3.tar.gz) = 498417
+TIMESTAMP = 1705927913
+SHA256 (pysimdjson-5.0.2.tar.gz) = 83010f07f9ca38e4557b61860acfeb0a897b416f06f73182ffaffa94bdb7394d
+SIZE (pysimdjson-5.0.2.tar.gz) = 547774
diff --git a/devel/py-pysimdjson/files/patch-simdjson_simdjson.h b/devel/py-pysimdjson/files/patch-simdjson_simdjson.h
deleted file mode 100644
index 017a1371519b..000000000000
--- a/devel/py-pysimdjson/files/patch-simdjson_simdjson.h
+++ /dev/null
@@ -1,20 +0,0 @@
---- simdjson/simdjson.h.orig	2022-04-21 05:39:10 UTC
-+++ simdjson/simdjson.h
-@@ -17200,7 +17200,7 @@ simdjson_unused simdjson_warn_unused simdjson_really_i
- #ifndef SIMDJSON_PPC64_NUMBERPARSING_H
- #define SIMDJSON_PPC64_NUMBERPARSING_H
- 
--#include <byteswap.h>
-+#include <sys/endian.h>
- 
- namespace simdjson {
- namespace ppc64 {
-@@ -17213,7 +17213,7 @@ parse_eight_digits_unrolled(const uint8_t *chars) {
-   uint64_t val;
-   std::memcpy(&val, chars, sizeof(uint64_t));
- #ifdef __BIG_ENDIAN__
--  val = bswap_64(val);
-+  val = bswap64(val);
- #endif
-   val = (val & 0x0F0F0F0F0F0F0F0F) * 2561 >> 8;
-   val = (val & 0x00FF00FF00FF00FF) * 6553601 >> 16;