Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 2024 02:29:52 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ca640e7c8000 - main - science/py-GPy: update 1.10.0 =?utf-8?Q?=E2=86=92?= 1.13.1
Message-ID:  <202406050229.4552TqB4016313@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ca640e7c800061d5c966f4970e6dda37804cf650

commit ca640e7c800061d5c966f4970e6dda37804cf650
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-06-05 02:25:17 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-06-05 02:29:46 +0000

    science/py-GPy: update 1.10.0 → 1.13.1
---
 science/py-GPy/Makefile | 15 ++++++++++++---
 science/py-GPy/distinfo |  6 +++---
 2 files changed, 15 insertions(+), 6 deletions(-)

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,6 +1,5 @@
 PORTNAME=	GPy
-DISTVERSION=	1.10.0
-PORTREVISION=	1
+DISTVERSION=	1.13.1
 CATEGORIES=	science python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -23,6 +22,16 @@ RUN_DEPENDS=	${PYNUMPY} \
 		${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 <bsd.port.mk>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406050229.4552TqB4016313>