diff options
Diffstat (limited to 'python-pymc/PKGBUILD')
-rw-r--r-- | python-pymc/PKGBUILD | 33 |
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> | ||
2 | pkgname=python-pymc | ||
3 | pkgver=2.3.8 | ||
4 | pkgrel=1 | ||
5 | pkgdesc="Markov chain Monte Carlo for Python" | ||
6 | arch=('i686' 'x86_64') | ||
7 | url="https://github.com/pymc-devs/pymc" | ||
8 | license=('MIT') | ||
9 | source=("https://github.com/pymc-devs/pymc/archive/v${pkgver}.tar.gz") | ||
10 | makedepends=("gcc-fortran") | ||
11 | sha256sums=('200a28469d574a370fa9b55cd92f112f8ad09f71674bdae514437039e953689b') | ||
12 | |||
13 | package_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 | |||
23 | package() { | ||
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 | |||