blob: 1a9bea189853883f484aa5cacc6b9213adf06956 (
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 <newsletter dot sergio at gmail dot com>
pkgbase=python-quantities
pkgname=('python-quantities')
_name=${pkgbase#python-}
pkgver=0.14.1
pkgrel=1
pkgdesc="Support for physical quantities with units, based on numpy"
arch=('any')
url="https://pypi.org/project/quantities/#files"
license=('BSD')
makedepends=('python-setuptools'
'python-numpy')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('efeafffc0c0364f891a9327239cd12496bccb55cd037a6d1bf44de706f722877')
package_python-quantities() {
depends+=('python')
cd "${srcdir}/${_name}-${pkgver}"
python setup.py install --root="${pkgdir}"
}
|