# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py3-xlsxwriter _pkgname=XlsxWriter pkgver=1.2.1 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" checkdepends="py3-pytest" source="$pkgname-$pkgver.tar.gz::https://github.com/jmcnamara/XlsxWriter/archive/RELEASE_$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-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="327406d04211860cb8a8dfc08467fa4d4a8f61b5ca110bcb94d01aff7c2fb008048377f9bd6322c0c0746bd6bddd596ef18b2c4d267ed4fe227a35d5c38caca9 py3-xlsxwriter-1.2.1.tar.gz"