Skip to content

Commit

Permalink
math/py-openTSNE: Update 0.6.2 → 0.7.1
Browse files Browse the repository at this point in the history
Reported by:	portscout
  • Loading branch information
yurivict committed Feb 22, 2023
1 parent 4e1d800 commit 20e55e0
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
10 changes: 7 additions & 3 deletions 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}
Expand All @@ -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}
Expand Down
6 changes: 3 additions & 3 deletions 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
7 changes: 7 additions & 0 deletions 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"

0 comments on commit 20e55e0

Please sign in to comment.