aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-django-oscar/APKBUILD
blob: e44ffa4519eccea806f01454d2bfa1f2d3cc5ae9 (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: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=py-django-oscar
pkgver=1.3
pkgrel=0
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-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
}

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

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

md5sums="babec29d1d1b587e7bdb9dde9635745a  django-oscar-1.3.tar.gz"
sha256sums="80db5f2d5edd45af9682f8a359635deba98df6ecd0803788ccc2df5849e036f0  django-oscar-1.3.tar.gz"
sha512sums="0fbec389423b93c7e9826c58a4f3d02fc9c2959525eb2d1ff1e23ec3fc875673f0f0ab6b1e96466f6b44951cdbd271315fa5dd0a659b4322a94e6cd8c2b93532  django-oscar-1.3.tar.gz"