Skip to content
Snippets Groups Projects
Commit 58c54310 authored by Kaarle Ritvanen's avatar Kaarle Ritvanen
Browse files

community/py3-django-oscar-promotions: Django 4

parent b76e7325
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# Maintainer: Kaarle Ritvanen <kunkku@alpinelinux.org>
pkgname=py3-django-oscar-promotions
pkgver=1.0.0b1
pkgrel=4
pkgrel=5
pkgdesc="Promotions for Django Oscar"
url="http://oscarcommerce.com/"
arch="noarch"
......@@ -11,6 +11,7 @@ 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.tar.gz
django-4.patch
"
builddir="$srcdir/django-oscar-promotions-$pkgver"
......@@ -22,4 +23,7 @@ package() {
python3 setup.py install --root "$pkgdir"
}
sha512sums="dd62cc31aa45d0c71d9f0dfda897bee30144b4ef37a0cfd1d8c47bf996f9d0c2af9a224816649bdaccb1d2307b83afb758630cf428dce134feab9bbef4efcaf1 django-oscar-promotions-1.0.0b1.tar.gz"
sha512sums="
dd62cc31aa45d0c71d9f0dfda897bee30144b4ef37a0cfd1d8c47bf996f9d0c2af9a224816649bdaccb1d2307b83afb758630cf428dce134feab9bbef4efcaf1 django-oscar-promotions-1.0.0b1.tar.gz
a508b17ad65d6eaaba265faed58968c4feb9e93b47f75c4cee64568ee61bb4d22c21c6935076216081801da3aa1c61bde30800959c2ecb0c4533a7b7ab22a444 django-4.patch
"
--- django-oscar-promotions-1.0.0b1/oscar_promotions/apps.py
+++ django-oscar-promotions-1.0.0b1.dj4/oscar_promotions/apps.py
@@ -1,4 +1,4 @@
-from django.conf.urls import url
+from django.urls import re_path as url
from django.utils.translation import gettext_lazy as _
from oscar.core.application import OscarConfig
from oscar.core.loading import get_class, get_model
--- django-oscar-promotions-1.0.0b1/oscar_promotions/dashboard/apps.py
+++ django-oscar-promotions-1.0.0b1.dj4/oscar_promotions/dashboard/apps.py
@@ -1,4 +1,4 @@
-from django.conf.urls import url
+from django.urls import re_path as url
from django.utils.translation import gettext_lazy as _
from oscar.core.application import OscarDashboardConfig
from oscar.core.loading import get_class
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment