1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

math/py-openTSNE: Update 0.6.2 → 0.7.1

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2023-02-22 07:52:29 -08:00
parent 4e1d80040b
commit 20e55e0cf2
3 changed files with 17 additions and 6 deletions

View File

@ -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}

View File

@ -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

View File

@ -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"