void-packages/srcpkgs/python-click-log/template

32 lines
820 B
Bash

# Template file for 'python-click-log'
pkgname=python-click-log
version=0.3.2
revision=1
noarch=yes
wrksrc="click-log-${version}"
build_style="python-module"
pycompile_module="click_log"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-click"
short_desc="Logging integration for Click (Python2)"
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
license="MIT"
homepage="https://github.com/click-contrib/click-log"
distfiles="${PYPI_SITE}/c/click-log/click-log-${version}.tar.gz"
checksum=16fd1ca3fc6b16c98cea63acf1ab474ea8e676849dc669d86afafb0ed7003124
post_install() {
vlicense LICENSE
}
python3-click-log_package() {
noarch=yes
pycompile_module="click_log"
depends="python3-click"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}