mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +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
37 lines
1.2 KiB
Text
37 lines
1.2 KiB
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-flask-components
|
|
_pkgname=Flask-Components
|
|
pkgver=0.1.1
|
|
pkgrel=9
|
|
pkgdesc="Flask files discovery extension"
|
|
url="https://pypi.org/project/Flask-Components"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-flask"
|
|
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
|
|
importlib.patch
|
|
"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
options="!check"
|
|
|
|
replaces="py-flask-components" # Backwards compatibility
|
|
provides="py-flask-components=$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="
|
|
ba93d8080939c9e754c801e9860940b029a853a2f591772be497e6884d9fb443c67b945cf452f530a74e1b3cc7123e7d18432df7002bf60284d58a0f9d036657 Flask-Components-0.1.1.tar.gz
|
|
67e9958191c8528a5d9294619bafa0366804f0515901dc9167b685bc892bca48b9aa05fa680d1b142e19169212206c0aa2ed0ecd771d7371132fd769a672169b importlib.patch
|
|
"
|