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

                                                   
                          
                       
             
        


                                                                           
                      

                             
                                                                                            

                                    


                                                                     
         
                              

 
         


                              
           
                                                               

 
                                                                                                                                                                           
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=py3-prompt_toolkit
_pkgname=prompt_toolkit
pkgver=3.0.11
pkgrel=0
pkgdesc="Library for building powerful interactive command lines in Python"
url="https://pypi.python.org/pypi/prompt_toolkit"
arch="noarch"
license="BSD-3-Clause"
depends="py3-six py3-wcwidth"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

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

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

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

sha512sums="d8f17aace8b54df0bcac101d062e207ed05ad305b1876bf1c0b926dd09ecec07f557dcab16f22f24fd9bc82902f4f85dc86ad797b542efa95b377b5d8f473423  prompt_toolkit-3.0.11.tar.gz"