diff --git a/math/py-libpoly/Makefile b/math/py-libpoly/Makefile index 393c258fa797..2d2998e3c437 100644 --- a/math/py-libpoly/Makefile +++ b/math/py-libpoly/Makefile @@ -1,39 +1,40 @@ PORTNAME= libpoly DISTVERSIONPREFIX= v DISTVERSION= 0.1.13 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 -BROKEN_i386= compilation fails with error: incompatible function pointer types, see https://github.com/SRI-CSL/libpoly/issues/70 - 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 e330d9e2086b..e6c77d6e3e06 100644 --- a/math/py-libpoly/distinfo +++ b/math/py-libpoly/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1690956795 +TIMESTAMP = 1707514827 SHA256 (SRI-CSL-libpoly-v0.1.13_GH0.tar.gz) = ca7092eeeced3dd8bd86cdd3410207802ef1752d7052d92eee3e9e6bb496763c SIZE (SRI-CSL-libpoly-v0.1.13_GH0.tar.gz) = 621704 +SHA256 (48f48f945111ab021bed4ad4f192f2cac0c2e84b.patch) = 6ea0843a890445bf54b267111bf6515ba8931f72b8d2dd509bdf4d171f3be692 +SIZE (48f48f945111ab021bed4ad4f192f2cac0c2e84b.patch) = 2511