From c82a247edac48adfda9f721a5d6f8c3525ba8fd8 Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Fri, 25 Sep 2015 22:32:21 +0300 Subject: main/py-django-oscar: moved from testing (with dependencies) --- main/py-django-haystack/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 main/py-django-haystack/APKBUILD (limited to 'main/py-django-haystack/APKBUILD') diff --git a/main/py-django-haystack/APKBUILD b/main/py-django-haystack/APKBUILD new file mode 100644 index 0000000000..66d8111fb8 --- /dev/null +++ b/main/py-django-haystack/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen +# Maintainer: Kaarle Ritvanen +pkgname=py-django-haystack +pkgver=2.3.1 +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="4c5dc665c1e82701a95168442e2510cd django-haystack-2.3.1.tar.gz" +sha256sums="a30df888ee0da32c4837c328ecf859e992edb6d185efa7d49341cc1949dbb24d django-haystack-2.3.1.tar.gz" +sha512sums="c051523a63f32e066e3d8c83ef5cc9eec77a969801f57a0826073317c4d80bb24a67b4487638d38028ae288d9698d32483b2755f171a1b3cbb66f13b2b28a623 django-haystack-2.3.1.tar.gz" -- cgit v1.2.3