ports/129652: [Maintainer Update]science/py-hcluster:update to 0.2.0
Wen Heping
wenheping at gmail.com
Mon Dec 15 11:00:17 UTC 2008
>Number: 129652
>Category: ports
>Synopsis: [Maintainer Update]science/py-hcluster:update to 0.2.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 15 11:00:16 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Wen Heping
>Release: FreeBSD-8.0 Current
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Sep 21 18:56:51 HKT 2008 root at fb8.wenjing.com:/usr/obj/usr/src/sys/GENERIC i386
>Description:
update to 0.2.0 from 0.1.9 and add missing dependence
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -curN py-hcluster/Makefile py-hcluster.new/Makefile
--- py-hcluster/Makefile 2008-09-27 07:21:54.000000000 +0800
+++ py-hcluster.new/Makefile 2008-12-16 00:07:38.000000000 +0800
@@ -6,7 +6,7 @@
#
PORTNAME= hcluster
-PORTVERSION= 0.1.9
+PORTVERSION= 0.2.0
CATEGORIES= science python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +14,8 @@
MAINTAINER= wenheping at gmail.com
COMMENT= A Hierarchical Clustering Package For Scipy
-BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy \
+ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:${PORTSDIR}/math/py-matplotlib
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_PYTHON= yes
diff -curN py-hcluster/distinfo py-hcluster.new/distinfo
--- py-hcluster/distinfo 2008-09-27 07:21:54.000000000 +0800
+++ py-hcluster.new/distinfo 2008-12-15 21:10:30.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (hcluster-0.1.9.tar.gz) = 1d24fd81648c8b154bca37b2fa91a274
-SHA256 (hcluster-0.1.9.tar.gz) = eb24c9ae0f2c65a2c2845d84350a4660af32fa36714a4ecca11c9085ae9d9bfa
-SIZE (hcluster-0.1.9.tar.gz) = 42642
+MD5 (hcluster-0.2.0.tar.gz) = 47b439d8892a70a0a79adb58bb1f6c5b
+SHA256 (hcluster-0.2.0.tar.gz) = ce1ff67271cc1be36522ec1b144722c62ab74e48b9051a47b0f439b1eb372652
+SIZE (hcluster-0.2.0.tar.gz) = 453082
diff -curN py-hcluster/files/patch-setup.py py-hcluster.new/files/patch-setup.py
--- py-hcluster/files/patch-setup.py 2008-09-27 07:21:54.000000000 +0800
+++ py-hcluster.new/files/patch-setup.py 2008-12-15 21:10:30.000000000 +0800
@@ -1,11 +1,11 @@
---- setup.py.orig 2008-09-21 22:20:16.000000000 +0800
-+++ setup.py 2008-09-21 22:20:34.000000000 +0800
+--- 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 @@
print string.join(l, '\n')
# Prompt the user with a list of selections.
while not (s >= 1 and s <= len(valid_paths)):
-- s = input('Selection [default=1]:' % s)
-+# s = input('Selection [default=1]:' % s)
+- s = input('Selection [default=1]:')
++# s = input('Selection [default=1]:')
+ s=1
if s == '':
s = 1
diff -curN py-hcluster/pkg-plist py-hcluster.new/pkg-plist
--- py-hcluster/pkg-plist 2008-09-27 07:21:54.000000000 +0800
+++ py-hcluster.new/pkg-plist 2008-12-16 00:07:14.000000000 +0800
@@ -1,8 +1,12 @@
-%%PYTHON_SITELIBDIR%%/_cluster_wrap.so
+%%PYTHON_SITELIBDIR%%/_hierarchy_wrap.so
+%%PYTHON_SITELIBDIR%%/_distance_wrap.so
%%PYTHON_SITELIBDIR%%/hcluster/__init__.py
%%PYTHON_SITELIBDIR%%/hcluster/__init__.pyc
%%PYTHON_SITELIBDIR%%/hcluster/__init__.pyo
-%%PYTHON_SITELIBDIR%%/hcluster/cluster.py
-%%PYTHON_SITELIBDIR%%/hcluster/cluster.pyc
-%%PYTHON_SITELIBDIR%%/hcluster/cluster.pyo
+%%PYTHON_SITELIBDIR%%/hcluster/distance.py
+%%PYTHON_SITELIBDIR%%/hcluster/distance.pyc
+%%PYTHON_SITELIBDIR%%/hcluster/distance.pyo
+%%PYTHON_SITELIBDIR%%/hcluster/hierarchy.py
+%%PYTHON_SITELIBDIR%%/hcluster/hierarchy.pyc
+%%PYTHON_SITELIBDIR%%/hcluster/hierarchy.pyo
@dirrm %%PYTHON_SITELIBDIR%%/hcluster
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list