blob: a8e3dc6ab76ca1b5dae3b40f30eeba7f172c73f9 (
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.12.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=('3b6ca4fc05dfdb4e953e253e70994bfbbc8fe2e90958fbda7fa5860caf3fa63a')
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}"
#}
|