aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-django-crispy-forms/APKBUILD
blob: cef0b6f176cbd3fd87660af16dc42a815bbf59c7 (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
24
25
26
27
28
29
30
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-django-crispy-forms
pkgver=1.12.0
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://files.pythonhosted.org/packages/source/d/django-crispy-forms/django-crispy-forms-$pkgver.tar.gz"
builddir="$srcdir"/django-crispy-forms-$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"
	rm -rf "$pkgdir"/usr/lib/python3*/site-packages/crispy_forms/tests
}

sha512sums="
f092ff05f5d38e1b7908afcb59fb1c8c3861a8d3c198c0026ec2941aebba7f13b58fd31bea0e08a06c3dd5e38db6bacee64a2a707f0aec4a2a52c76aba53754f  py3-django-crispy-forms-1.12.0.tar.gz
"