ayaports/user/py3-django-q/APKBUILD

45 lines
1.2 KiB
Text
Raw Normal View History

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-05-05 22:52:21 +00:00
pkgver=1.5.2
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
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
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
2021-11-30 21:44:44 +00:00
build() {
poetry build --format wheel
2021-11-30 21:44:44 +00:00
}
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/.
2021-11-30 21:44:44 +00:00
}
sha512sums="
2023-05-05 22:52:21 +00:00
2507fd0cd78dc3721678457521f9a5d1deabf5d52f18a66b6e12b1c9d065c4d0974ccd21e5231060300fbcc18a0e265a9652916b33a38683688bd39374453f9f py3-django-q-1.5.2.tar.gz
2021-11-30 21:44:44 +00:00
"