Commit 8660a3a6 authored by amdmi3's avatar amdmi3
Browse files

- Add LICENSE

- Pet portlint
- Strip library
- Regenerate patches with `make makepatch`
- Fix WWW:
parent 0785881f
......@@ -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>
--- 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)):
......
......@@ -11,4 +11,4 @@ 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://code.google.com/p/scipy-cluster/
WWW: http://code.google.com/p/scipy-cluster/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment