Merge pull request #2694 from okapia/click

New package: python-click-5.1
This commit is contained in:
Juan RP 2015-10-07 08:57:02 +02:00
commit 5a5790d665
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,33 @@
# Template file for 'python-click'
pkgname=python-click
version=5.1
revision=1
noarch=yes
wrksrc="click-${version}"
build_style="python-module"
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-colorama"
pycompile_module="click"
short_desc="A wrapper around optparse for command-line interfaces in Python2"
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
license="3-clause-BSD"
homepage="http://click.pocoo.org/"
distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz"
checksum=678c98275431fad324275dec63791e4a17558b40e5a110e20a82866139a85a5a
post_install() {
vlicense LICENSE
}
python3.4-click_package() {
noarch=yes
pycompile_version="3.4"
pycompile_module="click"
depends="python3.4-colorama"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
vlicense LICENSE
}
}

1
srcpkgs/python3.4-click Symbolic link
View file

@ -0,0 +1 @@
python-click