pkgname = "python-acme" pkgver = "4.1.1" pkgrel = 0 build_wrksrc = "acme" build_style = "python_pep517" hostmakedepends = [ "python-build", "python-installer", "python-setuptools", ] depends = [ "python-cryptography", "python-josepy", "python-openssl", "python-pyrfc3339", "python-pytz", "python-requests", ] checkdepends = ["python-pytest-xdist", *depends] pkgdesc = "ACME protocol implementation" license = "Apache-2.0" url = "https://github.com/certbot/certbot/tree/master/acme" source = ( f"https://github.com/certbot/certbot/archive/refs/tags/v{pkgver}.tar.gz" ) sha256 = "336f323e0b175f28f146eede7c8db3f2984ce7b542f621e334d2f5c3eb111ca5" def init_check(self): self.make_check_args += [ f"--numprocesses={self.make_jobs}", "--dist=worksteal", ] def post_install(self): self.install_license("LICENSE.txt")