diff options
-rw-r--r-- | testing/py-django-widget-tweaks/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/py-django-widget-tweaks/APKBUILD b/testing/py-django-widget-tweaks/APKBUILD new file mode 100644 index 0000000000..c7ae3a7246 --- /dev/null +++ b/testing/py-django-widget-tweaks/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: +pkgname=py-django-widget-tweaks +pkgver=1.4 +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="b7a7debc9dc540e73aac38cb009b2f5b django-widget-tweaks-1.4.tar.gz" +sha256sums="515ad15a4b7c32018722b03f4e5405eeaa2b344da4bb942fc3f43dab676afb24 django-widget-tweaks-1.4.tar.gz" +sha512sums="5a75787389d861137fbd4cea45ade10f7c94b82fba24a122e7b8210666596b16240ff500c35eaa85dc8c3628044aacd3fa5e4595d55fac835e7d9d222bf39057 django-widget-tweaks-1.4.tar.gz" |