summaryrefslogtreecommitdiffstats
path: root/python-pymc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'python-pymc/PKGBUILD')
-rw-r--r--python-pymc/PKGBUILD33
1 files changed, 0 insertions, 33 deletions
diff --git a/python-pymc/PKGBUILD b/python-pymc/PKGBUILD
deleted file mode 100644
index 23dfb80..0000000
--- a/python-pymc/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
1# Contributor: xia0er <xia0er@gmail.com>
2pkgname=python-pymc
3pkgver=2.3.8
4pkgrel=1
5pkgdesc="Markov chain Monte Carlo for Python"
6arch=('i686' 'x86_64')
7url="https://github.com/pymc-devs/pymc"
8license=('MIT')
9source=("https://github.com/pymc-devs/pymc/archive/v${pkgver}.tar.gz")
10makedepends=("gcc-fortran")
11sha256sums=('200a28469d574a370fa9b55cd92f112f8ad09f71674bdae514437039e953689b')
12
13package_python2_pymc() {
14 depends=('python2-numpy')
15 optdepends=('python2-scipy' 'python2-matplotlib' 'python2-pytables' 'ipython2' 'pydot' 'python2-nose')
16
17 cd $srcdir/pymc-$pkgver
18 export LDFLAGS="$LDFLAGS -shared"
19 python2 setup.py config_fc --fcompiler=gnu95 build
20 python2 setup.py install --prefix=/usr --root=$pkgdir || return 1
21}
22
23package() {
24 depends=('python-numpy')
25 optdepends=('python-scipy' 'python-matplotlib' 'python-pytables' 'ipython' 'pydot' 'python-nose')
26
27 cd $srcdir/pymc-$pkgver
28 export LDFLAGS="$LDFLAGS -shared"
29 python setup.py config_fc --fcompiler=gnu95 build
30 python setup.py install --prefix=/usr --root=$pkgdir || return 1
31}
32
33