32 lines
820 B
Bash
32 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
|
|
}
|
|
}
|