aports/testing/py3-flask-autorouter/APKBUILD
ptrcnull d6e150e932
testing/*: rebuild against python 3.12
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
2024-04-15 17:00:47 +02:00

32 lines
1 KiB
Text

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flask-autorouter
pkgver=0.2.2
pkgrel=3
pkgdesc="Flask generating URL routing"
url="https://pypi.org/project/flask-autorouter"
arch="noarch"
license="MIT"
depends="python3 py3-flask"
makedepends="py3-setuptools py3-gpep517 py3-wheel"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/dpep/flask_autorouter/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/flask_autorouter-$pkgver"
replaces="py-flask-autorouter" # Backwards compatibility
provides="py-flask-autorouter=$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="
b16441cfcd1f25df9f365fbd4db8f57fcc40e16932ba8e27f95b054ed535afbc238685831e5a7086c94a2c2a0c51ee9d996277bf1384089921ebf6d71e32bd3f py3-flask-autorouter-0.2.2.tar.gz
"