34 lines
867 B
Bash
34 lines
867 B
Bash
# Template file for 'python-click'
|
|
pkgname=python-click
|
|
version=6.2
|
|
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=fba0ff70f5ebb4cebbf64c40a8fbc222fb7cf825237241e548354dabe3da6a82
|
|
|
|
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
|
|
}
|
|
}
|