svn commit: r510959 - in head/math: . py-pystan

Dan Langille dvl at FreeBSD.org
Tue Sep 3 16:02:45 UTC 2019


Author: dvl
Date: Tue Sep  3 16:02:44 2019
New Revision: 510959
URL: https://svnweb.freebsd.org/changeset/ports/510959

Log:
  Add PyStan: The Python Interface to Stan
  
  https://pystan.readthedocs.io/en/latest/
  
  Submitted by:	Gilbert Morgan <gmm at tutanota.com> (via private email)

Added:
  head/math/py-pystan/
  head/math/py-pystan/Makefile   (contents, props changed)
  head/math/py-pystan/distinfo   (contents, props changed)
  head/math/py-pystan/pkg-descr   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Tue Sep  3 16:00:44 2019	(r510958)
+++ head/math/Makefile	Tue Sep  3 16:02:44 2019	(r510959)
@@ -765,6 +765,7 @@
     SUBDIR += py-pyodesys
     SUBDIR += py-pysparse
     SUBDIR += py-pysym
+    SUBDIR += py-pystan
     SUBDIR += py-python-louvain
     SUBDIR += py-pyvtk
     SUBDIR += py-quadprog

Added: head/math/py-pystan/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-pystan/Makefile	Tue Sep  3 16:02:44 2019	(r510959)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME=	pystan
+PORTVERSION=	2.19.0.0
+CATEGORIES=	math
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	gmm at tutanota.com
+COMMENT=	PyStan is the Python interface for Stan
+
+LICENSE=	GPLv3
+
+USES=		python shebangfix
+USE_PYTHON=	autoplist distutils
+
+BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR}
+BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR}
+
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR}
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR}
+
+SHEBANG_FILES=	${WRKSRC}/pystan/stan/lib/stan_math/lib/upgrade-sundials.sh \
+		${WRKSRC}/pystan/stan/lib/stan_math/hooks/pre-commit \
+		${WRKSRC}/pystan/stan/lib/stan_math/runTests.py \
+
+NO_ARCH=	yes
+NO_ARCH_IGNORE=	_api.so _chains.so _misc.so
+
+.include <bsd.port.mk>

Added: head/math/py-pystan/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-pystan/distinfo	Tue Sep  3 16:02:44 2019	(r510959)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1563392208
+SHA256 (pystan-2.19.0.0.tar.gz) = b85301b960d5991918b40bd64a4e9321813657a9fc028e0f39edce7220a309eb
+SIZE (pystan-2.19.0.0.tar.gz) = 16540340

Added: head/math/py-pystan/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-pystan/pkg-descr	Tue Sep  3 16:02:44 2019	(r510959)
@@ -0,0 +1,7 @@
+PyStan provides a Python interface to Stan, a package for Bayesian inference
+using the No-U-Turn sampler, a variant of Hamiltonian Monte Carlo.
+
+For more information on Stan and its modeling language, see the Stan User's
+Guide and Reference Manual at http://mc-stan.org/.
+
+WWW: https://github.com/stan-dev/pystan


More information about the svn-ports-all mailing list