aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-django-oscar/APKBUILD
blob: 1ba04fd5fc7f1a16523ff3129c0de9c08ba7842b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer:
pkgname=py-django-oscar
pkgver=1.0.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"
makedepends=py-setuptools
source=https://pypi.python.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
}

build() {
	cd "$_builddir"
	./setup.py build
}

package() {
	cd "$_builddir"
	./setup.py install --root "$pkgdir"
}

md5sums="1fb2a128bcdfd1392926a4b32c3ab22c  django-oscar-1.0.1.tar.gz"
sha256sums="bdee30dec5d5a34632fb1669c023d8d02f0b7fa0e8dca04557cfd3b2182507ee  django-oscar-1.0.1.tar.gz"
sha512sums="a5377e5598cafa8067b329256b7dd7e1facee90bb8e10e897689449ed2f52d0ff3095da0e5a123f556f2d41dc78555701f6929b0c8bb837139591a68a024f427  django-oscar-1.0.1.tar.gz"