Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2023 15:52:41 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: 20e55e0cf2b7 - main - =?utf-8?Q?math/py-openTSNE:=20Update=200.6.2=20=E2=86=92=200.7.1?=
Message-ID:  <202302221552.31MFqf1E042497@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=20e55e0cf2b75fa0988ae31c9814d1b8844a5428

commit 20e55e0cf2b75fa0988ae31c9814d1b8844a5428
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-02-22 15:52:29 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-02-22 15:52:37 +0000

    math/py-openTSNE: Update 0.6.2 → 0.7.1
    
    Reported by:    portscout
---
 math/py-openTSNE/Makefile                   | 10 +++++++---
 math/py-openTSNE/distinfo                   |  6 +++---
 math/py-openTSNE/files/patch-pyproject.toml |  7 +++++++
 3 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/math/py-openTSNE/Makefile b/math/py-openTSNE/Makefile
index ff46d96d228c..81fd2996276a 100644
--- a/math/py-openTSNE/Makefile
+++ b/math/py-openTSNE/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	openTSNE
-DISTVERSION=	0.6.2
+DISTVERSION=	0.7.1
 CATEGORIES=	math python # statistics
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,14 +10,18 @@ WWW=		https://github.com/pavlin-policar/openTSNE
 
 LICENSE=	BSD3CLAUSE
 
-BUILD_DEPENDS=	${PYNUMPY}
+BUILD_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 LIB_DEPENDS=	libfftw3.so:math/fftw3
 RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.20:science/py-scikit-learn@${PY_FLAVOR}
 
 USES=		compiler:c++14-lang localbase:ldflags python:3.6+
-USE_PYTHON=	distutils cython autoplist
+USE_PYTHON=	pep517 cython autoplist pytest # tests fail to run, see https://github.com/pavlin-policar/openTSNE/issues/237
+
+TEST_WRKSRC=	${WRKSRC}/tests
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
 post-install:
 	@${FIND} ${STAGEDIR}${PREFIX} -name "*.so" | ${XARGS} ${STRIP_CMD}
diff --git a/math/py-openTSNE/distinfo b/math/py-openTSNE/distinfo
index c5a4fff04c2c..ecc942e112e0 100644
--- a/math/py-openTSNE/distinfo
+++ b/math/py-openTSNE/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1650683874
-SHA256 (openTSNE-0.6.2.tar.gz) = 92ea18afd4e34df8fb536c813c36533de892d96511f6683721003398b4fcf2e9
-SIZE (openTSNE-0.6.2.tar.gz) = 796914
+TIMESTAMP = 1677079870
+SHA256 (openTSNE-0.7.1.tar.gz) = ff7cdd6982fef2b88fc758f571b32f25bf595e6ddbe406db6d3b40bf5242af5a
+SIZE (openTSNE-0.7.1.tar.gz) = 815425
diff --git a/math/py-openTSNE/files/patch-pyproject.toml b/math/py-openTSNE/files/patch-pyproject.toml
new file mode 100644
index 000000000000..fb36163b013f
--- /dev/null
+++ b/math/py-openTSNE/files/patch-pyproject.toml
@@ -0,0 +1,7 @@
+--- pyproject.toml.orig	2023-02-22 15:31:53 UTC
++++ pyproject.toml
+@@ -1,3 +1,3 @@
+ [build-system]
+-requires = ["setuptools", "wheel", "cython", "oldest-supported-numpy"]
++requires = ["setuptools", "wheel", "cython", "numpy"]
+ build-backend = "setuptools.build_meta"



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