python-click-log: fix pycompile_module and license

This commit is contained in:
Alessio Sergi 2015-12-28 15:18:18 +01:00
parent cfa429a62f
commit b750166005

View file

@ -1,15 +1,15 @@
# Template file for 'python-click-log'
pkgname=python-click-log
version=0.1.3
revision=1
revision=2
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"
pycompile_module="click-log"
short_desc="Logging integration for Click in Python2"
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"
@ -17,17 +17,17 @@ distfiles="${PYPI_SITE}/c/click-log/click-log-${version}.tar.gz"
checksum=fd8dc8d65947ce6d6ee8ab3101fb0bb9015b9070730ada3f73ec761beb0ead4d
post_install() {
vlicense README.rst LICENSE
vlicense LICENSE
}
python3.4-click-log_package() {
noarch=yes
pycompile_version="3.4"
pycompile_module="click-log"
pycompile_module="click_log"
depends="python3.4-click"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
vlicense README.rst LICENSE
vlicense LICENSE
}
}