aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-bottle-websocket/APKBUILD
blob: 2eb59a48a8005a948deb44151e0a92b30ac12653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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=0
pkgdesc="Bottle websocket plugin"
options="!check" # No upstream testsuite
url="https://pypi.python.org/pypi/bottle-websocket"
arch="noarch"
license="MIT"
depends="python3 py3-bottle py3-gevent-websocket"
makedepends="py3-setuptools"
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() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="e57ffcee8d1bf0f75ebe9e5c4679ebe63d4ab3da31556f217e3849084ae3a69fb5bc05a978484dee7dd8d6822c0d4cff2c68b494d7ad7b075bd0accde2aa4c1a  py3-bottle-websocket-0.2.9.tar.gz"