void-packages/srcpkgs/python-click/template
2019-12-23 18:04:52 +01:00

31 lines
799 B
Bash

# Template file for 'python-click'
pkgname=python-click
version=7.0
revision=2
archs=noarch
wrksrc="Click-${version}"
build_style="python-module"
pycompile_module="click"
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=5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7
post_install() {
vlicense LICENSE.rst
}
python3-click_package() {
archs=noarch
pycompile_module="click"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.rst
}
}