void-packages/srcpkgs/python-pandocfilters/template

32 lines
845 B
Bash

# Template file for 'python-pandocfilters'
pkgname=python-pandocfilters
version=1.4.2
revision=2
noarch=yes
wrksrc="pandocfilters-${version}"
build_style=python-module
pycompile_module="pandocfilters.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 module for writing pandoc filters"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://github.com/jgm/pandocfilters"
license="3-clause-BSD"
distfiles="${PYPI_SITE}/p/pandocfilters/pandocfilters-${version}.tar.gz"
checksum=b3dd70e169bb5449e6bc6ff96aea89c5eea8c5f6ab5e207fc2f521a2cf4a0da9
post_install() {
vlicense LICENSE
}
python3-pandocfilters_package() {
noarch=yes
depends="python3"
pycompile_module="pandocfilters.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}