aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-django-oscar/APKBUILD
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-08-10 23:34:00 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-08-10 23:34:00 +0300
commit94f911eca8c0e8a1e9214a8c17eef15b43d7c883 (patch)
tree3077046a5cd3bba747f088d1ff950265627f025e /main/py-django-oscar/APKBUILD
parent96ed6cffb779f3133cf6ab04d843147ad5912a77 (diff)
downloadaports-94f911eca8c0e8a1e9214a8c17eef15b43d7c883.tar.bz2
aports-94f911eca8c0e8a1e9214a8c17eef15b43d7c883.tar.xz
main/py-django-oscar: fix dependencies
Diffstat (limited to 'main/py-django-oscar/APKBUILD')
-rw-r--r--main/py-django-oscar/APKBUILD22
1 files changed, 6 insertions, 16 deletions
diff --git a/main/py-django-oscar/APKBUILD b/main/py-django-oscar/APKBUILD
index 57c6e2e152..e73ba1accc 100644
--- a/main/py-django-oscar/APKBUILD
+++ b/main/py-django-oscar/APKBUILD
@@ -2,37 +2,27 @@
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=py-django-oscar
pkgver=1.5
-pkgrel=0
+pkgrel=1
pkgdesc="Domain-driven e-commerce for Django"
url=http://oscarcommerce.com/
arch=noarch
license=BSD
depends="py-babel py-django py-django-extra-views 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-django-phonenumber-field py-django-sorl-thumbnail py-django-tables2
+ py-django-treebeard py-django-widget-tweaks py-factory-boy py-mock
py-pillow py-purl py-unidecode"
makedepends=py-setuptools
source="https://files.pythonhosted.org/packages/source/d/django-oscar/django-oscar-$pkgver.tar.gz
"
-
-_builddir=$srcdir/django-oscar-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir=$srcdir/django-oscar-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./setup.py build
}
package() {
- cd "$_builddir"
+ cd "$builddir"
./setup.py install --root "$pkgdir"
}