# Contributor: Antoine Martin (ayakael) # Maintainer: Antoine Martin (ayakael) pkgname=py3-django-scopes #_pkgreal is used by apkbuild-pypi to find modules at PyPI _pkgreal=django-scopes pkgver=2.0.0 pkgrel=0 pkgdesc="Scope querys in multi-tenant django applications" url="https://pypi.python.org/project/django-scopes" arch="noarch" license="Apache-2.0" depends="py3-django" checkdepends="python3-dev" makedepends="py3-setuptools py3-gpep517 py3-wheel" source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/d/django-scopes/django-scopes-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" subpackages="$pkgname-pyc" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" ff9b2337c84ba076209958effb326fd5827547acd86351cc7ac9b15220d0c689c153776a07ae9c0d15f3fba034430023df25197d98a095f005f7edeab565c08f py3-django-scopes-2.0.0.tar.gz "