aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-django-crispy-forms/APKBUILD
blob: a7f504afb9058da7b363f46bd1948eb052825c8a (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
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-django-crispy-forms
pkgver=1.10.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"
}

sha512sums="992555dcb5c72f9a06fc1f799e1efd2ec464bb32d4df40c25ddda853aed31a7e5bbe7d3afc668e570fd23d9528999457f769e0374613a341df16270d6d4f3848  py3-django-crispy-forms-1.10.0.tar.gz"