Merge pull request #2840 from okapia/clicklog
New package: python-click-log-0.1.1
This commit is contained in:
commit
c3953985cb
|
@ -0,0 +1,32 @@
|
|||
# Template file for 'python-click-log'
|
||||
pkgname=python-click-log
|
||||
version=0.1.1
|
||||
revision=1
|
||||
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"
|
||||
short_desc="Logging integration for Click in 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=0bc7e69311007adc4b5304d47933761999a43a18a87b9b7f2aa12b5e256f72fc
|
||||
|
||||
post_install() {
|
||||
vlicense README.rst LICENSE
|
||||
}
|
||||
|
||||
python3.4-click-log_package() {
|
||||
noarch=yes
|
||||
pycompile_version="3.4"
|
||||
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
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
python-click-log
|
Loading…
Reference in New Issue