# Contributor: Kaarle Ritvanen <kunkku@alpinelinux.org>
# Maintainer: Kaarle Ritvanen <kunkku@alpinelinux.org>
pkgname=py3-django-oscar-promotions
pkgver=1.0.0_beta1
pkgrel=6
pkgdesc="Promotions for Django Oscar"
url="http://oscarcommerce.com/"
arch="noarch"
license="BSD-3-Clause"
depends="py3-django-oscar"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/d/django-oscar-promotions/django-oscar-promotions-${pkgver//_beta/b}.tar.gz
	django-4.patch
	"
builddir="$srcdir/django-oscar-promotions-${pkgver//_beta/b}"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --root "$pkgdir"
}

sha512sums="
dd62cc31aa45d0c71d9f0dfda897bee30144b4ef37a0cfd1d8c47bf996f9d0c2af9a224816649bdaccb1d2307b83afb758630cf428dce134feab9bbef4efcaf1  django-oscar-promotions-1.0.0b1.tar.gz
a508b17ad65d6eaaba265faed58968c4feb9e93b47f75c4cee64568ee61bb4d22c21c6935076216081801da3aa1c61bde30800959c2ecb0c4533a7b7ab22a444  django-4.patch
"
