blob: 8b74d2d228a1ac1e9da71da43113a57cab2eda55 (
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
|
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=py-django-widget-tweaks
pkgver=1.4.5
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://files.pythonhosted.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"
}
sha512sums="5621f611a794a59319ce0a290c53334ee51df11ed1e1c2e9db4ddf5ce44f3c52e299eea0afc5577e7ed43eb0bfe4bab2ef5b5cf0d45fc0608b1573936148aa72 django-widget-tweaks-1.4.5.tar.gz"
|