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


                                               


                            
                                                                                                          
                                    
 

                                                                     

         

                              


           

                                                               

 
                                                                                                                                                                        
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer:
pkgname=py3-flask-script
_pkgname=Flask-Script
pkgver=2.0.6
pkgrel=4
pkgdesc="Flask scripting support"
url="https://pypi.python.org/pypi/Flask-Script"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-flask"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

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

build() {
	cd "$builddir"
	python3 setup.py build
}

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

sha512sums="03c51213be8e2b86f1f4450565cf4d7e3d9d7257ac017bd53830be57620d581f43bcfe959ef7b621af722c688c56495229aad3dd9654c8a8a5905db0105275fc  Flask-Script-2.0.6.tar.gz"