1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00
aports/community/py3-django-crispy-forms/APKBUILD

28 lines
941 B
Text

# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=py3-django-crispy-forms
_pkgname=django-crispy-forms
pkgver=1.8.1
pkgrel=0
pkgdesc="Dry Django forms"
options="!check" # No testsuite
url="https://github.com/django-crispy-forms/django-crispy-forms"
arch="noarch"
license="MIT"
depends="py3-django"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/$_pkgname/django-crispy-forms/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-django-crispy-forms" # Backwards compatibility
provides="py-django-crispy-forms=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py --quiet build
}
package() {
python3 setup.py --quiet install --prefix=/usr --root="$pkgdir"
}
sha512sums="9005bf5cd706f68c2281a6ba7f305fba4bd96ccc099c5a600b6af47ce80d5a2d0a84e7bac3f035e7469ba8fc57a9ec41c38e9ea01bd8880e082891d0b792616b py3-django-crispy-forms-1.8.1.tar.gz"