# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) pkgname=py3-django-q _pyname="django-q" pkgver=1.3.9 pkgrel=0 arch="noarch" pkgdesc="A multiprocessing distributed task queue for Django" url="https://pypi.python.org/project/$_pyname" license="MIT" depends=" py3-asgiref py3-blessed py3-dateutil py3-django py3-django-picklefield py3-future py3-tz py3-redis py3-six py3-sqlparse py3-wcwidth " makedepends='poetry py3-pip' # 'python-boto3: Amazon Simple Queue Service message queue support' # 'python-psutil: resource usage limit support' # 'python-pymongo: MongoDB as a message broker support' options="!check" # No testsuite source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz" builddir="$srcdir"/$_pyname-$pkgver build() { poetry build --format wheel } package() { PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps dist/*.whl cp django_q -R "$pkgdir"/usr/lib/python*/site-packages/. } sha512sums=" 5e87e3de7781430e72e1e8a3e56070836ba8d222c45bcef90b71aba6105d5d6516e7bfc7f7479711ca8ce2448bbce1f7b4830a187c9fc260d590a5ae3f9dfbd3 py3-django-q-1.3.9.tar.gz "