summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f3420bb23e1ded310f86bb298837e209019f7f91 (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: mcgyver <newsletter.sergio@gmail.com>

pkgbase=python-lazyarray
#pkgname=('python-lazyarray' 'python2-lazyarray')
pkgname=('python-lazyarray')
_name=${pkgbase#python-}
pkgver=0.5.2
pkgrel=1
pkgdesc="a Python package that provides a lazily-evaluated numerical array class, larray, based on and compatible with NumPy arrays"
arch=('any')
url="https://pypi.org/project/lazyarray/#files"
license=('BSD')
#makedepends=("python" "python2" 'python-setuptools')
makedepends=("python" 'python-setuptools')
conflicts=("python2-lazyarray")
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('fe31804d82115ed7c382840a1708f498419ec1455cac084707ece9908310c7d1')

package_python-lazyarray() {
  depends+=('python')

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

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