diff options
author | xantares | 2015-06-09 00:05:23 +0200 |
---|---|---|
committer | xantares | 2015-06-09 00:05:23 +0200 |
commit | af457c0173c310c443783ee4ded5d5489602a31e (patch) | |
tree | 5e6a5be5837f049ca1a95d5d9472ea10eee5805a | |
download | aur-af457c0173c310c443783ee4ded5d5489602a31e.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8e0dfd2ed119 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python2-george + pkgdesc = Fast Gaussian Processes for regression + pkgver = 0.2.0 + pkgrel = 1 + url = http://dan.iel.fm/george + arch = any + license = MIT + makedepends = hodlr + depends = python2-scipy + source = https://github.com/dfm/george/archive/v0.2.0.tar.gz + md5sums = SKIP + +pkgname = python2-george + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9bf5371e4859 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ + +pkgname=python2-george +pkgver=0.2.0 +pkgrel=1 +pkgdesc="Fast Gaussian Processes for regression" +url="http://dan.iel.fm/george" +arch=(any) +license=('MIT') +depends=('python2-scipy') +makedepends=('hodlr') +source=("https://github.com/dfm/george/archive/v${pkgver}.tar.gz") +md5sums=('SKIP') + +build() { + cd "${srcdir}/george-$pkgver" + sed -i '62i"/usr/include",' setup.py + sed -i "s|assemble_Matrix(diag, tol_, 's', seed)|assemble_Matrix(diag, tol_, 's')|g" include/solver.h + python2 setup.py build +} + +package() { + cd "${srcdir}/george-$pkgver" + python2 setup.py install --root="${pkgdir}" +} + |