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-haystack | |
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-haystack')
-rw-r--r-- | testing/py-django-haystack/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/py-django-haystack/APKBUILD b/testing/py-django-haystack/APKBUILD new file mode 100644 index 0000000000..319fdb94b2 --- /dev/null +++ b/testing/py-django-haystack/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: +pkgname=py-django-haystack +pkgver=2.1.0 +pkgrel=0 +pkgdesc="Modular search for Django" +url=http://haystacksearch.org/ +arch=noarch +license=BSD +depends=py-django +makedepends=py-setuptools +source=https://pypi.python.org/packages/source/d/django-haystack/django-haystack-$pkgver.tar.gz + +_builddir=$srcdir/django-haystack-$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" + python setup.py build +} + +package() { + cd "$_builddir" + python setup.py install --root "$pkgdir" +} + +md5sums="0bc74c0d71c30169ddb796c20655fe98 django-haystack-2.1.0.tar.gz" +sha256sums="b8b9aa47cbb1a845ac5ef44d3ce02fcaf148f453c76f93d987b95a78d3698230 django-haystack-2.1.0.tar.gz" +sha512sums="2241ebcea9d42733af486f80508d3ba47231f5881e60156dfedb9e7a604ee8ff59fe97213c007d684484f9eb21f182dd9c9106fc35e03510070e529a1bb5ce3f django-haystack-2.1.0.tar.gz" |