# Maintainer: Sergey Malkin # Contributor: mcgyver 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}" #}