🔒 Repository is read-only – file editing is disabled.

recipes/utils/python-click/Pkgfiley main

32 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132
description='Simple wrapper around optparse for powerful command line utilities'
url='https://pypi.org/project/click/'

packager="spiky <spiky@nutyx.org>"
contributors=""

makedepends=(python-setuptools python-wheel)

name=python-click
_name="click"
alias=(${_name})

version=8.1.8

source=(https://github.com/pallets/click/archive/$version/click-$version.tar.gz)

build() {

  cd ${_name}-$version

  pip3 wheel -w dist \
    --no-build-isolation \
    --no-deps $PWD
  pip3 install --no-index \
    --find-links dist \
    --no-cache-dir    \
    --no-user         \
    --root=$PKG       \
    ${_name}

 find $PKG -type d -name vendor -o -name tests |xargs rm -rf 
}