# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py3-xlsxwriter _pkgname=XlsxWriter pkgver=1.2.6 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"/$_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="dd521308123088e8084363616d095bd591c825868b19e84407dc4243043db430ce57e5c841ea0941e301eadd3c741518c6b167c60e365ba8a0f18abc41b88adb py3-xlsxwriter-1.2.6.tar.gz"