From 20e55e0cf2b75fa0988ae31c9814d1b8844a5428 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Wed, 22 Feb 2023 07:52:29 -0800 Subject: =?UTF-8?q?math/py-openTSNE:=20Update=200.6.2=20=E2=86=92=200.7.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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(-) create mode 100644 math/py-openTSNE/files/patch-pyproject.toml 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" -- cgit v1.2.3