# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-markdown _pkgname=Markdown pkgver=3.4.4 pkgrel=0 pkgdesc="Python3 implementation of Markdown" url="https://python-markdown.github.io/" arch="noarch" license="BSD-3-Clause" makedepends=" py3-gpep517 py3-setuptools py3-wheel " checkdepends="py3-coverage py3-yaml" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-markdown" # Backwards compatibility provides="py-markdown=$pkgver-r$pkgrel" # Backwards compatibility build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m unittest discover tests } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 39e808d5a4a07b57e931a844c3d8f6fe564849f8b5922eef6708e5a600cf7e742d92617d9d9649cab0eab34a6ffc7bc97e9ea960ffef75e9062aa375769e6a28 Markdown-3.4.4.tar.gz "