summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorConnor Behan2016-09-05 14:16:57 -0400
committerConnor Behan2016-09-05 14:16:57 -0400
commit1adecc29051a32d793b84023013eba8d4321d0e3 (patch)
tree92d82b835491ff74eea89f5cd1fdfb0527c37836 /PKGBUILD
downloadaur-python-vegas.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..92f04e5ca2d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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')