# Contributor: Patrycja Rosa # Maintainer: Patrycja Rosa pkgname=py3-mdit-py-plugins pkgver=0.4.0 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" subpackages="$pkgname-pyc" 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=" cdcce7a3819120923b7725daae0bf7a833c4da4487c49ff1a067fecf7d5e8f7a7be2fae03f3b821c766d7d6ebed4a298755ad5edb00adf73300a76a5663d67d6 py3-mdit-py-plugins-0.4.0.tar.gz "