diff options
author | Shi Liang | 2017-11-02 21:56:28 +0800 |
---|---|---|
committer | Shi Liang | 2017-11-02 21:56:28 +0800 |
commit | fd98ee786d317a1f20bab551debbf7ad6cfca9d6 (patch) | |
tree | 5bfccb3eb2c2177dd321414d2a09448a187aefe8 | |
download | aur-fd98ee786d317a1f20bab551debbf7ad6cfca9d6.tar.gz |
PKGBUILD of CaImAn for Archlinux
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | PKGBUILD | 41 |
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b137678b3762 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +pkgbase = python-caiman-git + pkgdesc = A Computational toolbox for large scale Calcium Imaging data Analysis and behavioral analysis. + pkgver = r1421.dd9c889 + pkgrel = 1 + url = https://github.com/simonsfoundation/CaImAn.git + arch = x86_64 + license = GPL + makedepends = git + makedepends = cython + depends = python + depends = python-numpy + depends = python-scipy + depends = python-scikit-image + depends = python-scikit-learn + depends = ipython-ipyparallel + depends = opencv + depends = python-tifffile + depends = python-peakutils + optdepends = python-cvxpy + optdepends = python-spams-svn + source = python-caiman-git-r1421.dd9c889::git+https://github.com/simonsfoundation/CaImAn.git + md5sums = SKIP + +pkgname = python-caiman-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2b1f7e167d0a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Shi Liang <shilianggoo@gmail.com> +pkgname=python-caiman-git +pkgver=r1421.dd9c889 +pkgrel=1 + +pkgdesc=" A Computational toolbox for large scale Calcium Imaging data Analysis and behavioral analysis. " + +arch=('x86_64') +url="https://github.com/simonsfoundation/CaImAn.git" +license=('GPL') +groups=() +depends=('python' 'python-numpy' 'python-scipy' 'python-scikit-image' 'python-scikit-learn' + 'ipython-ipyparallel' 'opencv' 'python-tifffile' 'python-peakutils') +makedepends=('git' 'cython') +checkdepends=() +optdepends=('python-cvxpy' 'python-spams-svn') +options=() +source=("$pkgname-$pkgver::git+${url}") +md5sums=('SKIP') + + +build() { + cd "$srcdir/$pkgname-$pkgver" + python setup.py build_ext + python setup.py build +} + + +pkgver() { + cd "$pkgname-$pkgver" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + + +package() { + cd "$srcdir/$pkgname-$pkgver" + python setup.py install --root=${pkgdir} --prefix=/usr + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + +} + |