pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-fastcluster: Minor clean up
Module Name: pkgsrc-wip
Committed By: Jason W. Bacon <bacon4000%gmail.com@localhost>
Pushed By: outpaddling
Date: Sun Apr 6 06:41:36 2025 -0500
Changeset: b9ba981dde2b79de68ad923e0dd85e3ecdb110d4
Modified Files:
py-fastcluster/DESCR
py-fastcluster/Makefile
Log Message:
py-fastcluster: Minor clean up
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b9ba981dde2b79de68ad923e0dd85e3ecdb110d4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-fastcluster/DESCR | 13 ++++++++++++-
py-fastcluster/Makefile | 6 +++---
2 files changed, 15 insertions(+), 4 deletions(-)
diffs:
diff --git a/py-fastcluster/DESCR b/py-fastcluster/DESCR
index ce0df5faef..8c110e4211 100644
--- a/py-fastcluster/DESCR
+++ b/py-fastcluster/DESCR
@@ -1,2 +1,13 @@
This library provides Python functions for hierarchical clustering.
-It generates hierarchical clusters from distance matrices or from vector data.
+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.
+
+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 library is in C++ for efficiency.
diff --git a/py-fastcluster/Makefile b/py-fastcluster/Makefile
index fd379a104d..d3e4fd7b8d 100644
--- a/py-fastcluster/Makefile
+++ b/py-fastcluster/Makefile
@@ -4,7 +4,6 @@ DISTNAME= fastcluster-1.2.6
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_PYPI:=f/fastcluster/}
-PKGREVISION= 1
MAINTAINER= matthewd%fastmail.us@localhost
HOMEPAGE= http://danifold.net/fastcluster.html
@@ -13,11 +12,12 @@ LICENSE= 2-clause-bsd
USE_LANGUAGES= c c++
-PYTHON_VERSIONS_INCOMPATIBLE= 27 38
+PYTHON_VERSIONS_INCOMPATIBLE= 27
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=68.2:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=68.2:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
TEST_DEPENDS+= ${PYPKGPREFIX}-scipy>=1.6:../../math/py-scipy
+
# Tests Requires installing the package
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} tests/test.py
Home |
Main Index |
Thread Index |
Old Index