# Description: ASN.1 library for Python 3
# URL: https://github.com/etingof/pyasn1
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-setuptools

name=python3-pyasn1
version=0.5.0
release=1
source=(https://pypi.io/packages/source/p/pyasn1/pyasn1-$version.tar.gz)

build() {
  cd pyasn1-$version
  /usr/bin/python3 setup.py build
  /usr/bin/python3 setup.py install --prefix=/usr \
    --root=$PKG \
    -O1 \
    --skip-build
}
