mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-17 13:56:53 +02:00
this is only a partial rebuild, including stuff that i built on my personal machine with python 3.12.2; might fail with 3.12.3
36 lines
1,011 B
Text
36 lines
1,011 B
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-flask-admin
|
|
pkgver=1.6.1
|
|
pkgrel=3
|
|
pkgdesc="Flask admin interface"
|
|
url="https://pypi.org/project/Flask-Admin"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="
|
|
python3
|
|
py3-flask
|
|
py3-wtforms
|
|
"
|
|
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/F/Flask-Admin/Flask-Admin-$pkgver.tar.gz"
|
|
builddir="$srcdir"/Flask-Admin-$pkgver
|
|
|
|
replaces="py-flask-admin" # Backwards compatibility
|
|
provides="py-flask-admin=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
3defe8eecaf96a775b93de761ffc51c80950f3dc71d005830aabfb24e019d9c4fc3fe9a69805b7b227b13693708f3aa381206cf1240b9fe5efb28c1bee44503d Flask-Admin-1.6.1.tar.gz
|
|
"
|