summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7dd7965c59fa9ad254b7820ddee0aa7dcb4bb8d9 (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
29
30
31
32
# Maintainer: Sergey Malkin <adresatt@gmail.com>
# Contributor: mcgyver <newsletter.sergio@gmail.com>

pkgbase=python-neo
#pkgname=('python-neo' 'python2-neo')
pkgname=('python-neo')
_name=${pkgbase#python-}
pkgver=0.9.0
pkgrel=1
pkgdesc="Neo is a package for representing electrophysiology data in Python, together with support for reading a wide range of neurophysiology file formats"
arch=('any')
url="https://pypi.org/project/neo/#files"
license=("custom")
#depends=("python-quantities" "python-setuptools" "python2-setuptools")
conflicts=("python2-neo")
depends=("python-quantities" "python-setuptools")
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('6e31c88d7c52174fa2512df589b2b5003e9471fde27fca9f315f4770ba3bd3cb')

package_python-neo() {
  depends+=('python' 'python-numpy')

  cd "${srcdir}/${_name}-${pkgver}"
  python setup.py install --root="${pkgdir}"
}

#package_python2-neo() {
#  depends+=('python2' 'python2-numpy')
#
#  cd "${srcdir}/${_name}-${pkgver}"
#  python2 setup.py install --root="${pkgdir}"
#}