summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a374864ee9ed7efde8a0dca8fca2d17811f4f91f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Sergio Davies <sergio dot newsletter at gmail dot com>

pkgbase=python2-quantities
pkgname=('python2-quantities')
_name=${pkgbase#python2-}
pkgver=0.12.4
pkgrel=1
pkgdesc="Support for physical quantities with units, based on numpy"
arch=('any')
url="https://pypi.org/project/quantities/#files"
license=('BSD')
makedepends=('python2-setuptools'
             'python2-numpy')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('a33d636d1870c9e1127631185d89b0105a49f827d6aacd44ad9d8f151f331d8b')

package_python2-quantities() {
  depends+=('python2')

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