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,41 +1,37 @@ 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 LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENCE LIB_DEPENDS= libpoly.so:math/libpoly USES= cmake localbase:ldflags python USE_GITHUB= yes GH_ACCOUNT= SRI-CSL USE_LDCONFIG= yes USE_PYTHON= distutils autoplist CFLAGS+= -I${WRKSRC}/include LDFLAGS+= -lpoly BUILD_WRKSRC= ${WRKSRC}/python INSTALL_WRKSRC= ${WRKSRC}/python TEST_WRKSRC= ${WRKSRC}/test/python TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/polypy*.so do-test: @cd ${WRKSRC}/test/python && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ./check.py .include 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,25 +1,27 @@ ---- 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 -add_subdirectory(src) +#add_subdirectory(src) # 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()