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

                                                           
                      
                  
            
        


                                                       
                      
                 
                                          
                         
                                                                                                        
 
                                           
 


                                                                 
         
                              

 
         
                 

 

                                                               

 
                                                                                                                                                                          
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-xlsxwriter
_pyname=XlsxWriter
pkgver=1.4.0
pkgrel=0
pkgdesc="A Python module for creating Excel XLSX files"
url="https://github.com/jmcnamara/XlsxWriter"
arch="noarch"
license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools py3-packaging"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/jmcnamara/XlsxWriter/archive/RELEASE_$pkgver.tar.gz"

builddir="$srcdir"/$_pyname-RELEASE_$pkgver

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

build() {
	python3 setup.py build
}

check() {
	py.test-3
}

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

sha512sums="6bc918e80dab7181447d02be2064cebb3ee2142cc8f378f663b957c9d7a4c40d6c1be9fc58e73f58dd9c5e7aa3bf16187b0ac368e1604f64cc44a94c20011626  py3-xlsxwriter-1.4.0.tar.gz"