diff --git a/science/py-GPy/Makefile b/science/py-GPy/Makefile index 5723cfcdd4a8..06f3c95f19ea 100644 --- a/science/py-GPy/Makefile +++ b/science/py-GPy/Makefile @@ -1,28 +1,37 @@ PORTNAME= GPy -DISTVERSION= 1.10.0 -PORTREVISION= 1 +DISTVERSION= 1.13.1 CATEGORIES= science python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Gaussian process toolbox WWW= https://sheffieldml.github.io/GPy/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.3.0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}paramz>=0.9.0:science/py-paramz@${PY_FLAVOR} USES= localbase python -USE_PYTHON= distutils autoplist +USE_PYTHON= distutils autoplist pytest # 12 tests fail see https://github.com/SheffieldML/GPy/issues/1075 + +POST_PLIST= fix-plist + +post-install: + @${STRIP_CMD} \ + ${STAGEDIR}${PYTHON_SITELIBDIR}/GPy/*/*${PYTHON_EXT_SUFFIX}.so \ + ${STAGEDIR}${PYTHON_SITELIBDIR}/GPy/*/*/*${PYTHON_EXT_SUFFIX}.so + +fix-plist: # workaroud for /usr/ports/science/py-GPy/work-py311/.PLIST.mktmp + @${REINPLACE_CMD} -e "s|.*__pycache__/mpi_test__.*$$||" ${TMPPLIST} .include diff --git a/science/py-GPy/distinfo b/science/py-GPy/distinfo index 1ff3a937881b..1fe9cfe2b67a 100644 --- a/science/py-GPy/distinfo +++ b/science/py-GPy/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1621666653 -SHA256 (GPy-1.10.0.tar.gz) = a2b793ef8d0ac71739e7ba1c203bc8a5afa191058b42caa617e0e29aa52aa6fb -SIZE (GPy-1.10.0.tar.gz) = 959398 +TIMESTAMP = 1717492893 +SHA256 (GPy-1.13.1.tar.gz) = 64d2edd6533b9ddcfe0585a4f401234c2e7181360d8f5bb3ce1adc2b89cfa115 +SIZE (GPy-1.13.1.tar.gz) = 1138163