summaryrefslogtreecommitdiff
path: root/math/py-munkres
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-07-23 18:39:51 +0000
committeradam <adam@pkgsrc.org>2017-07-23 18:39:51 +0000
commit3ebf79e4ed9acce1eba8f8db41c374893ad028be (patch)
tree1015931a0ee84844b711a2107d4efd86056b4363 /math/py-munkres
parent4d221351b5bda16ea28a08441d90f4f5e7e4dac4 (diff)
downloadpkgsrc-3ebf79e4ed9acce1eba8f8db41c374893ad028be.tar.gz
Version 1.0.11:
Docs are now generated with pdoc. Merged Pull Request 24, from @czlee: * Change to step 4: When it looks for a uncovered zero, rather than starting at row 0, column 0, it starts where it left off, i.e. at the last uncovered zero it found. Since it doesn't start at (0,0), when it gets to the last column it now loops around to the first, and exits unsuccessfully if it got back to where it started. This change reduces this reduces the solving time for (certain) large matrices. For instance, in tests, solving a matrix of size 394×394 goes from about 2 minutes to about 4 seconds. * Since Python 3 started cracking down on unnatural comparisons, the DISALLOWED constant added in Pull Request 19 no longer works. (It raises a TypeError for unorderable types, as is expected in Python 3.) Since this constant is meant to act like infinity, this modification just changes the two lines where it would otherwise try to make an illegal (in Python 3) comparison between a number and DISALLOWED_OBJ() and gets it to behave as if DISALLOWED is always larger. Added Travis CI integration. Added some unit tests. See tests and tests/README.md.
Diffstat (limited to 'math/py-munkres')
-rw-r--r--math/py-munkres/Makefile8
-rw-r--r--math/py-munkres/PLIST7
-rw-r--r--math/py-munkres/distinfo10
3 files changed, 14 insertions, 11 deletions
diff --git a/math/py-munkres/Makefile b/math/py-munkres/Makefile
index 97bbefe0ae5..443c11a73c1 100644
--- a/math/py-munkres/Makefile
+++ b/math/py-munkres/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2016/06/08 17:43:35 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2017/07/23 18:39:51 adam Exp $
-DISTNAME= munkres-1.0.6
+DISTNAME= munkres-1.0.11
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_PYPI:=m/munkres/}
@@ -8,11 +8,11 @@ MASTER_SITES= ${MASTER_SITE_PYPI:=m/munkres/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pypi.python.org/pypi/munkres/
COMMENT= Munkres algorithm for the Assignment Problem
-LICENSE= modified-bsd
+LICENSE= apache-2.0
USE_LANGUAGES= # none
REPLACE_PYTHON= munkres.py
.include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/py-munkres/PLIST b/math/py-munkres/PLIST
index 076ba7938ab..2f68f1b41f1 100644
--- a/math/py-munkres/PLIST
+++ b/math/py-munkres/PLIST
@@ -1,5 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2012/05/30 11:05:30 wiz Exp $
-${PYSITELIB}/${EGG_FILE}
+@comment $NetBSD: PLIST,v 1.2 2017/07/23 18:39:51 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/munkres.py
${PYSITELIB}/munkres.pyc
${PYSITELIB}/munkres.pyo
diff --git a/math/py-munkres/distinfo b/math/py-munkres/distinfo
index 177c36f1959..42166e030ab 100644
--- a/math/py-munkres/distinfo
+++ b/math/py-munkres/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 23:33:42 agc Exp $
+$NetBSD: distinfo,v 1.4 2017/07/23 18:39:51 adam Exp $
-SHA1 (munkres-1.0.6.tar.gz) = f5115fe4df109d8ef04e51e1c3799caded84d66d
-RMD160 (munkres-1.0.6.tar.gz) = 21db2ea164f20a829b8c6b3faf691cfb8ec5e625
-SHA512 (munkres-1.0.6.tar.gz) = 0c8b8fb0f41e8d23f09b0ff35900f6161de5efa972be2c77b6e4b5bf9951cbc498ac251aef587b5a2c4254bf8aa68ccda40af179b83ca5e2d4abca3fa4b303b4
-Size (munkres-1.0.6.tar.gz) = 9841 bytes
+SHA1 (munkres-1.0.11.tar.gz) = b32cd39ec9e2eefb4db52c1ff4b2ac0f5df0b2c0
+RMD160 (munkres-1.0.11.tar.gz) = d79235c896c26ea7a99c6fdc644935969ca73e8f
+SHA512 (munkres-1.0.11.tar.gz) = cf9f009483efb82dd34fdd9b4996fc6323802b38e532b24d6c6f241a68f5732689894027a3d4d3cb2207f0a786463702e01864b4f899f5d207beca3e892eab67
+Size (munkres-1.0.11.tar.gz) = 11322 bytes