# Contributor: Patrycja Rosa # Maintainer: Patrycja Rosa pkgname=py3-mdit-py-plugins pkgver=0.3.5 pkgrel=0 pkgdesc="Collection of core plugins for markdown-it-py" url="https://mdit-py-plugins.readthedocs.io/" arch="noarch" license="MIT" depends="python3 py3-markdown-it-py" makedepends="py3-gpep517 py3-flit-core py3-installer" checkdepends="py3-pytest" source="https://github.com/executablebooks/mdit-py-plugins/archive/v$pkgver/py3-mdit-py-plugins-$pkgver.tar.gz" builddir="$srcdir/mdit-py-plugins-$pkgver" options="!check" # needs py3-pytest-regressions build() { gpep517 build-wheel \ --wheel-dir dist \ --output-fd 3 3>&1 >&2 } check() { pytest } package() { python3 -m installer -d "$pkgdir" \ dist/mdit_py_plugins-*.whl } sha512sums=" 6cb153d8ccff8fa3f94731606ad5dd1c06954d95519ac77b6de477e04b878f84fb059052906bdea5d798be3de49733a909cb553107255a61cde6dd1c6c72d4d2 py3-mdit-py-plugins-0.3.5.tar.gz "