# Contributor: Duncan Bellamy # Maintainer: Duncan Bellamy pkgname=py3-dnsrobocert pkgver=3.23.1 pkgrel=0 pkgdesc="A tool to manage your DNS-challenged TLS certificates" url="https://dnsrobocert.readthedocs.io/en/latest/" arch="noarch" license="MIT" depends=" certbot py3-acme py3-boto3 py3-cffi py3-cryptography py3-colorama py3-coloredlogs py3-dnspython py3-dns-lexicon py3-jsonschema py3-localzone py3-lxml py3-openssl py3-pem py3-schedule py3-softlayer py3-softlayer-zeep py3-tldextract py3-xmltodict py3-yaml " makedepends=" py3-gpep517 py3-poetry-core " checkdepends="pebble py3-pytest" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/adferrand/dnsrobocert/archive/v$pkgver.tar.gz pebble.patch " builddir="$srcdir/dnsrobocert-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl .testenv/bin/python3 -m pytest } package() { python3 -m installer -d "$pkgdir" .dist/*.whl } sha512sums=" c788c914640b17d5b11b10e810a504ffa2eccf45afdbca6554ca663ec938c1c6e184f5787f11945039cc233dbcab52b450c89a9a6b12c8d82e42d3f4c5da880a py3-dnsrobocert-3.23.1.tar.gz 3a8f2d9a74a35aea2e5eebcede656d2861382c975dc94560eca4f94cd8b13f1bb4a98b5b667cb5937ef9123a8f1da20dcef58a8ffc903e93e979d928bca9f9b1 pebble.patch "