summaryrefslogtreecommitdiff
path: root/math/py-openTSNE/Makefile
blob: e4202d4bef039319cc77bb901f827328de9f7242 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

PORTNAME=	openTSNE
DISTVERSION=	0.5.1
CATEGORIES=	math python # statistics
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Fast, parallel implementations of t-SNE

LICENSE=	BSD3CLAUSE

BUILD_DEPENDS=	${PYNUMPY}
LIB_DEPENDS=	libfftw3.so:math/fftw3
RUN_DEPENDS=	${PYNUMPY} \
		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.20.0:science/py-scikit-learn@${PY_FLAVOR}

USES=		compiler:c++14-lang localbase:ldflags python:3.6+
USE_PYTHON=	distutils autoplist

post-install:
	@${FIND} ${STAGEDIR}${PREFIX} -name "*.so" | ${XARGS} ${STRIP_CMD}

.include <bsd.port.mk>