mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 05:31:25 +02:00
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Contributor: Justin Berthault <justin.berthault@zaclys.net>
|
|
# Maintainer:
|
|
pkgname=py3-django-crispy-forms
|
|
pkgver=1.13.0
|
|
pkgrel=2
|
|
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="
|
|
a52709470df3e4f32671cfa488135cea8947f726f6874bc2943f4c4f132c08d01fb6bc18a1b78e2756e381815d80c140c5e99c4db8ea1dffe7943b0ed1c03ecf py3-django-crispy-forms-1.13.0.tar.gz
|
|
"
|