aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-django-widget-tweaks/APKBUILD
blob: 41edc63b1cee82898d465366e839d5e57162d5f1 (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
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=py-django-widget-tweaks
pkgver=1.4.1
pkgrel=0
pkgdesc="Tweak the form field rendering in templates, not in python-level form definitions"
url=https://github.com/kmike/django-widget-tweaks
arch=noarch
license=MIT
depends=py-django
makedepends=py-setuptools
source=https://pypi.python.org/packages/source/d/django-widget-tweaks/django-widget-tweaks-$pkgver.tar.gz

_builddir=$srcdir/django-widget-tweaks-$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="2ecbb8002e3c178ba0e6d2fe4a9e5798  django-widget-tweaks-1.4.1.tar.gz"
sha256sums="0baee0b905286fde028fdbd0dd1d985d4656dab472b0fd4ca4cd556ee38a047e  django-widget-tweaks-1.4.1.tar.gz"
sha512sums="699e8ad8fb44355e07e560b698429d8b242e933bbb690cce182b85fce65cdba0ac1d2a28bc723a24db1954d690b35d31b99c39fc9779fd3018869896effba645  django-widget-tweaks-1.4.1.tar.gz"