diff options
-rw-r--r-- | main/py-django-oscar/APKBUILD | 22 |
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" } |