32 lines
849 B
Bash
32 lines
849 B
Bash
# Template file for 'python-pandocfilters'
|
|
pkgname=python-pandocfilters
|
|
version=1.4.2
|
|
revision=3
|
|
archs=noarch
|
|
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() {
|
|
archs=noarch
|
|
depends="python3"
|
|
pycompile_module="pandocfilters.py"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|