pkgsrc-WIP-changes archive

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

py-hmmlearn: Update to 0.2.8



Module Name:	pkgsrc-wip
Committed By:	Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By:	matthewd
Date:		Sun Oct 30 12:45:43 2022 -0700
Changeset:	3d4607a7d0166fbe9a9d887e8f4d9913123e50d8

Modified Files:
	py-hmmlearn/Makefile
	py-hmmlearn/PLIST
	py-hmmlearn/distinfo

Log Message:
py-hmmlearn: Update to 0.2.8

Released on September 26th, 2022.

    The PoissonHMM class was added with an example use case.
    For MultinomialHMM, parameters after transmat_prior are now keyword-only.
    startmat_ and transmat_ will both be initialized with random variables drawn from a Dirichlet distribution, to maintain the old behavior, these must be initialized as 1 / n_components.
    The old MultinomialHMM class was renamed to CategoricalHMM (as that's what it actually implements), and a new MultinomialHMM class was introduced (with a warning) that actually implements a multinomial distribution.
    hmmlearn.utils.log_mask_zero has been deprecated.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3d4607a7d0166fbe9a9d887e8f4d9913123e50d8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-hmmlearn/Makefile | 4 ++--
 py-hmmlearn/PLIST    | 4 ++++
 py-hmmlearn/distinfo | 6 +++---
 3 files changed, 9 insertions(+), 5 deletions(-)

diffs:
diff --git a/py-hmmlearn/Makefile b/py-hmmlearn/Makefile
index 340eb3189c..32430f5881 100644
--- a/py-hmmlearn/Makefile
+++ b/py-hmmlearn/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	hmmlearn-0.2.7
+DISTNAME=	hmmlearn-0.2.8
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	math python
 MASTER_SITES=	${MASTER_SITE_PYPI:=h/hmmlearn/}
@@ -16,7 +16,7 @@ DEPENDS+=	${PYPKGPREFIX}-numpy>=1.21.5:../../math/py-numpy
 USE_LANGUAGES=	c c++ # none
 
 do-test:
-	cd ${WRKSRC} && pwd && ${SETENV} ${TEST_ENV} python${PYVERSSUFFIX} -m pytest
+	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m pytest -s
 
 .include "../../devel/py-pybind11/buildlink3.mk"
 .include "../../lang/python/wheel.mk"
diff --git a/py-hmmlearn/PLIST b/py-hmmlearn/PLIST
index c9383c1ec5..6c56467f2f 100644
--- a/py-hmmlearn/PLIST
+++ b/py-hmmlearn/PLIST
@@ -26,6 +26,8 @@ ${PYSITELIB}/hmmlearn/tests/conftest.py
 ${PYSITELIB}/hmmlearn/tests/conftest.pyc
 ${PYSITELIB}/hmmlearn/tests/test_base.py
 ${PYSITELIB}/hmmlearn/tests/test_base.pyc
+${PYSITELIB}/hmmlearn/tests/test_categorical_hmm.py
+${PYSITELIB}/hmmlearn/tests/test_categorical_hmm.pyc
 ${PYSITELIB}/hmmlearn/tests/test_gaussian_hmm.py
 ${PYSITELIB}/hmmlearn/tests/test_gaussian_hmm.pyc
 ${PYSITELIB}/hmmlearn/tests/test_gmm_hmm.py
@@ -36,6 +38,8 @@ ${PYSITELIB}/hmmlearn/tests/test_gmm_hmm_new.py
 ${PYSITELIB}/hmmlearn/tests/test_gmm_hmm_new.pyc
 ${PYSITELIB}/hmmlearn/tests/test_multinomial_hmm.py
 ${PYSITELIB}/hmmlearn/tests/test_multinomial_hmm.pyc
+${PYSITELIB}/hmmlearn/tests/test_poisson_hmm.py
+${PYSITELIB}/hmmlearn/tests/test_poisson_hmm.pyc
 ${PYSITELIB}/hmmlearn/tests/test_utils.py
 ${PYSITELIB}/hmmlearn/tests/test_utils.pyc
 ${PYSITELIB}/hmmlearn/utils.py
diff --git a/py-hmmlearn/distinfo b/py-hmmlearn/distinfo
index ec472eccad..8ba77aaf62 100644
--- a/py-hmmlearn/distinfo
+++ b/py-hmmlearn/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (hmmlearn-0.2.7.tar.gz) = ad79af1a2fa7de18f67e637c156287a7b1876bb730d11931a2284fa0ca165b03
-SHA512 (hmmlearn-0.2.7.tar.gz) = d696091fbfa190167991e7ee292c4b19e6190ea73b7b785633b798f66af76b53c014e60e1d435f29e850fc9dfe29a26047719b45ac5ac0cd4eaeaa752ab1d372
-Size (hmmlearn-0.2.7.tar.gz) = 53490 bytes
+BLAKE2s (hmmlearn-0.2.8.tar.gz) = 6c1493ef6f5b50da5f8438ea7bc27a5231e1b6f27b384504e2e32fcaf19134a0
+SHA512 (hmmlearn-0.2.8.tar.gz) = 5b287677e6e743803e9af1052b9109d077781040295b99564ee5703e9f04a1122ba218baba7ccd3342c1b70fc51f9af64a44b6d65c486e3a88865c3192cc71ef
+Size (hmmlearn-0.2.8.tar.gz) = 61879 bytes


Home | Main Index | Thread Index | Old Index