aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-django-registration/APKBUILD
blob: 71f7854bcfb08f5d9257fc278bfc3246a8e5c308 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Contributor: <xmingske@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_pkgname=django-registration
pkgname=py-${_pkgname}
pkgver=1.0
pkgrel=2
pkgdesc="simple user-registration application for Django"
url="https://github.com/ubernostrum/django-registration"
arch="noarch"
license="BSD-3-Clause"
makedepends="py-setuptools"
depends="python2"
source="${_pkgname}-${pkgver}.tar.gz::https://github.com/ubernostrum/django-registration/archive/${pkgver}.tar.gz"

builddir="${srcdir}/${_pkgname}-${pkgver}"

build() {
	python2 setup.py build
}

package() {
	python2 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="d47863a4fd0d5b68d2fe8419c85d7dda631ddb3afbeb32dbc530ec7f3e1a78bd795485cc295376e54d3da5e87b92b987b45ca4c11cc75a83cec537a77fe84e8f  django-registration-1.0.tar.gz"