testing/py3-django-celery-results: move from user

This commit is contained in:
Antoine Martin 2023-08-30 13:54:36 -04:00
parent 149cd61df5
commit 542a6fad45

View file

@ -5,23 +5,50 @@ pkgname=py3-django-celery-results
_pyname="django_celery_results" _pyname="django_celery_results"
pkgver=2.5.1 pkgver=2.5.1
pkgrel=0 pkgrel=0
arch="noarch" arch="noarch !s390x" # Missing py3-celery depend
pkgdesc="Celery result backends for Django." pkgdesc="Celery result backends for Django."
url="https://pypi.python.org/project/$_pyname" url="https://pypi.python.org/project/$_pyname"
license="BSD-3-Clause" license="BSD-3-Clause"
depends='python3 py3-django py3-celery' depends="
makedepends='py3-setuptools' py3-django
options="!check" # No testsuite 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" source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver builddir="$srcdir"/$_pyname-$pkgver
subpackages="$pkgname-pyc"
build() { build() {
python3 setup.py build gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
}
check() {
python3 manage.py test
} }
package() { package() {
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build python3 -m installer -d "$pkgdir" \
dist/*.whl
} }
sha512sums=" sha512sums="
2da39098a36847ab171a0758b37daafd0a7e17c905b599efebb582226a7adce5f1b5b941bd59db29e5d502d896f8474d2b9771454ef409cdef03b952f0a42526 py3-django-celery-results-2.5.1.tar.gz 2da39098a36847ab171a0758b37daafd0a7e17c905b599efebb582226a7adce5f1b5b941bd59db29e5d502d896f8474d2b9771454ef409cdef03b952f0a42526 py3-django-celery-results-2.5.1.tar.gz
" "