aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-django-simple-captcha/APKBUILD
blob: 734c0046032f8fe0833c52cf3e4eb65232d468cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: <xmingske@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_pkgname=django-simple-captcha
pkgname=py3-$_pkgname
pkgver=0.5.13
pkgrel=1
pkgdesc="simple, yet highly customizable Django application to add captcha images to any Django"
url="https://github.com/mbi/django-simple-captcha"
arch="noarch"
license="MIT"
depends="python3 py3-six py3-django py3-pillow" # Missing django-ranged-response
makedepends="py3-setuptools"
source="$_pkgname-$pkgver.tar.gz::https://github.com/mbi/django-simple-captcha/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="f36a7657ba1cff0fd374907610e3294f387d012df687d50dc2e08ff011f9368b8c99375fa52f261570535ec9f203738cb225462be11e2029fbf90fdca2817f04  django-simple-captcha-0.5.13.tar.gz"