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

                                                           
                     
                  
            
        
                                                        
                                         

             

                            
                                                                                                          

                                    


                                                                  
         
                              


           
                                                              
 
                                                                                                                                                                     
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-termcolor
_pkgname=termcolor
pkgver=1.1.0
pkgrel=6
pkgdesc="ANSII Color formatting for output in terminal."
url="https://pypi.org/project/termcolor/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

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

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
}
sha512sums="4bd06bf4405a9ef6c005cd4d159ef602f7fc7fccb3e57586da1187c402f4d0b9051ef930cae423065c51ff4be8a22ceae556a61a6b3c8c519d623c066c340b53  termcolor-1.1.0.tar.gz"