aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py-progressbar/APKBUILD
blob: e644746813b5a35e59ed7f5ece6f80d540385695 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                               
          
        
                                              
                                                   
             
                           
                 
              
                                       
                                                                                                          
 
                                    

         

                              


           

                                                               

 
                                                                                                                                                                     
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-progressbar
_pkgname=progressbar
pkgver=2.3
pkgrel=1
pkgdesc="Text progress bar library for Python"
url="https://code.google.com/p/python-progressbar/"
arch="noarch"
license="LGPL-2.0-or-later"
depends="python2"
depends_dev=""
makedepends="python2-dev py-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir/$_pkgname-$pkgver"

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

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

sha512sums="06fdc8b6664642bd864be8023355316fba23bcc4deb0c5877c5dfa91da5d233301a8f39342f133cbb63f37a20de7b8b24910ac8073127fcbdf43b5200d60ed5f  progressbar-2.3.tar.gz"