# Contributor: Leonardo Arena # Maintainer: Justin Berthault pkgname=py3-django-cors-headers pkgver=3.3.0 pkgrel=0 pkgdesc="Django app for handling the server headers required for Cross-Origin Resource Sharing (CORS)" options="!check" # Requires running django instance url="https://github.com/OttoYiu/django-cors-headers" arch="noarch" license="MIT" depends="py3-django" makedepends="py3-setuptools" checkdepends="py3-tz py3-mock py3-pytest py3-coverage py3-pytest-cov" source="https://files.pythonhosted.org/packages/source/d/django-cors-headers/django-cors-headers-$pkgver.tar.gz" builddir="$srcdir"/django-cors-headers-$pkgver build() { python3 setup.py --quiet build } check() { python3 runtests.py ./tests } package() { python3 setup.py --quiet install --prefix=/usr --root="$pkgdir" } sha512sums="d37016400a73d5130deabbedc9a185018d332a006c5a2f8238e7924fab493c0b3b5282e124a061b2d2b90dddd638554e4e277b4c8e8d9ad31168eeac523fe69e django-cors-headers-3.3.0.tar.gz"