pkgname = "python-acme" pkgver = "5.1.0" 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 = "255075ddec57010a2374b7591025ba22fbda43d6b8fcb29b5aefd4f2335f0a0f" def init_check(self): self.make_check_args += [ f"--numprocesses={self.make_jobs}", "--dist=worksteal", ] def post_install(self): self.install_license("LICENSE.txt")