void-packages/srcpkgs/python-pandocfilters/template

32 lines
845 B
Bash

# Template file for 'python-pandocfilters'
pkgname=python-pandocfilters
version=1.4.1
revision=1
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=ec8bcd100d081db092c57f93462b1861bcfa1286ef126f34da5cb1d969538acd
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
}
}