summaryrefslogtreecommitdiff
path: root/python3-clikit/Pkgfile
blob: 0d0fae52db51b31e5772fbd9296577b39c789e23 (plain)
    1 # Description: clikit allows you to create beautiful and testable command-line interfaces
    2 # URL: https://github.com/sdispater/clikit
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: python3-crashtest python3-pastel python3-pylev python3-typing_extensions
    5 # Optional: python3-poetry
    6 
    7 name=python3-clikit
    8 version=0.6.2
    9 release=1
   10 source=(https://github.com/sdispater/clikit/archive/$version/$name-$version.tar.gz)
   11 
   12 build() {
   13   cd clikit-$version
   14 
   15   if prt-get isinst python3-poetry; then
   16     /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
   17     /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
   18   else
   19     /usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps clikit
   20   fi
   21 }

Generated by cgit