2023-01-10 19:12:28 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
2021-11-30 21:44:44 +00:00
|
|
|
|
2023-01-10 19:12:28 +00:00
|
|
|
pkgname=py3-django-q
|
|
|
|
_pyname="django-q"
|
2021-11-30 21:44:44 +00:00
|
|
|
pkgver=1.3.9
|
2023-01-10 19:12:28 +00:00
|
|
|
pkgrel=0
|
|
|
|
arch="noarch"
|
|
|
|
pkgdesc="A multiprocessing distributed task queue for Django"
|
2021-11-30 21:44:44 +00:00
|
|
|
url="https://pypi.python.org/project/$_pyname"
|
|
|
|
license="MIT"
|
2023-01-10 19:12:28 +00:00
|
|
|
depends="
|
|
|
|
py3-asgiref
|
|
|
|
py3-blessed
|
|
|
|
py3-dateutil
|
|
|
|
py3-django
|
|
|
|
py3-django-picklefield
|
|
|
|
py3-future
|
|
|
|
py3-tz
|
|
|
|
py3-redis
|
|
|
|
py3-six
|
|
|
|
py3-sqlparse
|
|
|
|
py3-wcwidth
|
|
|
|
"
|
2021-11-30 21:44:44 +00:00
|
|
|
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'
|
2023-01-10 19:12:28 +00:00
|
|
|
options="!check" # No testsuite
|
|
|
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
2021-11-30 21:44:44 +00:00
|
|
|
builddir="$srcdir"/$_pyname-$pkgver
|
|
|
|
|
|
|
|
build() {
|
2022-07-31 15:34:11 +00:00
|
|
|
poetry build --format wheel
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2022-07-31 15:34:11 +00:00
|
|
|
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/.
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
5e87e3de7781430e72e1e8a3e56070836ba8d222c45bcef90b71aba6105d5d6516e7bfc7f7479711ca8ce2448bbce1f7b4830a187c9fc260d590a5ae3f9dfbd3 py3-django-q-1.3.9.tar.gz
|
|
|
|
"
|