2015-10-28 22:34:49 +00:00
|
|
|
# Template file for 'python-click-log'
|
|
|
|
pkgname=python-click-log
|
2016-04-17 05:01:18 +00:00
|
|
|
version=0.1.4
|
|
|
|
revision=1
|
2015-10-28 22:34:49 +00:00
|
|
|
noarch=yes
|
|
|
|
wrksrc="click-log-${version}"
|
|
|
|
build_style="python-module"
|
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
|
|
depends="python-click"
|
2015-12-28 14:18:18 +00:00
|
|
|
pycompile_module="click_log"
|
|
|
|
short_desc="Logging integration for Click (Python2)"
|
2015-10-28 22:34:49 +00:00
|
|
|
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"
|
2016-04-17 05:01:18 +00:00
|
|
|
checksum=dc6275b7d8f87512a22d9806ccc845f474825edd82ad37925a36ba156c887570
|
2015-10-28 22:34:49 +00:00
|
|
|
|
|
|
|
post_install() {
|
2015-12-28 14:18:18 +00:00
|
|
|
vlicense LICENSE
|
2015-10-28 22:34:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
python3.4-click-log_package() {
|
|
|
|
noarch=yes
|
|
|
|
pycompile_version="3.4"
|
2015-12-28 14:18:18 +00:00
|
|
|
pycompile_module="click_log"
|
2015-10-28 22:34:49 +00:00
|
|
|
depends="python3.4-click"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
2015-12-28 14:18:18 +00:00
|
|
|
vlicense LICENSE
|
2015-10-28 22:34:49 +00:00
|
|
|
}
|
|
|
|
}
|