mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 01:44:36 +02:00
30 lines
969 B
Text
30 lines
969 B
Text
# Contributor: <xmingske@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
_pkgname=django-simple-captcha
|
|
pkgname=py3-$_pkgname
|
|
pkgver=0.6.2
|
|
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-django py3-pillow" # Missing django-ranged-response
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
|
subpackages="$pkgname-pyc"
|
|
source="$_pkgname-$pkgver.tar.gz::https://github.com/mbi/django-simple-captcha/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
776749432e9132f827d379ddad13a71d373e1704cbb107acadeb90d1583f118a122617558bf4009886ede1e3f291034487de383a99d8ca7c2d12a1708e4f866a django-simple-captcha-0.6.2.tar.gz
|
|
"
|