aboutsummaryrefslogblamecommitdiffstats
path: root/community/py3-flask/APKBUILD
blob: 9bf6ee1bef97b3f411416cdaf9c8fc50fae23da0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
              
                                          
                 
              

            
                                          


                             

                                                                    
                         


                                                                                                         
                                    
 


                                                              
         
                              

 



                                             
           
                                                               

 

                                                                                                                                                                
# Contributor:
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-flask
_pkgname=Flask
pkgver=1.0.4
pkgrel=0
pkgdesc="A web development microframework"
url="http://flask.pocoo.org/"
arch="noarch"
license="MIT"
depends="python3 py3-click py3-itsdangerous py3-jinja2 py3-werkzeug"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
	skip-bad-request-test.patch
	"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-flask" # Backwards compatibility
provides="py-flask=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	PYTHONPATH="$PWD/build/lib" py.test-3
}

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

sha512sums="2ed45ebdef80fe354a0a221f991560e17c442550f667fb76dd9c9631428fe8b6686127504f4ee81fcc6748f99cd376bed7a1ff4e0a9ae913cd70c9f5f4ac1c61  Flask-1.0.4.tar.gz
d188d053168d3680f7be0fce58bb72b58baf0f21dad58bf58ae4bfad293d8fd6a18858e7e7f5d019cc36148c6dbf941c1c4adf85daa2674ca40b6fa0daa2e0da  skip-bad-request-test.patch"