diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-06-27 21:04:56 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-06-27 23:17:48 +0300 |
commit | c4a2aa33f5f2412387ef64a769e4f5d973d49f6d (patch) | |
tree | 7ff9279860b37feb38eff7165b1c00bfc0b8e319 /testing/py-django-widget-tweaks | |
parent | 74f9473122f19fd1dd4d52daa28aa408f3cce801 (diff) | |
download | aports-c4a2aa33f5f2412387ef64a769e4f5d973d49f6d.tar.bz2 aports-c4a2aa33f5f2412387ef64a769e4f5d973d49f6d.tar.xz |
testing/py-django-widget-tweaks: new package
Diffstat (limited to 'testing/py-django-widget-tweaks')
-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" |