pkgname=python-markdown pkgver=3.7 pkgrel=1 pkgdesc="Python implementation of John Gruber's Markdown" arch=('x86_64') url="https://python-markdown.github.io" license=('BSD-3-Clause') depends=('python') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=(https://github.com/Python-Markdown/markdown/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(c736153e1c93246ec566d960d614abe308c6f5b80e89697105076af507bc47b3) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer --destdir=${pkgdir} dist/*.whl }