freebsd-ports/math/py-fastcluster/Makefile
William Grzybowski 6afaa267f3 math/py-fastcluster: Python functions for hierarchical clustering
Fastcluster provides Python functions for hierarchical clustering. It generates
hierarchical clusters from distance matrices or from vector data.

Part of this module is intended to replace the functions
    linkage, single, complete, average, weighted, centroid, median, ward
in the module scipy.cluster.hierarchy with the same functionality but much
faster algorithms. Moreover, the function 'linkage_vector' provides
memory-efficient clustering for vector data.

The interface is very similar to MATLAB's Statistics Toolbox API to make code
easier to port from MATLAB to Python/Numpy. The core implementation of this
library is in C++ for efficiency.

WWW: http://danifold.net/fastcluster.html

PR:		ports/184931
Submitted by:	Johannes Jost Meixner <xmj chaot.net>
2013-12-18 11:12:40 +00:00

32 lines
679 B
Makefile

# Created by: Johannes Meixner <xmj@chaot.net>
# $FreeBSD$
PORTNAME= fastcluster
PORTVERSION= 1.1.13
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= xmj@chaot.net
COMMENT= Python functions for hierarchical clustering
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scipy>0:${PORTSDIR}/science/py-scipy
PORTDOCS= CITATION.txt \
INSTALL.txt \
NEWS.txt \
README.txt
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>