diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-31 11:59:22 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-31 11:59:22 +0100 |
commit | 385d2008f65994bbe486c4f6b9778c68ff644663 (patch) | |
tree | 61322a67306b5d3c4fc46848ddc7d1694e1270d1 /main/py-django-registation/APKBUILD | |
parent | 74620c96e881cc849c347c2018c451cf0a1f418f (diff) | |
download | aports-385d2008f65994bbe486c4f6b9778c68ff644663.tar.bz2 aports-385d2008f65994bbe486c4f6b9778c68ff644663.tar.xz |
main/seafile: more seafile deps move to main
Diffstat (limited to 'main/py-django-registation/APKBUILD')
-rw-r--r-- | main/py-django-registation/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/main/py-django-registation/APKBUILD b/main/py-django-registation/APKBUILD new file mode 100644 index 0000000000..99d3ae86fa --- /dev/null +++ b/main/py-django-registation/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: <xmingske@gmail.com> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +_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" |