From nobody Fri Dec 29 16:18:45 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T1rCn4fkPz54Q6j; Fri, 29 Dec 2023 16:18:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T1rCn3yQQz4SFp; Fri, 29 Dec 2023 16:18:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703866725; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dhoCBqmC60C92AM4yAIN8RXEFVCltZDmGvVpL8RtaWo=; b=qkQ//h+RBomVpWwhB2lsKsjNq0GJHCUY+9NmwiD4+BQ0z6ew1v+PrJ4DWWbYARMnCmNv3m lcWRBQheS4ywHAMwWMzHoZeFC1IyDFEfhZEqU6wG1marorR75HMv2KJ4k8I5ZqIQHImQ8k nZHtqo61GJBjHlfcxDIr6s9rXW2xS72hTDqePgO5bA2qJwQzNQfjUW9QFKKqVgRhuSGmCm 5z/tBdHG4Ml6CQJhzxKOJyEf+ePWtfJr7/EZf0CQpbRSbBJcODT6pqYlw0xGdNtU/4ROCI i58xdpWa6AqMQTvwtGsmQwnZ/uxTT15X7m1tm4kVPO51Ls0ERJawpW4s7STZtQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703866725; a=rsa-sha256; cv=none; b=ObqASrQKnNLd18ULDRK8ArDqD+LalkgKyvr9FO/M6hN0yZd1enLnqOkRvASzaN261ePjrV 8aAFMm90wRmz+HZtnuH/SpWpJMKEgSrCgwMaMyiLS1UA8PUg/DdGrlcp+70iim5UyOtCII 2QWJL/VG0cP/I9EzEZ4P3ETT9wAxJ+UxbyVaF3EBlcUGVpDm6XteuU6VC2n2LCJZ0+aXzr biLT9W6nT+tJlEDUE/fNQy8Gbdm7NHFVDbmPI9OL3Q0k9MBS69PoSHiyg+V+y4jThZXJL+ FYHQhcixkp2wh/MBGo+SaYcAqLZFYpBsGuGaMUjmTyLOhS7gZT3wTl4HIyI4+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703866725; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dhoCBqmC60C92AM4yAIN8RXEFVCltZDmGvVpL8RtaWo=; b=rLsn+QwtVYzzaoM6baizVBxcX1vf9PgTZi8SJfUwzTo9q7GxDGD+V/Q/4GqOW10YyYeald p8l1e+VRHR9v8oqQSUmgkzzb9giow8BgaVr+oD2QegNSZaOBAE4+Ud3QNezvx3Z5P0tenG B5ItqiA2Tg7T365wJ/QE1y97EGbXL0AsHtTHH9j2H/QZRceELi/yO50j0SkKhOnKuW7oor 67UvZpsT34VdoLzfinpcLndHKH74ArfPX6p0AHNlREwGStGDFfH9vF61ox7RWMSi56+SQX YakK5/bcP24PgU4oZkfg3l/NWuGfIJT+ZhW5tUCTjxdA+Qu8AzWugOSm/jS5pQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T1rCn31Rdz1CJN; Fri, 29 Dec 2023 16:18:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BTGIjEr085557; Fri, 29 Dec 2023 16:18:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BTGIjnR085554; Fri, 29 Dec 2023 16:18:45 GMT (envelope-from git) Date: Fri, 29 Dec 2023 16:18:45 GMT Message-Id: <202312291618.3BTGIjnR085554@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason W. Bacon" Subject: git: bfb9d85323b9 - main - math/py-hmmlearn: Unsupervised learning of Hidden Markov Models List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jwb X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bfb9d85323b9c27d1c329a9230be3cf678763349 Auto-Submitted: auto-generated The branch main has been updated by jwb: URL: https://cgit.FreeBSD.org/ports/commit/?id=bfb9d85323b9c27d1c329a9230be3cf678763349 commit bfb9d85323b9c27d1c329a9230be3cf678763349 Author: Jason W. Bacon AuthorDate: 2023-12-29 16:18:01 +0000 Commit: Jason W. Bacon CommitDate: 2023-12-29 16:18:43 +0000 math/py-hmmlearn: Unsupervised learning of Hidden Markov Models hmmlearn is a set of algorithms for unsupervised learning and inference of Hidden Markov Models. For supervised learning learning of HMMs and similar models see seqlearn. --- math/Makefile | 1 + math/py-hmmlearn/Makefile | 37 +++++++++++++++++++++++++++++++++++++ math/py-hmmlearn/distinfo | 3 +++ math/py-hmmlearn/pkg-descr | 3 +++ 4 files changed, 44 insertions(+) diff --git a/math/Makefile b/math/Makefile index 89953b27a37c..744598647931 100644 --- a/math/Makefile +++ b/math/Makefile @@ -951,6 +951,7 @@ SUBDIR += py-hdmedians SUBDIR += py-hepstats SUBDIR += py-heyoka + SUBDIR += py-hmmlearn SUBDIR += py-igraph SUBDIR += py-iminuit SUBDIR += py-intspan diff --git a/math/py-hmmlearn/Makefile b/math/py-hmmlearn/Makefile new file mode 100644 index 000000000000..3baef7e19c21 --- /dev/null +++ b/math/py-hmmlearn/Makefile @@ -0,0 +1,37 @@ +PORTNAME= hmmlearn +DISTVERSION= 0.3.0 +CATEGORIES= math python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= jwb@FreeBSD.org +COMMENT= Unsupervised learning and inference of Hidden Markov Models +WWW= https://github.com/hmmlearn/hmmlearn + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= wheel-${PYTHON_VER}:devel/py-wheel@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.3:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=0.19:science/py-scipy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.16:science/py-scikit-learn@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pybind11>=0:devel/py-pybind11@${PY_FLAVOR} +RUN_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=0.19:science/py-scipy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.16:science/py-scikit-learn@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 pytest + +post-stage: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/hmmlearn/_hmmc.cpython-39.so + +# 2023-12-29: Tests currently fail due to known upstream issues +do-test: + # setup.py builds directly to prefix by default, so we need to build + # again within the project for pytest to work + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} setup.py develop) + (cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYTHON_VER} --capture=no) + +.include diff --git a/math/py-hmmlearn/distinfo b/math/py-hmmlearn/distinfo new file mode 100644 index 000000000000..0e1fdc68387f --- /dev/null +++ b/math/py-hmmlearn/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1703354335 +SHA256 (hmmlearn-0.3.0.tar.gz) = d13a91ea3695df881465e3d36132d7eef4e84d483f4ba538a4b46e24b5ea100f +SIZE (hmmlearn-0.3.0.tar.gz) = 77889 diff --git a/math/py-hmmlearn/pkg-descr b/math/py-hmmlearn/pkg-descr new file mode 100644 index 000000000000..1a2d7271b8c8 --- /dev/null +++ b/math/py-hmmlearn/pkg-descr @@ -0,0 +1,3 @@ +hmmlearn is a set of algorithms for unsupervised learning and inference +of Hidden Markov Models. For supervised learning learning of HMMs and +similar models see seqlearn.