# Contributor: # Maintainer: Natanael Copa _pkgname=django-registration pkgname=py-${_pkgname} pkgver=1.0 pkgrel=0 pkgdesc="simple user-registration application for Django" url="https://bitbucket.org/ubernostrum/django-registration/wiki/Home" arch="noarch" license="BSD" makedepends="python-dev py-setuptools" depends="python" source="https://bitbucket.org/ubernostrum/django-registration/downloads/${_pkgname}-${pkgver}.tar.gz" _builddir="${srcdir}/${_pkgname}-${pkgver}" prepare() { local pf cd "${_builddir}" for pf in $source; do case $pf in *.patch) msg $pf; patch -p1 -i "$srcdir"/${pf} || return 1;; esac done } build() { cd "${_builddir}" python setup.py build || return 1 } package() { cd "${_builddir}" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="56a7e705dcef054ee44d51f1ef7b1db0 django-registration-1.0.tar.gz" sha256sums="f19112fa1c1f34eb46427afa280398d9f044a604d68d6d0d15047243e0a71d93 django-registration-1.0.tar.gz" sha512sums="53b191e4c75629d3ce93e4817a843bc1b056a14558be892aa95dc060b8b0542ddcae79f7cb0b37c4e758e8d9da093e59a57591294539acfed39b998b7087e0e6 django-registration-1.0.tar.gz"