void-packages/srcpkgs/python-click-log/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

31 lines
820 B
Bash

# Template file for 'python-click-log'
pkgname=python-click-log
version=0.2.1
revision=1
noarch=yes
wrksrc="click-log-${version}"
build_style="python-module"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-click"
pycompile_module="click_log"
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=493af4fde9999fa3a15696a1c3c7ace394296542a035caaf5854b32140413de4
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
}
}