1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/py3-flask-admin/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

32 lines
900 B
Text

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flask-admin
pkgver=1.6.0
pkgrel=0
pkgdesc="Flask admin interface"
url="https://pypi.python.org/pypi/Flask-Admin"
arch="noarch"
license="BSD-3-Clause"
depends="
python3
py3-flask
py3-wtforms
"
makedepends="py3-setuptools"
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() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
93babba2618799a6714b16a37e7a4ddc2eb2ecc3f30d0c91619e57f48371678656f9f504ae899b19feb298cb17206ffeca29ea01e9c6b5a26274f7fe49064012 Flask-Admin-1.6.0.tar.gz
"