aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-django-simple-captcha/APKBUILD
blob: 8d362ac0b129c37478ef6c4d3801548bdb195439 (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.12
pkgrel=0
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="c6c95b81ecede95bb0fcfb3a4c46abcb7aeb39a1a59bed4a5bedde9a46ac7696e46db99dc4ba73fa0201755d1bbb1be955035cb632c63fc3d597633c5514dd73  django-simple-captcha-0.5.12.tar.gz"