# Description: Activate virtual environment for current shell
# URL: https://github.com/dephell/dephell_shells
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-attrs python3-pexpect python3-shellingham

name=python3-dephell-shells
version=0.1.5
release=1
source=(https://files.pythonhosted.org/packages/source/d/dephell_shells/dephell_shells-$version.tar.gz)

build() {
  cd dephell_shells-$version
  find . -name \*.pyc -delete
  /usr/bin/python3 setup.py build
  /usr/bin/python3 setup.py install --prefix=/usr \
    --root=$PKG \
    --skip-build \
    -O1
}
