mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-18 02:46:43 +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
32 lines
1 KiB
Text
32 lines
1 KiB
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-bottle-redis
|
|
_pkgname=bottle-redis
|
|
pkgver=0.2.3
|
|
pkgrel=6
|
|
pkgdesc="Bottle redis plugin"
|
|
options="!check" # No testsuite
|
|
url="https://github.com/bottlepy/bottle-redis"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-bottle py3-redis"
|
|
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"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
replaces="py-bottle-redis" # Backwards compatibility
|
|
provides="py-bottle-redis=$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="7cfff9f20379be42186ed88c5de854302fb67bbb306a3ff81d41f4332e29a335e7b3ca69b89f6785d54cd9c2a0d312f3e3ac9537b1c28d70afad032ab4746008 bottle-redis-0.2.3.tar.gz"
|