Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
pkgbase = python-pymc | ||
pkgdesc = Markov chain Monte Carlo for Python | ||
pkgver = 2.3.3 | ||
pkgrel = 1 | ||
url = https://github.com/pymc-devs/pymc | ||
arch = i686 | ||
arch = x86_64 | ||
license = MIT | ||
makedepends = gcc-fortran | ||
source = https://pypi.python.org/packages/source/p/pymc/pymc-2.3.3.tar.gz | ||
md5sums = 99645bf558a41376be0e687ccf90a39f | ||
|
||
pkgname = python-pymc | ||
depends = python-numpy | ||
optdepends = python-scipy | ||
optdepends = python-matplotlib | ||
optdepends = python-pytables | ||
optdepends = ipython | ||
optdepends = pydot | ||
optdepends = python-nose | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
pkgbase = python-pymc | ||
pkgdesc = Markov chain Monte Carlo for Python | ||
pkgver = 2.3.5 | ||
pkgrel = 1 | ||
url = https://github.com/pymc-devs/pymc | ||
arch = i686 | ||
arch = x86_64 | ||
license = MIT | ||
makedepends = gcc-fortran | ||
source = https://pypi.python.org/packages/source/p/pymc/pymc-2.3.5.tar.gz | ||
md5sums = 1d327b5863adc753ca99fa1b7b9f734f | ||
|
||
pkgname = python-pymc | ||
depends = python-numpy | ||
optdepends = python-scipy | ||
optdepends = python-matplotlib | ||
optdepends = python-pytables | ||
optdepends = ipython | ||
optdepends = pydot | ||
optdepends = python-nose | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Contributor: Garrett <floft.net/contact> | ||
# Contributor: xia0er <xia0er@gmail.com> | ||
pkgname=python-pymc3 | ||
pkgver="3.0beta" | ||
pkgrel=1 | ||
pkgdesc="Markov chain Monte Carlo for Python" | ||
arch=('i686' 'x86_64') | ||
url="https://github.com/pymc-devs/pymc3" | ||
license=('MIT') | ||
source=("https://github.com/pymc-devs/pymc3/archive/v${pkgver}.tar.gz") | ||
makedepends=("gcc-fortran") | ||
md5sums=('0e6ae1df523e904e658e96a2b5ac7764') | ||
|
||
package_python2-pymc3() { | ||
depends=('python2-numpy' 'python2-scipy' 'python2-matplotlib' | ||
'python2-pytables' 'ipython2' 'pydot' 'python2-nose' | ||
'python2-enum34' 'python2-theano' 'python2-patsy' | ||
'python2-statsmodels' 'python2-pandas') | ||
|
||
cd "$srcdir/pymc3-$pkgver" | ||
export LDFLAGS="$LDFLAGS -shared" | ||
python2 setup.py build | ||
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 | ||
} | ||
|
||
package() { | ||
depends=('python-numpy' 'python-scipy' 'python-matplotlib' | ||
'python-pytables' 'ipython' 'pydot' 'python-nose' | ||
'python-theano' 'python2-patsy' 'python-statsmodels' | ||
'python-pandas') | ||
|
||
cd "$srcdir/pymc3-$pkgver" | ||
export LDFLAGS="$LDFLAGS -shared" | ||
python3 setup.py build | ||
python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1 | ||
} |