diff --git a/math/py-pytensor/Makefile b/math/py-pytensor/Makefile index a19e888b34da..504345d91a30 100644 --- a/math/py-pytensor/Makefile +++ b/math/py-pytensor/Makefile @@ -1,38 +1,38 @@ PORTNAME= pytensor -DISTVERSION= 2.12.3 +DISTVERSION= 2.13.0 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Optimizing compiler for evaluating mathematical expressions WWW= https://pytensor.readthedocs.io/en/latest/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/doc/LICENSE.txt PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cons>0:devel/py-cons@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}etuples>=0:devel/py-etuples@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}etuples>0:devel/py-etuples@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}filelock>0:sysutils/py-filelock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}logical-unification>0:math/py-logical-unification@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}miniKanren>0:devel/py-miniKanren@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.14:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=48.0.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}versioneer>0:devel/py-versioneer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} USES= python shebangfix USE_PYTHON= pep517 cython autoplist pytest # tests fail to run, see https://github.com/pymc-devs/pytensor/issues/355 SHEBANG_FILES= bin/pytensor-cache post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pytensor/scan/scan_perform${PYTHON_EXT_SUFFIX}.so # BUG: installs the file /usr/local/lib/python3.9/site-packages/bin/__init__.py, see https://github.com/pymc-devs/pytensor/issues/356 .include diff --git a/math/py-pytensor/distinfo b/math/py-pytensor/distinfo index 62649951e54b..0c144761ca8f 100644 --- a/math/py-pytensor/distinfo +++ b/math/py-pytensor/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1687312397 -SHA256 (pytensor-2.12.3.tar.gz) = fa82d29ef0594e0a2751eaad40882dcd6af51333c28be0d79c1d0de9f3a81a86 -SIZE (pytensor-2.12.3.tar.gz) = 3526391 +TIMESTAMP = 1689402915 +SHA256 (pytensor-2.13.0.tar.gz) = 0e3353a83217bc74935ee30e38d0e0da3a942d0838717ff375295a49ce23692d +SIZE (pytensor-2.13.0.tar.gz) = 3528611 diff --git a/math/py-pytensor/files/patch-pyproject.toml b/math/py-pytensor/files/patch-pyproject.toml new file mode 100644 index 000000000000..21bbddc17c9e --- /dev/null +++ b/math/py-pytensor/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2023-07-15 06:36:08 UTC ++++ pyproject.toml +@@ -3,7 +3,7 @@ requires = [ + "setuptools>=48.0.0", + "cython", + "numpy>=1.17.0", +- "versioneer[toml]==0.28", ++ "versioneer[toml]", + ] + build-backend = "setuptools.build_meta" +