pkgname=python-myst-parser pkgver=4.0.0 pkgrel=1 pkgdesc="An extended commonmark compliant parser, with bridges to docutils/sphinx" arch=('x86_64') url="https://github.com/executablebooks/MyST-Parser" license=('MIT') depends=( 'python' 'python-docutils' 'python-jinja2' 'python-markdown-it-py' 'python-mdit-py-plugins' 'python-pygments' 'python-sphinx' 'python-pyyaml' ) makedepends=('python-build' 'python-installer' 'python-flit-core' 'python-wheel') source=(https://github.com/executablebooks/MyST-Parser/archive/v${pkgver}/MyST-Parser-${pkgver}.tar.gz) sha256sums=(36d41cfe19c4c945b10f5c27e6fc9eef226363590422f01451ab34e1478f9c5e) build() { cd MyST-Parser-${pkgver} python3 -m build --wheel --no-isolation } package() { cd MyST-Parser-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }