# Template file for 'python3-hoedown'
pkgname=python3-hoedown
version=0.3.0
revision=10
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel"
depends="python3"
short_desc="Python3 binding for hoedown, a markdown parsing library"
maintainer="Orphaned <orphan@voidlinux.org>"
homepage="https://github.com/hhatto/python-hoedown"
license="MIT"
distfiles="${PYPI_SITE}/h/hoedown/hoedown-${version}.tar.gz"
checksum=f987998271adbba8cae3d622ebaa566d72e86f0c5af73131a819f7da6ccbeb90
conflicts="python-hoedown>=0"

post_extract() {
	rm -f hoedownpy/hoedown.c
}

pre_build() {
	python3 setup.py compile_cython
}
