diff options
author | mcgyver | 2020-03-01 19:47:09 +0000 |
---|---|---|
committer | mcgyver | 2020-03-01 19:47:09 +0000 |
commit | ec64e59dfb02e5e80c1bb9448280f37ef2cb37ce (patch) | |
tree | 6a4e4732697b56aeeeeacbe846beadf612ce52ad /PKGBUILD | |
parent | d96a04010600b7b4a9109465dc74553ec2694099 (diff) | |
download | aur-ec64e59dfb02e5e80c1bb9448280f37ef2cb37ce.tar.gz |
updating release version
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 15 insertions, 16 deletions
@@ -1,24 +1,23 @@ -# Maintainer: Jean Lucas <jean@4ray.co> -# Contributor: Jameson Pugh <imntreal@gmail.com> -# Contributor: Sebastien Binet <binet@lblbox> +# Maintainer: Sergio Davies <sergio dot newsletter at gmail dot com> -pkgname=python2-quantities -pkgver=0.11.1 +pkgbase=python-quantities +pkgname=('python2-quantities') +_name=${pkgbase#python-} +pkgver=0.12.3 pkgrel=1 pkgdesc="Support for physical quantities with units, based on numpy" -url="http://packages.python.org/quantities" arch=('any') +url="https://pypi.org/project/quantities/#files" license=('BSD') -depends=('python2-numpy' 'python2-nose') -source=("https://pypi.python.org/packages/e4/73/23dbd5482d16e6e7bac98e3998c22cbcbecf92dda447bfe1b9ea4ae1509a/quantities-0.11.1.zip") -sha256sums=('4382098a501b55bf0fdb3dba2061a161041253697d78811ecfd7c55449836660') +makedepends=('python2-setuptools' + 'python2-numpy') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") +sha256sums=('SKIP') -build() { - cd "${srcdir}/quantities-${pkgver}" - python2 setup.py build -} +package_python2-quantities() { + depends+=('python2') -package() { - cd "${srcdir}/quantities-${pkgver}" - python2 setup.py install --prefix=/usr --root=${pkgdir} + cd "${srcdir}/${_name}-${pkgver}" + python2 setup.py install --root="${pkgdir}" } + |