aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py3-bottle-websocket/APKBUILD
blob: 5ea3ee76f4d0fad85fd9b85c2cee2c81f721fa6b (plain) (tree)
1
2
3
4
5
6
7
8

                                                               
                            
                         
            
        
                                 
                                        


                                                   


                                                                                                    
 



                                                                  

         
                              


           
                                                               

 
                                                                                                                                                                                
# 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=1
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"