pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-munkres py-munkres: updated to 1.0.12



details:   https://anonhg.NetBSD.org/pkgsrc/rev/358262db002f
branches:  trunk
changeset: 316324:358262db002f
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Dec 10 11:22:37 2018 +0000

description:
py-munkres: updated to 1.0.12

Version 1.0.12:
- Merged Pull Request 11] which simplifies conversion of a
  profit matrix to a cost matrix, in the default case.
- Merged Pull Request 7 which fixes a message.
- Added more tests.

diffstat:

 math/py-munkres/Makefile |  18 +++++++++++++-----
 math/py-munkres/distinfo |  10 +++++-----
 2 files changed, 18 insertions(+), 10 deletions(-)

diffs (50 lines):

diff -r fdf47a70b319 -r 358262db002f math/py-munkres/Makefile
--- a/math/py-munkres/Makefile  Mon Dec 10 11:06:18 2018 +0000
+++ b/math/py-munkres/Makefile  Mon Dec 10 11:22:37 2018 +0000
@@ -1,18 +1,26 @@
-# $NetBSD: Makefile,v 1.6 2017/09/04 18:08:25 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2018/12/10 11:22:37 adam Exp $
 
-DISTNAME=      munkres-1.0.11
+DISTNAME=      munkres-1.0.12
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    math
-MASTER_SITES=  ${MASTER_SITE_PYPI:=m/munkres/}
+CATEGORIES=    math python
+#MASTER_SITES= ${MASTER_SITE_PYPI:=m/munkres/}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=bmc/}
+GITHUB_PROJECT=        munkres
+GITHUB_TAG=    release-${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://pypi.python.org/pypi/munkres/
+HOMEPAGE=      http://software.clapper.org/munkres/
 COMMENT=       Munkres algorithm for the Assignment Problem
 LICENSE=       apache-2.0
 
+TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+
 USE_LANGUAGES= # none
 REPLACE_PYTHON=        munkres.py
 
+do-test:
+       cd ${WRKSRC} && nosetests-${PYVERSSUFFIX}
+
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r fdf47a70b319 -r 358262db002f math/py-munkres/distinfo
--- a/math/py-munkres/distinfo  Mon Dec 10 11:06:18 2018 +0000
+++ b/math/py-munkres/distinfo  Mon Dec 10 11:22:37 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2017/07/23 18:39:51 adam Exp $
+$NetBSD: distinfo,v 1.5 2018/12/10 11:22:37 adam Exp $
 
-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
+SHA1 (munkres-1.0.12.tar.gz) = 8e50cfe8cfde5f7be250476fab34d108a7b0aa16
+RMD160 (munkres-1.0.12.tar.gz) = 64145a12881cd8f0edbda4a9d2e14808efe1df70
+SHA512 (munkres-1.0.12.tar.gz) = 9049fd350b739c9095b6e1da8fe0041210d4723ab8c0c6a7fc9943392bebf9eb224c6f420c8158a47607277e13fba2f3c7803ee222d58e8e3720d5647f44e596
+Size (munkres-1.0.12.tar.gz) = 12126 bytes



Home | Main Index | Thread Index | Old Index