mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 02:05:16 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
25 lines
872 B
Text
25 lines
872 B
Text
# Contributor: <xmingske@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
_pkgname=django-simple-captcha
|
|
pkgname=py3-$_pkgname
|
|
pkgver=0.5.17
|
|
pkgrel=2
|
|
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-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 --skip-build --root="$pkgdir"
|
|
}
|
|
sha512sums="
|
|
8bcb5c32c1e8c7d0061b5b0ac06d459177637d8e4b925f40b25e50bec3a05506b1e34e0e84c575db5e2e5e5be8183ca0ff9c235eb7afb185c6c06b09fe9426bc django-simple-captcha-0.5.17.tar.gz
|
|
"
|