From owner-svn-ports-all@freebsd.org Mon Sep 14 12:20:12 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B1729CA5F0; Mon, 14 Sep 2015 12:20:12 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 173851892; Mon, 14 Sep 2015 12:20:12 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8ECKBOS051429; Mon, 14 Sep 2015 12:20:11 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8ECKAXM051379; Mon, 14 Sep 2015 12:20:10 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201509141220.t8ECKAXM051379@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 14 Sep 2015 12:20:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396895 - in head/science/py-hcluster: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2015 12:20:12 -0000 Author: amdmi3 Date: Mon Sep 14 12:20:09 2015 New Revision: 396895 URL: https://svnweb.freebsd.org/changeset/ports/396895 Log: - Add LICENSE - Pet portlint - Strip library - Regenerate patches with `make makepatch` - Fix WWW: Modified: head/science/py-hcluster/Makefile head/science/py-hcluster/files/patch-setup.py head/science/py-hcluster/pkg-descr Modified: head/science/py-hcluster/Makefile ============================================================================== --- head/science/py-hcluster/Makefile Mon Sep 14 12:20:07 2015 (r396894) +++ head/science/py-hcluster/Makefile Mon Sep 14 12:20:09 2015 (r396895) @@ -3,7 +3,7 @@ PORTNAME= hcluster PORTVERSION= 0.2.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,11 +11,18 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Hierarchical Clustering Package For Scipy +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + BUILD_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:${PORTSDIR}/math/py-matplotlib RUN_DEPENDS:= ${BUILD_DEPENDS} USES= python -USE_PYTHON= distutils autoplist +USE_PYTHON= autoplist distutils + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_hierarchy_wrap.so + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_distance_wrap.so .include Modified: head/science/py-hcluster/files/patch-setup.py ============================================================================== --- head/science/py-hcluster/files/patch-setup.py Mon Sep 14 12:20:07 2015 (r396894) +++ head/science/py-hcluster/files/patch-setup.py Mon Sep 14 12:20:09 2015 (r396895) @@ -1,6 +1,6 @@ ---- setup.py.orig 2008-12-14 21:42:50.000000000 +0800 -+++ setup.py 2008-12-14 21:43:35.000000000 +0800 -@@ -33,7 +33,8 @@ +--- setup.py.orig 2008-12-14 09:19:42 UTC ++++ setup.py +@@ -33,7 +33,8 @@ if len(valid_paths) > 1: print string.join(l, '\n') # Prompt the user with a list of selections. while not (s >= 1 and s <= len(valid_paths)): Modified: head/science/py-hcluster/pkg-descr ============================================================================== --- head/science/py-hcluster/pkg-descr Mon Sep 14 12:20:07 2015 (r396894) +++ head/science/py-hcluster/pkg-descr Mon Sep 14 12:20:09 2015 (r396895) @@ -11,4 +11,4 @@ Toolbox API to make code easier to port Python/Numpy. The core implementation of this library is in C for efficiency. -WWW: http://code.google.com/p/scipy-cluster/ +WWW: http://code.google.com/p/scipy-cluster/