user/tandoor-recipes: new aport #337

Merged
ayakael merged 25 commits from tandoor-recipes/initial into edge 2024-01-05 03:34:08 +00:00
Showing only changes of commit 8247c09ac0 - Show all commits

View file

@ -0,0 +1,32 @@
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-crispy-bootstrap4
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
_pkgreal=crispy-bootstrap4
pkgver=2023.1
pkgrel=0
pkgdesc="Bootstrap4 template pack for django-crispy-forms"
url="https://pypi.org/project/crispy-bootstrap4/"
arch="noarch"
license="MIT"
depends="python3 py3-django-crispy-forms"
checkdepends="python3-dev"
makedepends="py3-setuptools py3-gpep517 py3-wheel"
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/c/crispy-bootstrap4/crispy-bootstrap4-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
subpackages="$pkgname-pyc"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
ad54a94280110804beee3c6fa06aa97648d6496d3b1d7819d145d3dafbae7f200610f610ffbd3449ed244e799be953a754c26622b50b2266d9f2d54d4a86d496 py3-crispy-bootstrap4-2023.1.tar.gz
"