pkgname=python-mdit-py-plugins pkgver=0.4.2 pkgrel=1 pkgdesc="Collection of core plugins for markdown-it-py" arch=('x86_64') url="https://github.com/executablebooks/mdit-py-plugins" license=('MIT') depends=('python-markdown-it-py') makedepends=('python-build' 'python-installer' 'python-flit-core') source=(https://github.com/executablebooks/mdit-py-plugins/archive/v${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(ebf41856b3876473dd9adabee689d9a79105a4ef7ede09891b7d8ef1015e0ae5) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }