# Contributor: Celeste # Maintainer: Celeste pkgname=py3-django-storages pkgver=1.13.2 pkgrel=0 pkgdesc="Custom storage backends for Django" url="https://django-storages.readthedocs.io/" arch="noarch" license="BSD-3-Clause" depends="py3-django" makedepends=" py3-gpep517 py3-setuptools py3-wheel " checkdepends=" py3-boto3 py3-cryptography py3-paramiko py3-pytest-cov py3-rsa py3-tox " subpackages="$pkgname-pyc" source="https://github.com/jschneier/django-storages/archive/$pkgver/py3-django-storages-$pkgver.tar.gz" builddir="$srcdir/django-storages-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl DJANGO_SETTINGS_MODULE=tests.settings \ .testenv/bin/python3 -m pytest \ --ignore tests/test_azure.py \ --ignore tests/test_dropbox.py \ --ignore tests/test_gcloud.py } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 9c680961783e9b31db4fd2d2a6a8a9af39b80cbf86dccf1c1f1ddd6d79ece1ed0c84d18cef93b00792e74d2679a7c63279f0dd8ee45f8bbb9bfe3daf0ddd1ba2 py3-django-storages-1.13.2.tar.gz "