aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-03-22 03:06:36 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-03-22 03:37:17 +0000
commit7554e18da9d7f4ba3e12b856b1ee6b6de8380c2d (patch)
tree51b5ced7c4cd4e2e3d89319be5e7a478e48da2d2
parent4a4d73df46dfd90274e3b129fd00b35fb4d087ae (diff)
downloadports-7554e18da9d7f4ba3e12b856b1ee6b6de8380c2d.tar.gz
ports-7554e18da9d7f4ba3e12b856b1ee6b6de8380c2d.zip
math/py-symengine: Update 0.9.2 → 0.9.2-59
Reported by: portscout
-rw-r--r--math/py-symengine/Makefile18
-rw-r--r--math/py-symengine/distinfo6
2 files changed, 17 insertions, 7 deletions
diff --git a/math/py-symengine/Makefile b/math/py-symengine/Makefile
index 46cde45d38a4..19368b61a7ae 100644
--- a/math/py-symengine/Makefile
+++ b/math/py-symengine/Makefile
@@ -1,8 +1,9 @@
PORTNAME= symengine
-DISTVERSION= 0.9.2
-PORTREVISION= 1
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.9.2-59
+DISTVERSIONSUFFIX= -gdc2daf8
CATEGORIES= math python
-MASTER_SITES= PYPI
+#MASTER_SITES= PYPI # latest release isn't compatible with math/symengine
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
@@ -12,12 +13,21 @@ WWW= https://symengine.org/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libsymengine.so:math/symengine
+LIB_DEPENDS= libarb.so:math/arb \
+ libecm.so:math/gmp-ecm \
+ libflint.so:math/flint2 \
+ libgmp.so:math/gmp \
+ libmpc.so:math/mpc \
+ libmpfr.so:math/mpfr \
+ libsymengine.so:math/symengine
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR} # see https://github.com/symengine/symengine.py/issues/416
USES= cmake compiler:c++11-lang python:3.7+
USE_PYTHON= cython flavors pytest
+USE_GITHUB= yes
+GH_PROJECT= symengine.py
+
BINARY_ALIAS= python=${PYTHON_CMD} # cmake scripts expect python executable
# cmake scripts copy build type and flags from math/symengine, and ignore all local variables of that kind
diff --git a/math/py-symengine/distinfo b/math/py-symengine/distinfo
index b97b5919035f..032f46b5a81a 100644
--- a/math/py-symengine/distinfo
+++ b/math/py-symengine/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1659204731
-SHA256 (symengine-0.9.2.tar.gz) = 0f7e45f5bba3fa844f7de7aa8d6640faaacb1075df76d8e4996e82b0ec6a4f62
-SIZE (symengine-0.9.2.tar.gz) = 85406
+TIMESTAMP = 1679453285
+SHA256 (symengine-symengine.py-v0.9.2-59-gdc2daf8_GH0.tar.gz) = 31c3d506ecf871a7966cbcb3de89388d5ec8149f10c2116555b0f9ea5e2bd42b
+SIZE (symengine-symengine.py-v0.9.2-59-gdc2daf8_GH0.tar.gz) = 112129