user/py3-crispy-bootstrap4: new aport
This commit is contained in:
parent
b460c9feaa
commit
8247c09ac0
1 changed files with 32 additions and 0 deletions
32
user/py3-crispy-bootstrap4/APKBUILD
Normal file
32
user/py3-crispy-bootstrap4/APKBUILD
Normal 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
|
||||
"
|
Loading…
Reference in a new issue