#Maintainer: Dimitris Tzemos pkgname=python-click pkgver=7.1.2 pkgrel=1dj source=("https://github.com/pallets/click/archive/${pkgver}.tar.gz") docs=("README" "LICENSE" "Changelog" "DEPENDS" "docs") url="https://github.com/mitsuhiko/click" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "click (Python composable command line utility)" "Click is a Python package for creating beautiful command line" "interfaces in a composable way with as little code as necessary." "It's the 'Command Line Interface Creation Kit'. It's highly" "configurable but comes with sensible defaults out of the box." "" "Homepage: https://github.com/mitsuhiko/click" ) build() { cd $startdir/src/click-$pkgver || return 1 python setup.py build || exit 1 python setup.py install --root=$startdir/pkg || exit 1 # Python 3 support. if $(python3 -c 'import sys' 2>/dev/null); then python3 setup.py install --root=$startdir/pkg || exit 1 fi }