git: 25533e303148 - main - math/py-libpoly: update 0.1.13 → 0.2.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 29 Nov 2025 20:50:07 UTC
The branch main has been updated by yuri:

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

commit 25533e303148f36fa90596473aa5fb6614a79d21
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-11-29 19:51:13 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-11-29 20:50:01 +0000

    math/py-libpoly: update 0.1.13 → 0.2.1
---
 math/py-libpoly/Makefile                   |  6 +-----
 math/py-libpoly/distinfo                   |  6 +++---
 math/py-libpoly/files/patch-CMakeLists.txt | 20 +++++++++++---------
 3 files changed, 15 insertions(+), 17 deletions(-)

diff --git a/math/py-libpoly/Makefile b/math/py-libpoly/Makefile
index 0a3164e63fa5..9efa08bd608d 100644
--- a/math/py-libpoly/Makefile
+++ b/math/py-libpoly/Makefile
@@ -1,13 +1,9 @@
 PORTNAME=	libpoly
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.1.13
-PORTREVISION=	1
+DISTVERSION=	0.2.1
 CATEGORIES=	math
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-PATCH_SITES=	https://github.com/SRI-CSL/libpoly/commit/
-PATCHFILES=	48f48f945111ab021bed4ad4f192f2cac0c2e84b.patch:-p1
-
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Python binding for libpoly
 WWW=		https://github.com/SRI-CSL/libpoly
diff --git a/math/py-libpoly/distinfo b/math/py-libpoly/distinfo
index e6c77d6e3e06..d25953bd1e9b 100644
--- a/math/py-libpoly/distinfo
+++ b/math/py-libpoly/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1707514827
-SHA256 (SRI-CSL-libpoly-v0.1.13_GH0.tar.gz) = ca7092eeeced3dd8bd86cdd3410207802ef1752d7052d92eee3e9e6bb496763c
-SIZE (SRI-CSL-libpoly-v0.1.13_GH0.tar.gz) = 621704
+TIMESTAMP = 1764445691
+SHA256 (SRI-CSL-libpoly-v0.2.1_GH0.tar.gz) = b662ea4d7515426aeccda090339dbb086629a2f6ba4688b7710a892f7d2c7c58
+SIZE (SRI-CSL-libpoly-v0.2.1_GH0.tar.gz) = 629599
 SHA256 (48f48f945111ab021bed4ad4f192f2cac0c2e84b.patch) = 6ea0843a890445bf54b267111bf6515ba8931f72b8d2dd509bdf4d171f3be692
 SIZE (48f48f945111ab021bed4ad4f192f2cac0c2e84b.patch) = 2511
diff --git a/math/py-libpoly/files/patch-CMakeLists.txt b/math/py-libpoly/files/patch-CMakeLists.txt
index d2ba6e85d001..2080180203fd 100644
--- a/math/py-libpoly/files/patch-CMakeLists.txt
+++ b/math/py-libpoly/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig	2021-04-12 16:09:58 UTC
+--- CMakeLists.txt.orig	2025-11-28 09:04:30 UTC
 +++ CMakeLists.txt
-@@ -58,7 +58,7 @@ if(HAVE_OPEN_MEMSTREAM)
+@@ -61,7 +61,7 @@ endif()
  endif()
  
  # Configure the library source
@@ -9,17 +9,19 @@
  
  # Configure the headers
  add_subdirectory(include)
-@@ -72,11 +72,11 @@ if(LIBPOLY_BUILD_PYTHON_API)
+@@ -71,13 +71,13 @@ if(LIBPOLY_BUILD_PYTHON_API)
+   # Configure the Python bindings
    add_subdirectory(python)
- 
    # Configure the Python tests
 -  add_subdirectory(test/python)
 +  #add_subdirectory(test/python)
- 
  endif()
  
- # Configure the C++ tests
- enable_testing()
--add_subdirectory(test/polyxx)
-+#add_subdirectory(test/polyxx)
+ if (BUILD_TESTING)
+   # Configure the C++ tests
+   enable_testing()
+   add_subdirectory(test/poly)
+-  add_subdirectory(test/polyxx)
++  #add_subdirectory(test/polyxx)
+ endif()