void-packages/srcpkgs/python-hoedown/template

25 lines
806 B
Bash

# Template file for 'python-hoedown'
pkgname=python-hoedown
version=0.3.0
revision=2
wrksrc="hoedown-$version"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
short_desc="Python2 binding for hoedown, a markdown parsing library"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
homepage="https://github.com/hhatto/python-hoedown"
license="MIT"
distfiles="${PYPI_SITE}/h/hoedown/hoedown-${version}.tar.gz"
checksum=f987998271adbba8cae3d622ebaa566d72e86f0c5af73131a819f7da6ccbeb90
alternatives="hoedown:hoedownpy:/usr/bin/hoedownpy2"
python3-hoedown_package() {
short_desc="${short_desc/Python2/Python3}"
alternatives="hoedown:hoedownpy:/usr/bin/hoedownpy3"
pkg_install() {
vmove usr/bin/hoedownpy3
vmove usr/lib/python3*
}
}