mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
28 lines
948 B
Text
28 lines
948 B
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.1
|
|
pkgrel=2
|
|
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"
|
|
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() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="2db020bb786113e32d7f9dcf6fceb80426f7bd154eb3e5403372c7ebb82c55a8df0aad7a5fca6e47b1329eee1c14d1bfb833734951597083717da742a6461b91 bottle-redis-0.2.1.tar.gz"
|