diff options
author | Jean-Gabriel Young | 2018-11-03 17:31:16 -0400 |
---|---|---|
committer | Jean-Gabriel Young | 2018-11-03 17:31:16 -0400 |
commit | 10d17b607efab0f48a44c407307aab323f002242 (patch) | |
tree | 79cbe2d2d92bd973fe5b275ae6e7e7c43285dc46 | |
download | aur-10d17b607efab0f48a44c407307aab323f002242.tar.gz |
PKGBUILD and .SRCINFO for pystan, v.2.18.0.0
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..06a16e1a3656 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-pystan + pkgdesc = Python interface to Stan, a package for Bayesian inference. + pkgver = 2.18.0.0 + pkgrel = 1 + url = http://mc-stan.org/ + arch = i686 + arch = x86_64 + license = GPLv3-networkx + depends = python-numpy + depends = cython + source = https://files.pythonhosted.org/packages/source/p/pystan/pystan-2.18.0.0.tar.gz + sha256sums = 594c1523fd5cd6034ba1b58b1a0741f7e753c819d17745395defa25e526115ce + +pkgname = python-pystan + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c54e43d73bf8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Jean-Gabriel Young <info@jgyoung.ca> + +pkgname=python-pystan +pkgver=2.18.0.0 +pkgrel=1 +pkgdesc="Python interface to Stan, a package for Bayesian inference." +arch=('i686' 'x86_64') +url='http://mc-stan.org/' +license=(GPLv3-networkx) +depends=(python-numpy cython) +_name=${pkgname#python-} +source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") +sha256sums=('594c1523fd5cd6034ba1b58b1a0741f7e753c819d17745395defa25e526115ce') +build() { + cd ${_name}-${pkgver} + python setup.py build +} + +package() { + cd ${_name}-${pkgver} + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build +} |