git: 5464748e749c - main - devel/py-librt: Update to 0.8.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Mar 2026 18:23:31 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5464748e749cc52973f3557400cae4beaf9b9f88
commit 5464748e749cc52973f3557400cae4beaf9b9f88
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-03-09 17:57:26 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-03-09 18:18:47 +0000
devel/py-librt: Update to 0.8.0
Changes: https://github.com/python/mypy/commits/master/mypyc/lib-rt
---
devel/py-librt/Makefile | 3 ++-
devel/py-librt/distinfo | 6 +++---
devel/py-librt/files/patch-setup.py | 12 +++++++-----
3 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/devel/py-librt/Makefile b/devel/py-librt/Makefile
index 86e41990f733..01b38055f244 100644
--- a/devel/py-librt/Makefile
+++ b/devel/py-librt/Makefile
@@ -1,5 +1,5 @@
PORTNAME= librt
-PORTVERSION= 0.7.8
+PORTVERSION= 0.8.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -21,6 +21,7 @@ USE_PYTHON= autoplist concurrent pep517
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
+ @${MV} ${WRKSRC}/base64/librt_base64.* ${WRKSRC}
# Clean up bundled libraries
@${RM} -r ${WRKSRC}/base64/
diff --git a/devel/py-librt/distinfo b/devel/py-librt/distinfo
index 1527feb031e7..ee1f24f4bb0a 100644
--- a/devel/py-librt/distinfo
+++ b/devel/py-librt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1769874318
-SHA256 (librt-0.7.8.tar.gz) = 1a4ede613941d9c3470b0368be851df6bb78ab218635512d0370b27a277a0862
-SIZE (librt-0.7.8.tar.gz) = 148323
+TIMESTAMP = 1771421594
+SHA256 (librt-0.8.0.tar.gz) = cb74cdcbc0103fc988e04e5c58b0b31e8e5dd2babb9182b6f9490488eb36324b
+SIZE (librt-0.8.0.tar.gz) = 177306
diff --git a/devel/py-librt/files/patch-setup.py b/devel/py-librt/files/patch-setup.py
index 72ec7c17251a..76acb903b104 100644
--- a/devel/py-librt/files/patch-setup.py
+++ b/devel/py-librt/files/patch-setup.py
@@ -1,9 +1,10 @@
---- setup.py.orig 2025-12-05 21:07:15 UTC
+--- setup.py.orig 2026-02-12 14:20:47 UTC
+++ setup.py
-@@ -116,21 +116,11 @@ else:
+@@ -115,22 +115,12 @@ else:
+ Extension(
"librt.base64",
[
- "librt_base64.c",
+- "base64/librt_base64.c",
- "base64/lib.c",
- "base64/codec_choose.c",
- "base64/tables/tables.c",
@@ -16,6 +17,7 @@
- "base64/arch/avx512/codec.c",
- "base64/arch/neon32/codec.c",
- "base64/arch/neon64/codec.c",
++ "librt_base64.c",
],
- include_dirs=[".", "base64"],
+ include_dirs=[".", "%%LOCALBASE%%/include"],
@@ -23,5 +25,5 @@
+ library_dirs = ["%%LOCALBASE%%/lib"],
+ libraries=["base64"],
),
- ]
- )
+ Extension(
+ "librt.vecs",