1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

math/py-emcee: New port: Python ensemble sampling toolkit for MCMC

This commit is contained in:
Yuri Victorovich 2024-11-17 10:00:57 -08:00
parent e72021a192
commit 58ea7bb26c
4 changed files with 37 additions and 0 deletions

View File

@ -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

30
math/py-emcee/Makefile Normal file
View File

@ -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>

3
math/py-emcee/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1731865537
SHA256 (emcee-3.1.6.tar.gz) = 11af4daf6ab8f9ca69681e3c29054665db7bbd87fd4eb8e437d2c3a1248c637d
SIZE (emcee-3.1.6.tar.gz) = 2871117

3
math/py-emcee/pkg-descr Normal file
View File

@ -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.