aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-django-oscar
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py-django-oscar')
-rw-r--r--testing/py-django-oscar/0001-Add-required-fields-attributes.patch45
-rw-r--r--testing/py-django-oscar/APKBUILD20
2 files changed, 8 insertions, 57 deletions
diff --git a/testing/py-django-oscar/0001-Add-required-fields-attributes.patch b/testing/py-django-oscar/0001-Add-required-fields-attributes.patch
deleted file mode 100644
index 363042cb18..0000000000
--- a/testing/py-django-oscar/0001-Add-required-fields-attributes.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From ecf15acff28361b8f194f5232204792d915474fc Mon Sep 17 00:00:00 2001
-From: Arthur Case <arthur@studio-automatique.com>
-Date: Tue, 9 Jun 2015 17:07:13 +0800
-Subject: [PATCH] Add required fields attributes
-
-Some dashboard.promotions views were missing a fields attribute. For Django 1.8 compatibilty.
----
- src/oscar/apps/dashboard/promotions/views.py | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git a/src/oscar/apps/dashboard/promotions/views.py b/src/oscar/apps/dashboard/promotions/views.py
-index a9bc2f1..45005b0 100644
---- a/src/oscar/apps/dashboard/promotions/views.py
-+++ b/src/oscar/apps/dashboard/promotions/views.py
-@@ -174,6 +174,8 @@ class CreateMultiImageView(CreateView):
-
- class CreateAutomaticProductListView(CreateView):
- model = AutomaticProductList
-+ fields = ['name', 'description', 'link_url', 'link_text', 'method',
-+ 'num_products']
-
-
- class CreateHandPickedProductListView(CreateView):
-@@ -279,14 +281,18 @@ class UpdateSingleProductView(UpdateView):
-
- class UpdateImageView(UpdateView):
- model = Image
-+ fields = ['name', 'link_url', 'image']
-
-
- class UpdateMultiImageView(UpdateView):
- model = MultiImage
-+ fields = ['name', 'images']
-
-
- class UpdateAutomaticProductListView(UpdateView):
- model = AutomaticProductList
-+ fields = ['name', 'description', 'link_url', 'link_text', 'method',
-+ 'num_products']
-
-
- class UpdateHandPickedProductListView(UpdateView):
---
-2.1.0
-
diff --git a/testing/py-django-oscar/APKBUILD b/testing/py-django-oscar/APKBUILD
index 6d2b860b47..d01f9976f3 100644
--- a/testing/py-django-oscar/APKBUILD
+++ b/testing/py-django-oscar/APKBUILD
@@ -1,19 +1,18 @@
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer:
pkgname=py-django-oscar
-pkgver=1.0.2
+pkgver=1.1
pkgrel=0
pkgdesc="Domain-driven e-commerce for Django"
url=http://oscarcommerce.com/
arch=noarch
license=BSD
depends="py-babel py-django py-django-compressor py-django-extra-views
- py-django-haystack py-django-tables2 py-django-sorl-thumbnail
- py-django-treebeard py-factory-boy py-mock py-phonenumbers py-pillow
- py-purl py-unidecode"
+ py-django-haystack py-django-sorl-thumbnail py-django-tables2
+ py-django-treebeard py-django-widget-tweaks py-factory-boy py-mock
+ py-phonenumbers py-pillow py-purl py-unidecode"
makedepends=py-setuptools
-source="https://pypi.python.org/packages/source/d/django-oscar/django-oscar-$pkgver.tar.gz
- 0001-Add-required-fields-attributes.patch"
+source="https://pypi.python.org/packages/source/d/django-oscar/django-oscar-$pkgver.tar.gz"
_builddir=$srcdir/django-oscar-$pkgver
prepare() {
@@ -36,9 +35,6 @@ package() {
./setup.py install --root "$pkgdir"
}
-md5sums="2b74ae1844ed75c08dcc667412c658b3 django-oscar-1.0.2.tar.gz
-0c8a62f12f5fb642ccee729760c177d1 0001-Add-required-fields-attributes.patch"
-sha256sums="8020c12a72aa986cce7ae5402248d473dbce9df941ddecdfea0bc26c46add8f9 django-oscar-1.0.2.tar.gz
-c0101e2d6b08814f0a43a47883455c18ac9d5f54e5b45304c028b185ea7f9366 0001-Add-required-fields-attributes.patch"
-sha512sums="f04c97dc6dac6addd403670e7843582d57173e7d49127bc8be516f310d3d67e13dc3e37873a5f6945a37b027085b74861f537e023fdff1c6ea27450143109923 django-oscar-1.0.2.tar.gz
-0d332889d6a1a8d550d19e4babbddb3d7d45c9c11aa4eff62bbbe76dfc0243c72f9ecbc6afd8c34e3e3cac35ddcf9764ab54b59023643c3542e1455a2ac8887f 0001-Add-required-fields-attributes.patch"
+md5sums="290bc1708c3ddb61f9ee55be9a90d7c1 django-oscar-1.1.tar.gz"
+sha256sums="33b18e7854fde53d5ef2b0f8128974a31ae3049adc3a313002e0674ba1a1c4f1 django-oscar-1.1.tar.gz"
+sha512sums="73e630389a3beea4a0555bd05f3ee301be79adb6e10e1c84ee105a2c11c683be22791f44468cddcd48b5000f355e345ba6eb7c0d9cabb0c3c4fafb94a02cdf5b django-oscar-1.1.tar.gz"