29 lines
750 B
Bash
29 lines
750 B
Bash
# Template file for 'python-click'
|
|
pkgname=python-click
|
|
version=7.1.2
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="click-${version}"
|
|
build_style="python-module"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Python2 package for creating beautiful command line interfaces"
|
|
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
|
license="BSD-3-Clause"
|
|
homepage="http://click.pocoo.org/"
|
|
distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz"
|
|
checksum=d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a
|
|
|
|
post_install() {
|
|
vlicense LICENSE.rst
|
|
}
|
|
|
|
python3-click_package() {
|
|
archs=noarch
|
|
depends="python3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.rst
|
|
}
|
|
}
|