# Description: Virtual Python Environment builder
# URL: https://github.com/pypa/virtualenv/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-appdirs python3-backports_entry-points-selectable python3-distlib python3-filelock python3-pip python3-platformdirs python3-six

name=python3-virtualenv
version=20.24.2
release=1
source=(https://pypi.org/packages/source/v/virtualenv/virtualenv-$version.tar.gz)

build() {
  cd virtualenv-$version

  /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
  /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}
