mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +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
31 lines
1.1 KiB
Text
31 lines
1.1 KiB
Text
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Contributor: Justin Berthault <justin.berthault@zaclys.net>
|
|
# Maintainer:
|
|
pkgname=py3-django-crispy-forms
|
|
pkgver=1.14.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 --skip-build --root="$pkgdir"
|
|
rm -rf "$pkgdir"/usr/lib/python3*/site-packages/crispy_forms/tests
|
|
}
|
|
|
|
sha512sums="
|
|
02c5f7e6241b57a844fa8b4a5afbc1b77d3c1fd2eae4209763fb826a3da90db4ed0e66de4b7b1c04d5caf52bc101c7979c27b9109288d0ac84706d2124ae179d py3-django-crispy-forms-1.14.0.tar.gz
|
|
"
|