1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Upgrade to 1.0.0-rc.13.

Release notes at <https://github.com/flatsurf/e-antic/releases/tag/1.0.0-rc.13>
This commit is contained in:
Thierry Thomas 2021-02-07 14:12:05 +00:00
parent ef51281379
commit 00fdd87ddb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=564621
4 changed files with 11 additions and 50 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= e-antic
DISTVERSION= 1.0.0-rc.12
DISTVERSION= 1.0.0-rc.13
#MASTER_SITES= https://www.labri.fr/perso/vdelecro/e-antic/
CATEGORIES= math
@ -15,6 +15,7 @@ LICENSE_COMB= dual
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
LIB_DEPENDS= libarb.so:math/arb \
libgmp.so:math/gmp \
libmpfr.so:math/mpfr \
libantic.so:math/antic \
libflint.so:math/flint2 \
libbenchmark.so:devel/benchmark \
@ -42,7 +43,7 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
TEST_TARGET= check
PLIST_SUB= VER=1.0.0rc12
PLIST_SUB= VER=1.0.0rc13
post-extract:
${CP} -R ${WRKDIR}/antic-${ANTIC_TAG}/* ${WRKSRC}/libeantic/upstream/antic/

View File

@ -1,6 +1,6 @@
TIMESTAMP = 1611416419
SHA256 (flatsurf-e-antic-1.0.0-rc.12_GH0.tar.gz) = df42a10a2381cebf401d920258db6ad2599a0e64bd4866c8b6df41128df48e28
SIZE (flatsurf-e-antic-1.0.0-rc.12_GH0.tar.gz) = 122879
TIMESTAMP = 1612694118
SHA256 (flatsurf-e-antic-1.0.0-rc.13_GH0.tar.gz) = 9ccc351e2e06236ad35c7796751872ff360a8d2125bb1316b46804e4fea989f4
SIZE (flatsurf-e-antic-1.0.0-rc.13_GH0.tar.gz) = 123263
SHA256 (catchorg-Catch2-ff349a5_GH0.tar.gz) = 45983da4c511bc6ed68e391178ead52b0b40c5e8ad7ea5f3fc8c376432d1b6b7
SIZE (catchorg-Catch2-ff349a5_GH0.tar.gz) = 655437
SHA256 (USCiLab-cereal-51cbda5_GH0.tar.gz) = efa214cfc850a4a2360baf4419b88c93be2a08b09ff5f9bac604a18498b83cfb

View File

@ -1,40 +0,0 @@
--- libeantic/src/fmpz_poly_extra/randtest_irreducible.c.orig 2021-01-21 20:23:35 UTC
+++ libeantic/src/fmpz_poly_extra/randtest_irreducible.c
@@ -18,14 +18,25 @@ void fmpz_poly_randtest_irreducible(fmpz_poly_t p, fli
slong i;
fmpz_t c;
fmpz_mod_poly_t q;
+#if __FLINT_RELEASE >= 20700
+ fmpz_mod_ctx_t ctx;
+#endif
fmpz_init(c);
fmpz_randprime(c, state, bits, 0);
+#if __FLINT_RELEASE >= 20700
+ fmpz_mod_ctx_init(ctx, c);
+ fmpz_mod_poly_init(q, ctx);
+ fmpz_mod_poly_randtest_irreducible(q, state, len, ctx);
+
+ fmpz_mod_poly_get_fmpz_poly(p, q, ctx);
+#else
fmpz_mod_poly_init(q, c);
fmpz_mod_poly_randtest_irreducible(q, state, len);
fmpz_mod_poly_get_fmpz_poly(p, q);
+#endif
/* After lifting, the coefficients belong to {0, ..., c-1}. We now */
/* randomly subtract c so that some of them become negative. */
@@ -38,6 +49,11 @@ void fmpz_poly_randtest_irreducible(fmpz_poly_t p, fli
c);
}
+#if __FLINT_RELEASE >= 20700
+ fmpz_mod_poly_clear(q, ctx);
+ fmpz_mod_ctx_clear(ctx);
+#else
fmpz_mod_poly_clear(q);
+#endif
fmpz_clear(c);
}

View File

@ -16,11 +16,11 @@ lib/libeanticxx.a
lib/libeanticxx.so
lib/libeanticxx.so.1
lib/libeanticxx.so.1.0.0
%%PYTHON_SITELIBDIR%%/pyeantic-1.0.0rc12-py%%PYTHON_VER%%.egg-info/PKG-INFO
%%PYTHON_SITELIBDIR%%/pyeantic-1.0.0rc12-py%%PYTHON_VER%%.egg-info/SOURCES.txt
%%PYTHON_SITELIBDIR%%/pyeantic-1.0.0rc12-py%%PYTHON_VER%%.egg-info/dependency_links.txt
%%PYTHON_SITELIBDIR%%/pyeantic-1.0.0rc12-py%%PYTHON_VER%%.egg-info/requires.txt
%%PYTHON_SITELIBDIR%%/pyeantic-1.0.0rc12-py%%PYTHON_VER%%.egg-info/top_level.txt
%%PYTHON_SITELIBDIR%%/pyeantic-%%VER%%-py%%PYTHON_VER%%.egg-info/PKG-INFO
%%PYTHON_SITELIBDIR%%/pyeantic-%%VER%%-py%%PYTHON_VER%%.egg-info/SOURCES.txt
%%PYTHON_SITELIBDIR%%/pyeantic-%%VER%%-py%%PYTHON_VER%%.egg-info/dependency_links.txt
%%PYTHON_SITELIBDIR%%/pyeantic-%%VER%%-py%%PYTHON_VER%%.egg-info/requires.txt
%%PYTHON_SITELIBDIR%%/pyeantic-%%VER%%-py%%PYTHON_VER%%.egg-info/top_level.txt
%%PYTHON_SITELIBDIR%%/pyeantic/__init__.py
%%PYTHON_SITELIBDIR%%/pyeantic/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/pyeantic/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc