# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer:
pkgname=py3-markdown
_pkgname=Markdown
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=3.1.1
pkgrel=0
pkgdesc="A Python implementation of Markdown"
url="https://python-markdown.github.io/"
arch="noarch"
options="!check"  # needs flake8
license="BSD-3-Clause"
depends="python3"
makedepends="python3-dev"
subpackages=""
source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --root="$pkgdir"
}

sha512sums="78f089f2eef5c73d683ac96fd20c87145e243d12b0f230b9b0228b995035fbb084dde40be788679c63637f05956487ad520cc9dd61d133926bf13521aa600090  Markdown-3.1.1.tar.gz"