ayaports/user/py3-django-q/APKBUILD

44 lines
1.2 KiB
Text

# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-django-q
_pyname="django-q"
pkgver=1.5.2
pkgrel=0
arch="!armv7 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://github.com/django-q2/django-q2/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir"/django-q2-$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="
2507fd0cd78dc3721678457521f9a5d1deabf5d52f18a66b6e12b1c9d065c4d0974ccd21e5231060300fbcc18a0e265a9652916b33a38683688bd39374453f9f py3-django-q-1.5.2.tar.gz
"