38 lines
1 KiB
Bash
38 lines
1 KiB
Bash
# Template file for 'python-click-log'
|
|
pkgname=python-click-log
|
|
version=0.2.0
|
|
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=176a085facb7ef6ea3eb2e9987ec8e8b0bfb9c1731a3f3807464fb10657759ae
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-click-log_package() {
|
|
noarch=yes
|
|
replaces="python3.4-click-log>=0"
|
|
pycompile_module="click_log"
|
|
depends="python3-click"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|
|
python3.4-click-log_package() {
|
|
noarch=yes
|
|
build_style=meta
|
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
|
depends="python3-click-log>=${version}_${revision}"
|
|
}
|