Date: Mon, 14 Sep 2015 12:20:10 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> 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 Message-ID: <201509141220.t8ECKAXM051379@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509141220.t8ECKAXM051379>