# Description: Pathlib for archives
# URL: https://github.com/dephell/dephell_archive
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-attrs

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

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