summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorConnor Behan2016-09-05 14:16:57 -0400
committerConnor Behan2016-09-05 14:16:57 -0400
commit1adecc29051a32d793b84023013eba8d4321d0e3 (patch)
tree92d82b835491ff74eea89f5cd1fdfb0527c37836
downloadaur-1adecc29051a32d793b84023013eba8d4321d0e3.tar.gz
Initial import
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD28
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..df0baf0fdca
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = python-vegas
+ pkgdesc = Python library for multidimensional Monte Carlo integration
+ pkgver = 3.0
+ pkgrel = 1
+ url = https://github.com/gplepage/vegas.git
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = cython
+ makedepends = cython2
+ source = http://pypi.python.org/packages/source/v/vegas/vegas-3.0.tar.gz
+ md5sums = c6c8d961c1bd48fef58b8c85ce6f5cbe
+
+pkgname = python-vegas
+ depends = python-gvar
+
+pkgname = python2-vegas
+ depends = python2-gvar
+
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')