Skip to content

Instantly share code, notes, and snippets.

@lubosz
Created December 7, 2013 05:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lubosz/7837709 to your computer and use it in GitHub Desktop.
Save lubosz/7837709 to your computer and use it in GitHub Desktop.
update django-registration to 1.0 and python 3
# Contributor: Chaiwat Suttipongsakul <cwt at bashell dot com>
# Maintainer: Chris Down <chris@chrisdown.name>
# Contributor: Lubosz Sarnecki <lubosz@gmail.com>
pkgname=django-registration
pkgver=1.0
pkgrel=1
pkgdesc="A simple, generic user-registration application for Django"
arch=( any )
url="http://bitbucket.org/ubernostrum/django-registration"
license=('GPL')
depends=( python python-django )
source=("http://pypi.python.org/packages/source/d/django-registration/$pkgname-$pkgver.tar.gz")
sha256sums=('f19112fa1c1f34eb46427afa280398d9f044a604d68d6d0d15047243e0a71d93')
build() {
cd "$srcdir/$pkgname-$pkgver"
python setup.py build
}
package() {
cd "$srcdir/$pkgname-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment