Date: Saturday, January 18, 2020 @ 14:17:12 Author: alucryd Revision: 552996
upgpkg: python-django-q .1.1.0-1 Modified: python-django-q/trunk/PKGBUILD ----------+ PKGBUILD | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-01-18 14:13:24 UTC (rev 552995) +++ PKGBUILD 2020-01-18 14:17:12 UTC (rev 552996) @@ -1,20 +1,33 @@ # Maintainer: Maxime Gauduin <aluc...@archlinux.org> pkgname=python-django-q -pkgver=1.0.2 -pkgrel=2 +pkgver=.1.1.0 +pkgrel=1 pkgdesc='A multiprocessing distributed task queue for Django' -arch=('any') -url='https://github.com/Koed00/django-q' -license=('MIT') +arch=(any) +url=https://github.com/Koed00/django-q +license=(MIT) depends=( - 'python-arrow' 'python-blessed' 'python-django' 'python-django-picklefield' - 'python-future' 'python-six' + python-arrow + python-blessed + python-django + python-django-picklefield + python-future + python-six ) -makedepends=('git' 'python-setuptools') -source=("git+https://github.com/Koed00/django-q.git#tag=v${pkgver}") -sha256sums=('SKIP') +makedepends=( + git + python-setuptools +) +source=(git+https://github.com/Koed00/django-q.git#tag=3389e00f09b7ca542dd1b5d9d9de06f472f25622) +sha256sums=(SKIP) +pkgver() { + cd django-q + + git describe --tags | sed 's/^v//' +} + build() { cd django-q @@ -24,7 +37,7 @@ package() { cd django-q - python setup.py install --root="${pkgdir}" --optimize='1' --skip-build + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-django-q/ }