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"
|
2023-08-30 17:54:58 +00:00
|
|
|
pkgver=1.5.4
|
2023-01-10 19:12:28 +00:00
|
|
|
pkgrel=0
|
2023-08-11 19:49:05 +00:00
|
|
|
arch="noarch"
|
2023-01-10 19:12:28 +00:00
|
|
|
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
|
2023-08-30 17:54:58 +00:00
|
|
|
py3-django-redis
|
2023-01-10 19:12:28 +00:00
|
|
|
py3-future
|
|
|
|
py3-tz
|
|
|
|
py3-redis
|
|
|
|
py3-six
|
|
|
|
py3-sqlparse
|
|
|
|
py3-wcwidth
|
|
|
|
"
|
2023-08-30 17:54:58 +00:00
|
|
|
makedepends="
|
|
|
|
py3-gpep517
|
|
|
|
py3-installer
|
|
|
|
py3-wheel
|
|
|
|
py3-setuptools
|
|
|
|
"
|
|
|
|
checkdepends="
|
|
|
|
py3-pytest
|
|
|
|
"
|
2021-11-30 21:44:44 +00:00
|
|
|
# 'python-boto3: Amazon Simple Queue Service message queue support'
|
|
|
|
# 'python-psutil: resource usage limit support'
|
|
|
|
# 'python-pymongo: MongoDB as a message broker support'
|
2023-08-30 17:54:58 +00:00
|
|
|
options="!check" # Missing check depends
|
2023-05-05 22:52:21 +00:00
|
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/django-q2/django-q2/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir"/django-q2-$pkgver
|
2023-08-30 17:54:58 +00:00
|
|
|
subpackages="$pkgname-pyc"
|
2021-11-30 21:44:44 +00:00
|
|
|
|
|
|
|
build() {
|
2023-08-30 17:54:58 +00:00
|
|
|
gpep517 build-wheel \
|
|
|
|
--wheel-dir dist \
|
|
|
|
--output-fd 3 3>&1 >&2
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
PYTHONPATH="$builddir" pytest -v
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-08-30 17:54:58 +00:00
|
|
|
python3 -m installer -d "$pkgdir" \
|
|
|
|
dist/*.whl
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-08-30 17:54:58 +00:00
|
|
|
ebed301dc1f4a9854f9963137997219f08abed9c10ef86d363a658b83e17968ea5f62e5641ff7c6be92df4b7d5dc539dc1fed6def56ea4fb50ccc4ec0787bd6d py3-django-q-1.5.4.tar.gz
|
2021-11-30 21:44:44 +00:00
|
|
|
"
|