description="Python compatibility utilities."
url="http://pypi.python.org/pypi/six/"

packager="spiky <spiky@nutyx.org>"
contributors="Fanch,Tnut"

makedepends=(python-wheel python-setuptools)

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

version=1.16.0
release=8

source=(
https://pypi.io/packages/source/s/six/six-$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 
}
