From owner-svn-ports-head@freebsd.org Sun Feb 25 05:33:34 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AAC28F07648; Sun, 25 Feb 2018 05:33:34 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C7E96BDDE; Sun, 25 Feb 2018 05:33:34 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2687B797; Sun, 25 Feb 2018 05:33:34 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1P5XXsY065809; Sun, 25 Feb 2018 05:33:33 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1P5XXdf065806; Sun, 25 Feb 2018 05:33:33 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201802250533.w1P5XXdf065806@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 25 Feb 2018 05:33:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462923 - head/math/py-fastcluster X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/math/py-fastcluster X-SVN-Commit-Revision: 462923 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2018 05:33:34 -0000 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 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