From 8247c09ac06310a389d72547dd0d307152547023 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 4 Jan 2024 20:58:40 -0500 Subject: [PATCH] user/py3-crispy-bootstrap4: new aport --- user/py3-crispy-bootstrap4/APKBUILD | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 user/py3-crispy-bootstrap4/APKBUILD diff --git a/user/py3-crispy-bootstrap4/APKBUILD b/user/py3-crispy-bootstrap4/APKBUILD new file mode 100644 index 0000000..1fdbe40 --- /dev/null +++ b/user/py3-crispy-bootstrap4/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +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 +"