aboutsummaryrefslogblamecommitdiffstats
path: root/community/py3-aiohttp/APKBUILD
blob: 152d3faff9db987704aa3c39cb297835af7ca75f (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                           
                   
                

            
                                        
                                          
          
                    
                                                                     
                               
                                        
                          

                                                                                                                                   
 
         
                              

 
         
                              


           
                                                              

 
                                                                                                                                                                       
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-aiohttp
_pkgname=aiohttp
pkgver=3.6.3
pkgrel=0
pkgdesc="HTTP client/server for asyncio"
url="https://pypi.python.org/pypi/aiohttp"
arch="all"
license="Apache-2.0"
depends="python3 py3-async-timeout py3-chardet py3-multidict py3-yarl
	py3-idna-ssl py3-attrs"
makedepends="python3-dev py3-setuptools"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="21a0272c2805bda8809e151e48e0ae2661a00239b7898cc627e273b8b17ffe27f29373d0a7d2f1c628469a905e18835906a8068e336e8901a6ab0c2043353d97  py3-aiohttp-3.6.3.tar.gz"