mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-18 00:26:47 +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
33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-bottle-websocket
|
|
_pkgname=bottle-websocket
|
|
pkgver=0.2.9
|
|
pkgrel=8
|
|
pkgdesc="Bottle websocket plugin"
|
|
options="!check" # No upstream testsuite
|
|
url="https://pypi.org/project/bottle-websocket"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-bottle py3-gevent-websocket"
|
|
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/zeekay/bottle-websocket/archive/v$pkgver.tar.gz"
|
|
|
|
replaces="py-bottle-websocket" # Backwards compat
|
|
provides="py-bottle-websocket=$pkgver-r$pkgrel" # Backwards compat
|
|
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="e57ffcee8d1bf0f75ebe9e5c4679ebe63d4ab3da31556f217e3849084ae3a69fb5bc05a978484dee7dd8d6822c0d4cff2c68b494d7ad7b075bd0accde2aa4c1a py3-bottle-websocket-0.2.9.tar.gz"
|