54 lines
1.2 KiB
Text
54 lines
1.2 KiB
Text
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
pkgname=py3-django-celery-results
|
|
_pyname="django_celery_results"
|
|
pkgver=2.5.1
|
|
pkgrel=0
|
|
arch="noarch !s390x" # Missing py3-celery depend
|
|
pkgdesc="Celery result backends for Django."
|
|
url="https://pypi.python.org/project/$_pyname"
|
|
license="BSD-3-Clause"
|
|
depends="
|
|
py3-django
|
|
py3-celery
|
|
"
|
|
makedepends="
|
|
py3-setuptools
|
|
py3-gpep517
|
|
py3-wheel
|
|
py3-installer
|
|
"
|
|
checkdepends="
|
|
py3-pytest
|
|
py3-pytest-django
|
|
py3-pytest-benchmark
|
|
py3-pytest-cov
|
|
py3-pytz
|
|
py3-psycopg2
|
|
py3-pyscopg
|
|
py3-case
|
|
"
|
|
options="!check" # Broken testsuite
|
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pyname-$pkgver
|
|
subpackages="$pkgname-pyc"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 manage.py test
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
2da39098a36847ab171a0758b37daafd0a7e17c905b599efebb582226a7adce5f1b5b941bd59db29e5d502d896f8474d2b9771454ef409cdef03b952f0a42526 py3-django-celery-results-2.5.1.tar.gz
|
|
"
|