void-packages/srcpkgs/python3-hoedown/template

24 lines
662 B
Bash

# Template file for 'python3-hoedown'
pkgname=python3-hoedown
version=0.3.0
revision=5
wrksrc="hoedown-$version"
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel"
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
}