python3-hoedown: rebuild for Python 3.9

This commit is contained in:
Andrew J. Hesford 2020-10-07 09:55:42 -04:00
parent 72e6094e8d
commit aa28e779d7

View file

@ -1,10 +1,10 @@
# Template file for 'python3-hoedown'
pkgname=python3-hoedown
version=0.3.0
revision=4
revision=5
wrksrc="hoedown-$version"
build_style=python3-module
hostmakedepends="python3-setuptools"
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel"
short_desc="Python3 binding for hoedown, a markdown parsing library"
maintainer="Orphaned <orphan@voidlinux.org>"
@ -13,3 +13,11 @@ 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
}