# Maintainer: Felix Yan # Contributor: Gordian Edenhofer pkgname=python-acme pkgver=0.35.0 pkgrel=1 pkgdesc="ACME protocol implementation in Python" arch=('any') license=('Apache') url="https://github.com/certbot/certbot" depends=('python-setuptools' 'python-pyopenssl' 'python-pyrfc3339' 'python-pytz' 'python-requests' 'python-six' 'python-josepy' 'python-mock' 'python-requests-toolbelt') checkdepends=('python-pytest-runner') source=("https://pypi.io/packages/source/a/acme/acme-$pkgver.tar.gz") sha512sums=('55a6b330ba698f13af0510e59fb5748ffada9c6bb10115fe53d7acb81c4504be0eedb787ca4fc34d3929f90933f7d0ec93e015f786f002364c7455134f041467') build() { cd acme-$pkgver python setup.py build } check() { cd acme-$pkgver python setup.py pytest } package() { cd acme-$pkgver python setup.py install --root="$pkgdir" --optimize=1 }