From aa8a2048ccfc3582f2e8ddd34d5165ec521954bf Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 5 Jan 2022 22:05:50 +0000 Subject: [PATCH] py-munkres: update to 1.1.4. Version 1.1.4 (September, 2020) - Switched from Nose to Pytest for testing. Patch courtesy @kmosiejczuk, [PR #32](https://github.com/bmc/munkres/pull/32), with some additional cleanup by me. - Fix to [Issue #34](https://github.com/bmc/munkres/issues/34), in which `print_matrix` wasn't handling non-integral values. Patch courtesy @finn0, via [PR #35](https://github.com/bmc/munkres/pull/35). - Various changes from `http:` URLs to `https:` URLs, courtesy @finn0 via [PR #36](https://github.com/bmc/munkres/pull/36/). Version 1.1.3: **Nonexistent**. Accidentally published before check-in. Deleted from PyPI. Use version 1.1.4. Version 1.1.2 (February, 2019) - Removed `NoReturn` type annotations, to allow compatibility with Python 3.5 releases prior to 3.5.4. Thanks to @jackwilsdon for catching that issue. Version 1.1.1 (February, 2019) - Version bump to get past a PyPI publishing issue. (Can't republish partially published 1.1.0.) Version 1.1.0 (February, 2019) - Only supports Python 3.5 or better, from this version forward (since Python 2 is at end of life in 11 months). - Added `typing` type hints. - Updated docs to use `pdoc`, since `epydoc` is pretty much dead. --- math/py-munkres/Makefile | 11 ++++++----- math/py-munkres/distinfo | 8 ++++---- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/math/py-munkres/Makefile b/math/py-munkres/Makefile index 9b4440a69445..8cc4e22b6630 100644 --- a/math/py-munkres/Makefile +++ b/math/py-munkres/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.9 2022/01/04 20:54:14 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2022/01/05 22:05:50 wiz Exp $ -DISTNAME= munkres-1.0.12 +DISTNAME= munkres-1.1.4 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 CATEGORIES= math python #MASTER_SITES= ${MASTER_SITE_PYPI:=m/munkres/} MASTER_SITES= ${MASTER_SITE_GITHUB:=bmc/} @@ -14,13 +13,15 @@ HOMEPAGE= https://software.clapper.org/munkres/ COMMENT= Munkres algorithm for the Assignment Problem LICENSE= apache-2.0 -TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose +TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test USE_LANGUAGES= # none REPLACE_PYTHON= munkres.py +PYTHON_VERSIONS_INCOMPATIBLE= 27 + do-test: - cd ${WRKSRC} && nosetests-${PYVERSSUFFIX} + cd ${WRKSRC} && pytest-${PYVERSSUFFIX} .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" diff --git a/math/py-munkres/distinfo b/math/py-munkres/distinfo index 23415f826b25..cdbb60c424b9 100644 --- a/math/py-munkres/distinfo +++ b/math/py-munkres/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.7 2021/10/26 10:56:02 nia Exp $ +$NetBSD: distinfo,v 1.8 2022/01/05 22:05:50 wiz Exp $ -BLAKE2s (munkres-1.0.12.tar.gz) = e19f0bc1f9f4fe5d7a89e58a67a0ffdf1ab1e9b9265bc27e9fcdd70189b08414 -SHA512 (munkres-1.0.12.tar.gz) = 9049fd350b739c9095b6e1da8fe0041210d4723ab8c0c6a7fc9943392bebf9eb224c6f420c8158a47607277e13fba2f3c7803ee222d58e8e3720d5647f44e596 -Size (munkres-1.0.12.tar.gz) = 12126 bytes +BLAKE2s (munkres-1.1.4.tar.gz) = e2d8712bab6a3cb42240f2ee4ea454de7b7338dae7b5b29e8df0d374f1564c04 +SHA512 (munkres-1.1.4.tar.gz) = 24ae7d04f4a6fe52f7bb9dc79bbee3e33425b85813382e2634e106a5d26d2d728ba8d34fab9390b7c3d651bc0e95214dcf9c94ac436636cd5b487a054b5a2c54 +Size (munkres-1.1.4.tar.gz) = 13777 bytes