diff options
author | Sergey Malkin | 2017-03-29 10:07:05 +0300 |
---|---|---|
committer | Sergey Malkin | 2017-03-29 10:07:05 +0300 |
commit | c072b5051b48c8c58e297424dc2a15b3d6732e78 (patch) | |
tree | 25bdd78f76f9e362cea71a52c0e5f9df1d8eeb00 | |
download | aur-c072b5051b48c8c58e297424dc2a15b3d6732e78.tar.gz |
Initial upload
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1c91cc0de7e0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = python-neo + pkgdesc = Neo is a Python package for working with electrophysiology data in Python + pkgver = 0.3.3 + pkgrel = 1 + url = http://neuralensemble.org/neo + arch = i686 + arch = x86_64 + license = custom + makedepends = python-setuptools + depends = python + depends = python-numpy + depends = python-quantities + source = https://github.com/NeuralEnsemble/python-neo/archive/0.3.3.tar.gz + md5sums = c1df54efde7376c6e24bd517417e2d06 + +pkgname = python-neo + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2824a035cf83 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Sergey Malkin <adresatt@gmail.com> +pkgname=python-neo +pkgver=0.3.3 +pkgrel=1 +pkgdesc="Neo is a Python package for working with electrophysiology data in Python" +arch=("i686" "x86_64") +url="http://neuralensemble.org/neo" +license=("custom") +depends=("python" "python-numpy" "python-quantities") +makedepends=('python-setuptools') +source=("https://github.com/NeuralEnsemble/${pkgname}/archive/${pkgver}.tar.gz") +md5sums=("c1df54efde7376c6e24bd517417e2d06") + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + python setup.py install --prefix=/usr --root=${pkgdir} +} |