# Contributor: Kaarle Ritvanen # Maintainer: Kaarle Ritvanen pkgname=py3-django-oscar pkgver=3.2 pkgrel=2 pkgdesc="Domain-driven e-commerce for Django" url="http://oscarcommerce.com/" arch="noarch" license="BSD-3-Clause" depends="py3-babel py3-django py3-django-extra-views py3-django-haystack py3-django-phonenumber-field py3-django-sorl-thumbnail py3-django-tables2 py3-django-treebeard py3-django-widget-tweaks py3-factory-boy py3-pillow py3-purl" makedepends="gettext py3-setuptools" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/d/django-oscar/django-oscar-$pkgver.tar.gz 0001-Add-Python-3.10-to-test-suite.patch 0002-Support-Django-4.2-remove-Python-3.7-support-and-add.patch " builddir="$srcdir/django-oscar-$pkgver" replaces="py-django-oscar" # Backwards compatibility provides="py-django-oscar=$pkgver-r$pkgrel" # Backwards compatibility prepare() { default_prepare django-admin compilemessages } build() { python3 setup.py build } check() { python3 setup.py check } package() { python3 setup.py install --root "$pkgdir" } sha512sums=" 1d12c0069b57653bdd65548f9cc259e6bdc749b8a60888c2686e155aa88c8a4ae41eb78fb217e7e8de36bb38db1e9a8f66cab625bf99163ec2e9be20cb9c0bb1 django-oscar-3.2.tar.gz 8ff30c7830a528428e8aaf893c027c5ca407d2efa1945b94d158452e0b2a114e2be4094ce42635fe73f467406606df1d39745638f858b85193a9d971fbd9d1d0 0001-Add-Python-3.10-to-test-suite.patch 45ccd1ebef6f2fecd87dbca55f439b6d645208d04dd38fa21edffd8804815b1735bb00b3a1289f2bc186117375e89b2b675a2ce608dd5e713f8968cda3c22b73 0002-Support-Django-4.2-remove-Python-3.7-support-and-add.patch "