# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) pkgname=py3-django-q _pyname="django-q" pkgver=1.5.4 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-django-redis py3-future py3-tz py3-redis py3-six py3-sqlparse py3-wcwidth " makedepends=" py3-gpep517 py3-installer py3-wheel py3-setuptools " checkdepends=" py3-pytest " # '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" # Missing check depends source="$pkgname-$pkgver.tar.gz::https://github.com/django-q2/django-q2/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir"/django-q2-$pkgver subpackages="$pkgname-pyc" build() { gpep517 build-wheel \ --wheel-dir dist \ --output-fd 3 3>&1 >&2 } check() { PYTHONPATH="$builddir" pytest -v } package() { python3 -m installer -d "$pkgdir" \ dist/*.whl } sha512sums=" ebed301dc1f4a9854f9963137997219f08abed9c10ef86d363a658b83e17968ea5f62e5641ff7c6be92df4b7d5dc539dc1fed6def56ea4fb50ccc4ec0787bd6d py3-django-q-1.5.4.tar.gz "