1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 10:15:12 +03:00
aports/community/py3-django-widget-tweaks/APKBUILD
2023-01-30 18:03:14 +02:00

31 lines
1 KiB
Text

# Contributor: Kaarle Ritvanen <kunkku@alpinelinux.org>
# Maintainer: Kaarle Ritvanen <kunkku@alpinelinux.org>
pkgname=py3-django-widget-tweaks
pkgver=1.4.12
pkgrel=0
pkgdesc="Tweak the form field rendering in templates, not in python-level form definitions"
url="https://github.com/jazzband/django-widget-tweaks"
arch="noarch"
license="MIT"
depends="py3-django"
makedepends="py3-setuptools py3-setuptools_scm"
source="https://files.pythonhosted.org/packages/source/d/django-widget-tweaks/django-widget-tweaks-$pkgver.tar.gz"
builddir="$srcdir/django-widget-tweaks-$pkgver"
replaces="py-django-widget-tweaks" # Backwards compatibility
provides="py-django-widget-tweaks=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
PYTHONPATH=. django-admin-3 test --settings tests.settings
}
package() {
python3 setup.py install --root "$pkgdir"
}
sha512sums="
201944c8ddffd70096a8d72e5c21e3d3601ffe94579b673f4d59922b6a3025f79eb42fca7a28183055bb5d743fab61d835a3bf72c6fe088194523607863e5935 django-widget-tweaks-1.4.12.tar.gz
"