# Maintainer: GI_Jack pkgname=python-pptx _pypiname=${pkgname} pkgver=0.6.21 pkgrel=1 pkgdesc="Create Open XML PowerPoint documents in Python" url="https://github.com/scanny/python-pptx" arch=('any') license=('MIT') depends=('python' 'python-behave' 'flake8' 'python-lxml' 'python-mock' 'python-pyparsing' 'python-pillow' 'python-pytest' 'python-xlsxwriter') makedepends=('python-build' 'python-installer' 'python-wheel') source=(${_pypiname}-${pkgver}.tar.gz::"https://github.com/scanny/python-pptx/archive/v${pkgver}.tar.gz") sha256sums=('200978486240c98d8c63c903f0a7ce7ff030045e31e8c4519cd6317bfaa2e66f') build() { cd "${_pypiname}-${pkgver}" python -m build --wheel --no-isolation } package() { cd "${_pypiname}-${pkgver}" python -m installer --destdir="${pkgdir}" dist/*.whl }