diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-05-01 12:36:00 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-05-01 12:40:10 +0300 |
commit | 81157a4c9f7955f32f3fbcf7b6fdd8470c3d975f (patch) | |
tree | 2ab58903529d845f4fb77308bb28ea418c1b946f /testing/py-django-oscar | |
parent | f98161dc2bf1f6cc312620f7060ac558fed79a6b (diff) | |
download | aports-81157a4c9f7955f32f3fbcf7b6fdd8470c3d975f.tar.bz2 aports-81157a4c9f7955f32f3fbcf7b6fdd8470c3d975f.tar.xz |
py-django-oscar: new package
dependencies included
Diffstat (limited to 'testing/py-django-oscar')
-rw-r--r-- | testing/py-django-oscar/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/py-django-oscar/APKBUILD b/testing/py-django-oscar/APKBUILD new file mode 100644 index 0000000000..6e3483871e --- /dev/null +++ b/testing/py-django-oscar/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: +pkgname=py-django-oscar +pkgver=0.7 +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-sorl-thumbnail py-django-south + py-django-treebeard py-phonenumbers py-pillow py-purl py-six + 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="a518e4fcd92cadd84f43e49fc8c15f2f django-oscar-0.7.tar.gz" +sha256sums="fa33416e2cf03d94213f81ad2d17d930eb2b2eb574dbb71f1f655d049d230f55 django-oscar-0.7.tar.gz" +sha512sums="49e7709f18e56fd1c307387135dded27f227d9d9e167c72cea5eb5eed47c99b5fe49364592bd66ad1b3739906f27fb02c846466574a71f37a3cd6cffdc232290 django-oscar-0.7.tar.gz" |