Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2024 18:10:49 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 58ea7bb26cda - main - math/py-emcee: New port: Python ensemble sampling toolkit for MCMC
Message-ID:  <202411171810.4AHIAn4Q089768@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=58ea7bb26cdad7a66b7a09543cb01164f5cd1743

commit 58ea7bb26cdad7a66b7a09543cb01164f5cd1743
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-17 18:00:57 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-17 18:10:33 +0000

    math/py-emcee: New port: Python ensemble sampling toolkit for MCMC
---
 math/Makefile           |  1 +
 math/py-emcee/Makefile  | 30 ++++++++++++++++++++++++++++++
 math/py-emcee/distinfo  |  3 +++
 math/py-emcee/pkg-descr |  3 +++
 4 files changed, 37 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index f19f19df3499..4919985dbeff 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -948,6 +948,7 @@
     SUBDIR += py-docplex
     SUBDIR += py-ducc0
     SUBDIR += py-ecos
+    SUBDIR += py-emcee
     SUBDIR += py-evalidate
     SUBDIR += py-faiss
     SUBDIR += py-fastcluster
diff --git a/math/py-emcee/Makefile b/math/py-emcee/Makefile
new file mode 100644
index 000000000000..dc76c5458f8f
--- /dev/null
+++ b/math/py-emcee/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	emcee
+DISTVERSION=	3.1.6
+CATEGORIES=	math
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Python ensemble sampling toolkit for MCMC
+WWW=		https://emcee.readthedocs.io/en/stable/ \
+		https://github.com/dfm/emcee
+
+LICENSE=	LGPL21 MIT
+LICENSE_COMB=	multi
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYNUMPY}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist pytest
+
+NO_ARCH=	yes
+
+# tests as of 3.1.6: 126 passed, 1 warning in 303.87s (0:05:03)
+
+.include <bsd.port.mk>
diff --git a/math/py-emcee/distinfo b/math/py-emcee/distinfo
new file mode 100644
index 000000000000..47881a0a3f62
--- /dev/null
+++ b/math/py-emcee/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1731865537
+SHA256 (emcee-3.1.6.tar.gz) = 11af4daf6ab8f9ca69681e3c29054665db7bbd87fd4eb8e437d2c3a1248c637d
+SIZE (emcee-3.1.6.tar.gz) = 2871117
diff --git a/math/py-emcee/pkg-descr b/math/py-emcee/pkg-descr
new file mode 100644
index 000000000000..1118957b3579
--- /dev/null
+++ b/math/py-emcee/pkg-descr
@@ -0,0 +1,3 @@
+emcee is an MIT licensed pure-Python implementation of Goodman & Weare's Affine
+Invariant Markov chain Monte Carlo (MCMC) Ensemble sampler and these pages will
+show you how to use it.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411171810.4AHIAn4Q089768>