summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 92f04e5ca2dec8130f305e37f7d4fe2efd01aa03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Connor Behan <connor.behan@gmail.com>

pkgbase="python-vegas"
pkgname=("python-vegas" "python2-vegas")
pkgver=3.0
pkgrel=1
pkgdesc="Python library for multidimensional Monte Carlo integration"
arch=('i686' 'x86_64')
makedepends=('cython' 'cython2')
license=('LGPL')
url="https://github.com/gplepage/vegas.git"
source=(http://pypi.python.org/packages/source/v/vegas/vegas-${pkgver}.tar.gz)
 
package_python-vegas() {
	depends=("python-gvar")

	cd "$srcdir"/vegas-$pkgver
	python setup.py install --root="$pkgdir" --prefix=/usr
}

package_python2-vegas() {
	depends=("python2-gvar")

	cd "$srcdir"/vegas-$pkgver
	python2 setup.py install --root="$pkgdir" --prefix=/usr
}

md5sums=('c6c8d961c1bd48fef58b8c85ce6f5cbe')