Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2013 11:12:40 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336815 - in head/math: . py-fastcluster
Message-ID:  <201312181112.rBIBCe6r056498@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Wed Dec 18 11:12:40 2013
New Revision: 336815
URL: http://svnweb.freebsd.org/changeset/ports/336815

Log:
  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>

Added:
  head/math/py-fastcluster/
  head/math/py-fastcluster/Makefile   (contents, props changed)
  head/math/py-fastcluster/distinfo   (contents, props changed)
  head/math/py-fastcluster/pkg-descr   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Wed Dec 18 10:46:47 2013	(r336814)
+++ head/math/Makefile	Wed Dec 18 11:12:40 2013	(r336815)
@@ -542,6 +542,7 @@
     SUBDIR += py-basemap-data
     SUBDIR += py-bitvector
     SUBDIR += py-bottleneck
+    SUBDIR += py-fastcluster
     SUBDIR += py-ffc
     SUBDIR += py-fiat
     SUBDIR += py-fpconst

Added: head/math/py-fastcluster/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-fastcluster/Makefile	Wed Dec 18 11:12:40 2013	(r336815)
@@ -0,0 +1,32 @@
+# 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>

Added: head/math/py-fastcluster/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-fastcluster/distinfo	Wed Dec 18 11:12:40 2013	(r336815)
@@ -0,0 +1,2 @@
+SHA256 (fastcluster-1.1.13.tar.gz) = abdf99d327e6e6569dc2782eaca1d6ed2ced88ab6c6b43c8e9850dae66f9648c
+SIZE (fastcluster-1.1.13.tar.gz) = 148538

Added: head/math/py-fastcluster/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-fastcluster/pkg-descr	Wed Dec 18 11:12:40 2013	(r336815)
@@ -0,0 +1,14 @@
+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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312181112.rBIBCe6r056498>