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 | |
parent | d96a04010600b7b4a9109465dc74553ec2694099 (diff) | |
download | aur-ec64e59dfb02e5e80c1bb9448280f37ef2cb37ce.tar.gz |
updating release version
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 23 insertions, 25 deletions
@@ -1,16 +1,15 @@ -# Generated by mksrcinfo v8 -# Sat Apr 1 12:50:17 UTC 2017 -pkgbase = python2-quantities +pkgbase = python-quantities pkgdesc = Support for physical quantities with units, based on numpy - pkgver = 0.11.1 + pkgver = 0.12.3 pkgrel = 1 - url = http://packages.python.org/quantities + url = https://pypi.org/project/quantities/#files arch = any license = BSD - depends = python2-numpy - depends = python2-nose - source = https://pypi.python.org/packages/e4/73/23dbd5482d16e6e7bac98e3998c22cbcbecf92dda447bfe1b9ea4ae1509a/quantities-0.11.1.zip - sha256sums = 4382098a501b55bf0fdb3dba2061a161041253697d78811ecfd7c55449836660 + makedepends = python2-setuptools + makedepends = python2-numpy + source = https://files.pythonhosted.org/packages/source/q/quantities/quantities-0.12.3.tar.gz + sha256sums = SKIP pkgname = python2-quantities + depends = python2 @@ -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}" } + |