# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-mistletoe
_pyname=mistletoe
pkgver=0.7.2
pkgrel=0
pkgdesc="A fast, extensible Markdown parser in pure Python."
url="https://pypi.org/project/mistletoe/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py check
}
package() {
python3 setup.py install --root="$pkgdir" --optimize=1
}
sha512sums="0b5c462858d840c281fb30f73e47a3644365b2c76d7cb09ce4943930fc31b3ad87213b86d421ab4d3dd40e591c7bb63e9f06005e921f2c7f5348d19949f6d306 mistletoe-0.7.2.tar.gz"