Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2018 05:33:33 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462923 - head/math/py-fastcluster
Message-ID:  <201802250533.w1P5XXdf065806@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Feb 25 05:33:33 2018
New Revision: 462923
URL: https://svnweb.freebsd.org/changeset/ports/462923

Log:
  Update to 1.1.24
  
  - Update COMMENT
  - Add LICENSE_FILE
  - Add missing OPTIONS_DEFINE=DOCS
  - Strip shared library
  - Convert to options target helper
  - Add PyPI and GitHub repository to WWW
  - Take maintainership
  
  Changes:	https://github.com/dmuellner/fastcluster
  		https://github.com/dmuellner/fastcluster/blob/master/NEWS.txt

Modified:
  head/math/py-fastcluster/Makefile
  head/math/py-fastcluster/distinfo
  head/math/py-fastcluster/pkg-descr

Modified: head/math/py-fastcluster/Makefile
==============================================================================
--- head/math/py-fastcluster/Makefile	Sun Feb 25 05:33:28 2018	(r462922)
+++ head/math/py-fastcluster/Makefile	Sun Feb 25 05:33:33 2018	(r462923)
@@ -2,30 +2,33 @@
 # $FreeBSD$
 
 PORTNAME=	fastcluster
-PORTVERSION=	1.1.23
+PORTVERSION=	1.1.24
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Python functions for hierarchical clustering
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Fast hierarchical clustering routines for R and Python
 
 LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING.txt
 
 BUILD_DEPENDS=	${PYNUMPY}
 RUN_DEPENDS=	${PYNUMPY} \
-		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${FLAVOR}
 
-PORTDOCS=	CITATION.txt \
-		INSTALL.txt \
-		NEWS.txt \
-		README.txt
-
 USES=		python
-USE_PYTHON=	distutils autoplist concurrent
+USE_PYTHON=	autoplist concurrent distutils
 
+PORTDOCS=	CITATION.txt INSTALL.txt NEWS.txt README.txt
+
+OPTIONS_DEFINE=	DOCS
+
 post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_fastcluster.so
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/math/py-fastcluster/distinfo
==============================================================================
--- head/math/py-fastcluster/distinfo	Sun Feb 25 05:33:28 2018	(r462922)
+++ head/math/py-fastcluster/distinfo	Sun Feb 25 05:33:33 2018	(r462923)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1495026276
-SHA256 (fastcluster-1.1.23.tar.gz) = dfcd192d4cd53cd0db27f9d86dc3c49d3a15e6114ff875428c367b8bd679e318
-SIZE (fastcluster-1.1.23.tar.gz) = 163512
+TIMESTAMP = 1519504273
+SHA256 (fastcluster-1.1.24.tar.gz) = a5d1922b1db6f4c3012416e7dc14de2984b9335a48c895e1698afd5c718312b0
+SIZE (fastcluster-1.1.24.tar.gz) = 166081

Modified: head/math/py-fastcluster/pkg-descr
==============================================================================
--- head/math/py-fastcluster/pkg-descr	Sun Feb 25 05:33:28 2018	(r462922)
+++ head/math/py-fastcluster/pkg-descr	Sun Feb 25 05:33:33 2018	(r462923)
@@ -1,14 +1,16 @@
-Fastcluster provides Python functions for hierarchical clustering. It generates
+This library 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.
+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
+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
+WWW: https://pypi.python.org/pypi/fastcluster
+WWW: https://github.com/dmuellner/fastcluster



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